Function Block Reference
Function Block Reference
Function Block
Reference
Table of Contents
Table of Contents
Section 1 Overview.......................................................................................................................1
1
Table of Contents
2
Table of Contents
3
Table of Contents
4
Table of Contents
5
Table of Contents
6
Table of Contents
7
Table of Contents
8
Table of Contents
9
Table of Contents
10
Table of Contents
11
Table of Contents
12
Table of Contents
13
Table of Contents
14
Table of Contents
12.1 Introduction..................................................................................................................691
12.2 SEND_MIX Function Block..........................................................................................692
12.2.1 Parameter Instruction ........................................................................................692
12.2.2 Application Example ..........................................................................................693
12.3 GET_MIX Function Block ............................................................................................696
12.3.1 Parameter Instruction ........................................................................................696
12.3.2 Application Example ..........................................................................................698
12.4 SEND_REAL Function Block.......................................................................................698
12.5 GET_REAL Function Block .........................................................................................699
12.6 SENDSPEC Function Block ........................................................................................700
12.7 GETSPEC Function Block...........................................................................................702
12.8 UDINT Data Inter-station Send Function Block (SEND_UDINT) .................................703
12.9 UDINT Data Inter-station Get Function Block (GET_UDINT) ......................................705
12.10 Inter-station Communication Programming Example ................................................706
15
Table of Contents
16
Table of Contents
17
Table of Contents
18
Table of Contents
Section 15 Revision..................................................................................................................992
19
Function Block Reference
Section 1 Overview
The function block library includes 4 categories: system function block library, industry function
block library, user function block library and FF standard function block library. System function
block library contains control function block library, logical control function block library, analog
process function block library, select calculation function block library, arithmetic calculation
function block library, logical operation function block library, communication auxiliary function
block library, inter-station communication function block library, sequence control function block
library, IO special processing function block library and comparison function block library.
Industry function block library contains 9 industry function blocks which are aimed at industry
character design. It can effectively improve the effect of the control over specific character.
User function block library contains the application-special blocks which are designed by the users
themselves.
FF (Foundation Fieldbus) function block is basic unit for control project building control application
in FF fieldbus.
There are six work modes for function block, from high priority to low priority: OOS (out of service),
IMAN (initial value), TR (Track), MAN (manual), AUTO (automatic), CAS (cascade).
Six running statuses are mutual exclusive and a function block is only in one status.
Function blocks can be set five work modes: OOS (out of service), TR (track), MAN (manual),
AUTO (automatic), CAS (cascade). Work mode cannot be set IMAN status.
When the function block is in OOS status, calculation is stopped and output is kept the set value
(previous period or security value). However, data multicast, parameter validity check and
redundancy process proceed forward. When the function block is downloaded first time, OOS
status is suggested.
The function block is in initial status when conditions below are reached:
1
Function Block Reference
1. When AO function block connected with pre-positive control function block is in manual,
track or AO tag fault status, pre-positive control function block is in initial status.
2. When two control function blocks are constructed cascaded loop, if postposition is in
non-cascade status, pre-positive control function block is in initial status.
When a function block is in initial status, its output tracks inversion calculating input value (BKIN)
of the function block. BKIN should be connected with inversion calculating output value (BKOUT)
of postposition. In this case, the function block only can be transferred to OOS mode.
If high priority mode is not achieved, when the track switch SWTR is ON, it is in track mode and
output tracks input track value.
If higher priority mode is not achieved, when manual switch of the function block SWAM is OFF,
the function block is in manual mode and the output value can be set manually.
If higher priority mode is not achieved, when manual switch of the function block SWAM is ON and
SWSV is OFF, the function block is in auto mode and the control arithmetic can be operated and
output.
If higher priority mode is not achieved, when manual switch of the function block SWAM is ON and
SWSV is ON, the function block is in sequence mode. Meanwhile, the set value of the function
block is equal to setting value of cascade and the control arithmetic can be operated.
1.2 Active/Inactive
There are two flags for each function block: Input active/Close flag and output active/Close flag.
The function block cannot deal with the Active/InActive flag and the two flags are responded by
FBD program. When a function block is in status of input close, all inputs are not updated by
program; When a function block is in status of output close, the function block is implemented and
output normally. However, its output is not updated to input of postposition function block (output
value of postposition function block is not updated by program).
After the function block is downloaded to the main controller, its input and output can be set close
in FBD software. In status of input close, input of the function block can be set forced and the
2
Function Block Reference
function block logic can be debugged, in which way to find out if it is right. In status of output close,
the debug does not bump the field.
Note: It may destroy the running process status and the output may be bumped when it is
transferred from the close status to the active status. The engineer should select an appropriate
time to transfer.
Function block parameter includes operation parameter, config parameter, supervising parameter,
alarm parameter, input pin and output parameter.
Operation parameter
Normally, the function block panels can be used to set parameter while the system
is running. Specific to every block, it depends on the working mode of the function
block.
Config parameter
Config parameter can be set while FBD programming. While programming, the
parameter can be set in the Properties window of the function block.
Supervising parameter
Alarm parameter
3
Function Block Reference
To find out the characters which are connected to input/ output pins, refer to line
“Link Reference” in Table 2-3 Experience data for controller parameter.
Attention:
Function block Properties setting interface is divided into Basic Parameters and expansion
parameter, for normal PID control there is only need for Basic Parameters setting.
Function block evolves from instrument panel, which includes information list of function block and
operation commands of operators. It has three functions: monitor and modify status and
parameters of function block, set parameters and operation and switch to different supervision
panels.
Only complicated function block (the function block which can be named when configuration)
possesses function block panel, does not simple function block.
4
Function Block Reference
Figure 1-1 Window of panel layout of function block and function block pane
The button is on the top right of the pop-up panel. When click the button , it will become and
the panel will always be on top.
The button is on the top right of the panel and there is no close button on the panel of control
group display.
Tag name or instance name of function block will be displayed in the part of tag instance name,
which is used to distinguish function blocks.
5
Function Block Reference
Alarm: Indicate alarm status of the tag which the panel corresponds to.
Display the current alarm information (such as HH, LL and so on) and status (such as manual,
auto, cascade and OOS, etc.) of tags or function blocks.
Display value and unit of analogy in tag or function block, for example, PV, MV, SV in PID function
block.
Basic operation of operators area in tag or function block, which includes manual , auto ,
Analog data: Real-time values of import parameters are dynamically displayed in form of
histogram. High and low span values are displayed on two sides of scale. There are also
marks of HH Limit, high Limit, low Limit and LL Limit.
Color of bar diagram is same with alarm status of function block or tag. As shown below,
the bar diagram is green because there parameter has no alarm.
6
Function Block Reference
If tag only has H limit alarm, color of bar diagram is shown as configured in monitoring
configuration for H limit alarm.
If tag has H/ HH limit alarms together, color of bar diagram is shown as configured in
monitoring configuration for HH limit alarm.
1. Fast-increased button: set the percentage when configuring function block properties.
The default value is 2.5%.
There are 5 switchover buttons at the bottom of the panel, from left to right, logic diagram, graphics
button, trend display button, Alarm view button and tuning panel:
2. Graphics button: Pop up graphics associated with the tag (set in supervision
configuration). The button will be grey and cannot be clicked if the function block isn’t
configured in graphics.
3. Trend display button: Pop up trend display associated with the tag (set in supervision
configuration). The button will be grey and cannot be clicked if the function block isn’t
configured in trend.
7
Function Block Reference
Display description information of the tag or function block. It includes 64 English characters or 32
Chinese characters.
There are operation authorities for each parameter in panel or tuning panel, which can be set in
panel authority setting of supervision configuration software.
There are ten Authorities, including: unavailable, operator-, operator, operator+, engineer-,
engineer, engineer+, privilege-, privilege, privilege+.
8
Function Block Reference
1. Status Switch
The value of SV can be set in the status of auto while the value of MV can be set in the status of
manual. Two modes of setting value are shown as follows:
9
Function Block Reference
3. Parameter Setting
Modify parameter value via Input the value and press “Enter”.
Some parameters such as HH Limit, high Limit, etc, should be selected the “select box”
first, and then the corresponding parameter will be modified, as shown in Figure 1-4.
10
Function Block Reference
11
Function Block Reference
7. Trend View
Right-click on the trend display area of function block tuning panel, then implement trend setting in
the pop-up right-click menu, as shown in Figure 1-5. The function of commands in right-click menu
is the same as the right-click menu in trend display, please refer to Real-time Supervision Software
User Manual for the corresponding instruction.
Select “Save Custom Page” after setting, then a file (.TCP) named after a tag will be saved. In
custom page of trend, click “Read Page”, users can select this file in the pop-up dialog box of “File
Selection”, and then the trend diagram of this tag can be viewed in custom page.
12
Function Block Reference
13
Function Block Reference
Corresponding parameter status in different operation modes is shown below. * can refer to any
status.
14
Function Block Reference
1. Operation Mode
OOS
The output value MV is configured according to OOS_OPT in this mode. Choose to hold output or
output OOSVAL safe value.
When feedback value and feedback status of downstream function block are connected to BKIN
and BKINERR, output will be updated according to BKOUT value of downstream function block.
Only when BKINERR1= ON and BKINERR2= ON for split control (SPLIT), function block is in
IMAN mode.
Track (TR)
When the function block is in track mode, output is equal to the track input value TV. Output MV is
still limited. If TV value is over limit, it will be in the limit range. If TV is less than MVL, MV is equal
to MVL. If TV is greater than MVH, MV is equal to MVH.
Manual (MAN)
Auto (AUTO)
Cascade (CAS)
Function block fallback can be divided to manual fallback and automatic fallback, manual fall back
can be set as default. The backup operation mode (IMODE) corresponding to each operation
mode (MODE) is only a reference for field operator.
15
Function Block Reference
When MODE_OPT=OFF, the function block mode applies manual fallback, as shown below. The
mode in the brackets is IMODE.
When MODE_OPT is ON, function block mode is auto fallback, shown as follows.
There is IMODE mode in the bracket. TR and IMAN cannot be sub-mode of OOS.
No matter auto or manual back, when back occurs after cold starting the system, user must return
to manual mode.
16
Function Block Reference
There are four limit alarm for process input variables: HH limit alarm (PVHH), high limit alarm
(PVH), low limit alarm (PVL) and LL limit alarm (PVLL), which are hysteresis. When PV is greater
than or equal to PVHH, HH limit alarm and high limit alarm are generated; When PV is greater
than or equal to PVH, high limit alarm is generated; When PV is less than PVL, low limit alarm is
generated; When PV is less than or equal to PVLL, LL limit alarm and low limit alarm are
generated.
17
Function Block Reference
Input compensation
Input compensation is used to add compensation value derived outside to input signal PV
operated by control function block. The expression is:
PVR PV IK ( IA IB)
Check Validity
Note: Only function blocks PID, PIDEX and PIDEP have the function.
Check the validity of PV after input compensation, which can exclude the PV noise signal caused
by transducer disturbance and signal transmission interference.
Enable the function via SWPV. If PV exceeds the check limit PVLMT after compensation of this
and last periods, and it happens for the first time continuously, this period is applied for holding PV
in PID calculation. There will be no filter after exceeding once continuously because the signal
may change quickly.
18
Function Block Reference
When the control mode is transferred from manual mode to auto mode or from track mode to auto
mode, there may be huge error, which cause MV fluctuate to bump. Therefore, in manual or track
mode, forced SV tracks change of PV after output compensation (PVR), which can avoid bumping
when the control mode is transferred from manual mode to auto mode and from track mode to
auto mode.
In the cascade control loop, the master loop can run in auto or cascade mode. If the salve loop is
transferred from cascade mode to auto mode, the cascaded loop is open, the master loop is in
IMAN mode and the salve loop can be controlled separately. In this case, SV of the master loop
can be consistent with PV by tracking PV.
Whether process value is tracked by set value can be selected by SVTR_OPT: When SVTR_OPT
is ON, track; When SVTR_OPT is OFF, not track. When it is in not track mode, there is slight bump,
transferring from manual to auto.
If PVR is over SVH and SVL, SV is equal to range limit and not equal to PVR.
High limit of set value (SVH) must be greater than or equal to low limit of set value (SVL).
Otherwise, limit will not be processed and configuration error alarm (CFGERR) will be generated.
The set value SV is limit between high limit of set value SVH and low limit of set value SVL. When
the set value is out range of SVH and SVL, it is set as high limit or low limit and an alarm is
generated. If SVH is less than SVL, SV maintains the value of last period. Similarly, in mode of
cascade, if CSV is between SVH and SVL, SV is equal to CSV. If CSV is greater than SVH, SV is
equal to SVH. If CSV is less than SVL, SV is equal to SVL; If SVH is less than SVL, SV maintains
the value of last period.
19
Function Block Reference
2) SV and CSV
There are two set values in the control function block, SV and CSV. When one is used, the other
will be consistent with this.
Ramp action of set value indicates that in auto or cascade mode, when the set value is changed,
the set value inclines to SV according to the set ramp RAMP and RAMP is in unit of second. Ramp
action of set value is enabled or disabled by switch SWRAMP. When SWRAMP is ON, ramp action
of set value is enabled; When SWRAMP is OFF, ramp action of set value is disabled.
The function of nonlinear gain can process processes with nonlinear gain by providing a gain
contrary to the process, for example, PH control, its process gain will become very big near the
target value.
The actual proportion gain KP can be gained by revising proportion gain 100/PB nonlinearly (PB
cannot be less than 0.1).
The function block provides two kinds of nonlinear gain, including gap action and EI square action.
Gap action
When deviation EI is in the set nonlinear gain range GW, whose range is [SCSCL-SVSCH], the
actual proportion gain KP is 100.0/PB*KN, KN is gain factor whose valid range is [0.0, 1.0].
20
Function Block Reference
When deviation EI is out of the nonlinear gain range GW, the actual proportion gain is
EI square action
When deviation EI is in the set nonlinear gain range GW, the actual proportion gain is
When deviation EI is out nonlinear gain range GW, the actual proportion gain KP is 100.0/PB.
Gap action (NGN_OPT=ON) and EI square action (NGN_OPT=OFF) can be selected by the
nonlinear gain option parameter NGN_OPT.
Some process control system, such as tank level control system, is not required to control the tank
level at the set value accurately and the tank level can change in the set range. In this case,
deviation deadband action is introduced to avoid adjustment valve acting frequently and system
oscillation.
When absolute value of deviation EI between SV and PV is less than deviation deadband DB
minus lag value DBHYS, dMV is set 1 (except PD_SI block, MV is set 0) and output value MV is
not changed (if DB is equal to DBHYS, dMV is not 0 for the action of deviation deadband); When
deviation EI is greater than DB, the deadband action is disabled and output value is added dMV,
shown as follows.
When the deviation deadband action switch SWDB is ON, deviation deadband action is enabled.
When SWDB is OFF, deviation deadband action is disabled.
2) Bypass action
21
Function Block Reference
When STOPI is ON, integral action is unavailable. Only PID, PI_PLS and PI_AE function block
have integral stop function.
When bypass output is calculated (BYPASS=ON), output MV= (SV-SVSCL)* range conversion
coefficient+ MVSCL.
SV——Set value
When STOPI=ON, the integral action is not executed, function blocks PID, PI_PLS, PI_AE, PIDEX,
PID_TP, LEPID and PIDEP have the integral stop function.
Similarly, P, I action controlled in PI_PLS and PI_AE can be disabled. P, D action controlled in
PD_SI can be disabled. Bypass action of function blocks is available only in the control calculation
stage and does not affect these values in the holding stage.
4) Deviation process
When set value SV is fixed and direct action is available, increment of PV will cause MV value to
increase; when reverse action is available, increment of PV will cause MV value to decrease.
Direct action (SWPN=OFF) and reverse action (SWPN=ON) can be selected by parameter
SWPN.
EI= PV-SV;
Deviation alarm
22
Function Block Reference
When absolute value of deviation EI is greater than absolute value of set value of deviation DLp,
deviation alarm is generated. When EI is greater than DL, positive deviation alarm (PEI) is
generated. When EI is less than -DLp, negative deviation alarm (NEI) is generated. There is alarm
deadband action (DLHYS) when deviation is recovered, shown as follows.
In order to avoid deviation alarm caused by mutation of set value, the value r got by filtering the set
value is used as compensation coefficient of deviation alarm set value (DL). Deviation set value
compensated (DLp) is deviation alarm set value DL adding compensation coefficient r, shown as
follows.
23
Function Block Reference
5) Output compensation
Output compensation is used to add the compensation value got outside to the output signal MV
calculated by the control block. Expression: MV=MV0+OK (OA+OB).
Output compensation is mainly used to add feedforward signal to output signal to achieve
feedforward function.
6) Control output
Increment dMV output in this period is got by PID calculation. dMV should be conversed to the
actual output value MV in this period. There are commonly two output modes: increment and
position.
Increment
New output value is got by adding increment dMV of the current output value to feedback input
BKIN. Expression: MV = dMV+BKIN.
Position
New output value MV is got by adding increment dMV of the current output value to output value
LMV of last time. Expression: MV = dMV+LMV.
24
Function Block Reference
Output mode option OUT_OPT: when OUT_OPT is OFF, position output is selected. When
OUT_OPT is ON, increment output is selected.
7) Range conversion
For general control function block, set value commonly has the same range as process value and
output value is in another range. Because range is inconsistent, the input range should be mapped
to the output range. The mapping coefficient is called range conversion coefficient KS.
Expression:
MVSCH MVSCL
Ks
SVSCH SVSCL
If process value is PV, the PV is mapped to MV. The value is equal to:
MV= (PV-SVSCL)*KS+MVSCL
For ratio function block, because SV is conversion coefficient, SV is not required to converse
range. Only process value PV is conversed range.
In control calculation of PID, PI_PLS, PI_AE, PIDEX, PID_TP, LEPID and PIDEP, the integral item
is the integral of deviation for time, the integral saturation is easily cased, and the control results
may cause overshoot and lead to unsteady process. The integral limit action is used to limit the
integral item and prevented from the integral saturation.
BKIN and RRL are used to updating calculation to dMV. When MV is limited to between MVH and
'
MVL, integral limit action acts on integral item of MV of before amplitude limiting.
T
dMVn dMVn 0 ( BKIN RRL MV ' n 1 )
TI
dMVn 0 : operating output gain value (before updating) in PID, PI_PLS, PI_AE calculation
MV ' n 1 : operating output value (before output amplitude limiting) in last time calculation.
25
Function Block Reference
If mode of last period is OOS, IMAN, TR, MAN and mode of this period is AUTO or CAS and
SWPMV=ON, MV=PMV. In this case, MV velocity alarm, lock increase/decrease/maintain are
unavailable.
If mode of last period is not MAN mode and mode of this period is MAN mode and SWMMV=ON,
MV=MMV.
When output value is over its limit, the output is limited, and alarm is generated. High limit of output
limit (MVH) must be greater than or equal to low limit of output limit (MVL). Otherwise, output limit
alarm is disabled and the configuration error alarm (CFGERR) is generated.
Output maximum MVH must be less than HORLIM*(MVSCH-MVSCL)/100 + MVSCH and output
minimum MVL must be greater than
MVSCL-LORLIM*(MVSCH-MVSCL)/100.
When change velocity of output is over change limit, the output is limited, and alarm is generated.
Velocity limit is only available in mode of auto and cascade. In mode of auto and cascade, when
change velocity of output MV is over velocity limit DMVLIM, an alarm is generated. When the
velocity increased of MV is over DMVLIM, positive velocity alarm is generated, i.e., DMVHIND=ON;
When the velocity decreased of MV is over DMVLIM, negative velocity alarm is generated, i.e.,
26
Function Block Reference
DMVLIND=ON. When the velocity is over limit, output is increased or decreased according to the
velocity limit.
In the mode of auto and cascade, lock increase/decrease can be implemented for MV.
Lock increase
Lock decrease
Output maintain
In the mode of auto and cascade, when HOLD is equal to ON, output is maintained.
2.1.6 Alarm
1) Alarm enabled and alarm
Alarm enabled
Alarms can be enabled by ENALM. The type of ENALM is ALMTYPE. For example, PID function
block can be set initial value of alarm enabled under "Function block properties/Alarm Enabled
and Suppress", shown as follows.
27
Function Block Reference
When an alarm is selected, the alarm is enabled. The alarm not selected will be shielded.
When the function block is debugged, the alarm enabled option can be modified in real time under
"Function Block Parameter Debug", shown as follows.
28
Function Block Reference
29
Function Block Reference
The parameter Alarm in Extended Parameters can be data excerpt. Details of data excerpt refer to
the VFFBDBuilder User Manual.
If the alarm is selected in the panel, when it occurs, it shows in the detail alarm area in the panel,
and the real-time value in the function block parameter debug interface shows ON.
1) Flag code parse of general control function block list is shown below.
RATI
Name symbols skewing PID PI_PLS PD_SI PI_AE SPLIT
O
FB Disable OOS 0 √ √ √ √ √ √
Manual Initialization IMAN 1 √ √ √ √ √ √
Manual MAN 2 √ √ √ √ √ √
Tracking TR 3 √ √ √ √ √ √
Automatic AUTO 4 √ √ √ √ √ √
Cascade CAS 5 √ √ √ √ √ √
High Limit Alarm of Output
MVH1 8 - - - - - √
1
Low Limit Alarm of Output
MVL1 9 - - - - - √
1
High Limit Alarm of Output
MVH2 10 - - - - - √
2
Low Limit Alarm of Output
MVL2 11 - - - - - √
2
PV HH Alarm PVHH 8 √ √ √ √ √ -
PV LL Alarm PVLL 9 √ √ √ √ √ -
PV High Limit Alarm PVH 10 √ √ √ √ √ -
PV Low Limit Alarm PVL 11 √ √ √ √ √ -
SV High Limit Alarm SVH 12 √ √ √ √ √ √
SV Low Limit Alarm SVL 13 √ √ √ √ √ √
MV High Limit Alarm MVH 14 √ √ √ √ √ -
MV Low Limit Alarm MVL 15 √ √ √ √ √ -
Positive Deviation Alarm PEI 16 √ √ √ √ -
Minus Deviation Alarm NEI 17 √ √ √ √ -
High/Low Limit Reversal
REVSCL 18 √ √ √ √ √ √
Alarm for Alarm
Alarm for Config Error CFGERR 19 √ √ √ √ √ √
Alarm for Control Deviation
AEH 20 - - - √ - -
is High
Alarm for Control Deviation
AEL 21 - - - √ - -
is Low
Alarm for MV Velocity High
DMVH 22 √ √ √ √ √ -
Limit
Alarm for MV Velocity
DMVL 23 √ √ √ √ √ -
Amplitude Limiting is Low
Valve Position Minus
NMF 27 √ √ √ √ - -
Deviation Alarm
Valve Position Positive
PMF 28 √ √ √ √ - -
Deviation Alarm
30
Function Block Reference
When SVSCH<SVSCL or MVSCH<MVSCL, alarm for range high/low limit reversal (REVSCL) is
generated.
When alarm limit of SV or MV is reversed, configuration error (CFGERR) alarm will be generated,
limit will not work.
DVLV= MV-MF.
If DVLV<0 and absolute value of DVLV is greater than NMFLIM in TMFHYS seconds, NMF alarm
is generated.
If DVLV>0 and absolute value of DVLV is greater than PMFLIM in TMFHYS seconds, PMF alarm
is generated.
2.1.7 Others
1) BKOUT
When BK_OPT is ON, BKOUT tracks the process value. When BK_OPT is OFF, BKOUT tracks
the set value.
2) Fast increase and fast decrease (invalid for RATIO and split control)
There are buttons of fast increase, fast decrease, slow increase and slow decrease on the panel,
by which MV or SV can be modified.
MODE=MAN
In this case, the four buttons on the panel are valid for MV. Value (engineering unit) of fast increase
or decrease is equal to (MVSCH-MVSCL) *FMV/100 and value of slow increase or decrease is
equal to (MVSCH-MVSCL) *SMV/100.
MODE=AUTO
In this case, the four buttons are valid for SV. Value of fast increase or decrease is equal to
(SVSCH-SVSCL) *FSV/100 and value of slow increase or decrease is equal to (SVSCH-SVSCL)
*SSV/100.
3) Select manual and auto signal source and auto and cascade signal source
31
Function Block Reference
Manual and auto signal source can be selected by parameter MAN_OPT. When MAN_OPT is ON,
it is controlled by PSWAM. When MAN_OPT is OFF, it is controlled by SWAM.
Auto and cascade signal source can be selected by parameter SV_OPT. When SV_OPT is ON, it
is controlled by PSWSV. When SV_OPT is OFF, it is controlled by SWSV.
4) Decimal digits
Decimal digits configuration of SVDLEN and MVDLEN referred in the control function block library
is used to display data in the function block panel.
The proportional control is a basic control method and has the control effect corresponding to
derivation. PB selection largely affects the control performance of the system. Decrease of PB can
improve the control precision, shorten the respond time and speed up the respond action, while
reduce the stability. Adjustment for PB should consider these two indexes.
The integral action weakens with the increase of TI. Adding integral control can eliminate the
residual error which cannot be eliminated by pure proportional control, while reduce the system
stability. PB should be added to keep the original attenuation ratio of system, which will reduce the
other control indexes of system. Thus the proportional action should not be added if the
attenuation ratio is not the main control index.
Adding differential control can suppress at the moment of fast variation interference for the system
and increase its stability. The differential action is strengthened with the increase of the differential
time TD. Proper differential action can improve the control quality, while overlarge differential will
cause uncontrollable strict shock.
1) Experience Tune
It is an actually trial and error of experience. It needs no advance calculation and experiment,
while determines a group of control parameter first according to the running experience, starts the
system operation, through observing the transition process curve after adding man-made
interference (changing the set value), to change the corresponding control parameter value
according to the various effects of different control actions on the transition process, and to
perform repeat trial and error till the satisfying control quality is obtained.
32
Function Block Reference
As the proportional action is the basic control action, the experience tune meets the quality index
mainly by adjusting proportional band PB. There are two ways to tune:
2) First use the pure proportional (P) action, means to find the proper proportional band PB,
and change the transition process after adding man-made interference to the attenuation
oscillation process of 4:1. Then add integral action (I), and take the integral time TI as a
half of the attenuation oscillation cycle. As the integral action enhances the oscillation,
the proportional action should be weakened before adding integral action, and enlarge
10%~20% of the proportional band generally. Adjust the integral time till the 4:1
attenuation oscillation occurs. Add differential (D) action if needed, means to start from 0
and enlarge the differential time TD gradually. As the differential action can suppress the
oscillation, the proportional band can be adjusted to be less than pure proportional action
before adding integral action, and shorten the integral time. The transition time can be
adjusted to be shortest and the overshoot to be smallest via the trial and error of
differential time.
3) Select integral time TI and differential time TD, take TD= (1/3~1/4) TI generally. Perform
repeat trial and error for the proportional band PB till the satisfying result is obtained. The
satisfying curve may not be obtained if the setting of TI and TD are not proper at
beginning. Then adjust TI and TD properly and perform trial and error again to meet the
curve to the control requirements.
The experience tune method applies to various control system, especially the control system with
frequent object interference and irregular transition process curve. However, it will cost more time
for operator lacking of experience.
33
Function Block Reference
Critical proportional band refers to obtain critical oscillation data in the method of pure proportional
control in the system closed loop, means the critical proportional band PBk and the critical
oscillation cycle Tk, and use some experience formulas to get the controller parameter meeting the
4:1 attenuation oscillation process. The steps are shown below.
1) Set the integral time of controller as maximum (TI=∞), differential time as minimum
(TD=0), proportional band PB behind a comparatively large value, and start system
operation.
2) Reduce the proportional band gradually. Exert stage interference for the system via
changing the set value once the PB value is modified, and observe the output of system
till the continuous oscillation occurs to the transition process. The transition process here
called critical oscillation process. PBk is critical proportional band and Tk is critical
oscillation cycle.
3) Use two testing data PBk and Tk and by the corresponding formula to figure out various
tune parameters of controller.
Table 2-4 Controller parameter calculation in critical proportional band method (attenuation ratio 4:1)
Control Rule Proportional Band PB (%) Integral Time TI/s Differential Time TD/s
P 2PBk - -
PI 2.2PBk 51Tk -
PD 1.8PBk - 6Tk
PID 1.7PBk 30Tk 7.5Tk
4) Change the proportional band of controller to the tuned value, and put the tune of integral
time and differential time successively.
2. Attenuation Curve
It is a little like the tune process of critical proportional band method, means set the integral time as
maximum in closed loop system, the differential time as minimum and the proportional time as
comparatively large value, then input the change of set value as interference, decrease the
proportional band PB value gradually, and observe the output response curve of the system.
Change the PB value according to the attenuation of transition process till the 4:1 attenuation
oscillation. Record the proportional band PBs and the attenuation oscillation cycle Ts, and figure
out the tune parameter of controller via the corresponding experience formula.
Control Rule Proportional Band PB (%) Integral Time TI/s Differential Time TD/s
P PBs - -
PI 1.2PBs 30Ts -
PID 0.8PBs 18Ts 6Ts
The attenuation curve method can apply to most systems. For its short test transition process
oscillation time, and all are attenuation oscillation, it is acceptable for operator. Thus this kind of
tune method is widely used.
34
Function Block Reference
Position
type, Position Type, Position
MV Output Mode Position Type Position Type
Increment Increment Type Type
Type
Electrical
Recommended Electrical Power General Electrical
General Power
Industry Industry (recommended) Power Industry
Industry
The PID general function block can perform PID adjustment function based on the D-value of PV
and SV, can provide three kinds of control modes PID, PV PD_I and PV D_PI via parameter
setting, and provide output of increment type or position type for different control objects.
Please refer to the 0 and 2.1 before using the function block.
35
Function Block Reference
Details of various parameters setting refer to the 1.4 Parameter Sort of Function Block.
The data type, initial value and default pin of function block parameter in the table below refer to
the function properties setting interface.
When the parameter in the table below is uploaded as TRUE, it means the corresponding
parameter can upload the data of controller and save to the configuration later. When offline
download is performed next time, the saved data can be downloaded.
Application
Name Description Upload Properties
Reference
Basic Configuration The same as MV
MVSCH MV high scale -
Parameters Parameter actual value H limit
Configuration The same as MV
MVSCL MV low scale -
Parameter actual value L limit
Configuration The same as PV
SVSCH SV high scale -
Parameter actual value H limit
Configuration The same as PV
SVSCL SV low scale -
Parameter actual value L limit
Set in the function
Configuration
SVEU SV engineer unit - block properties
Parameter
setting interface
Range
Setting Set in the function
Configuration
MVEU MV engineer unit - block properties
Parameter
setting interface
Used for data
displayed on
SV decimal digits Configuration
SVDLEN - function block panel
[0,5] Parameter
(equal to 3 as
default)
Used for data
displayed on
MV decimal digits Configuration
MVDLEN - function block panel
[0,5] Parameter
(equal to 3 as
default)
Operation Value range
MVH MV H limit value TRUE
Parameter [MVSCL,MVSCH]
Operation Value range
MVL MV L limit value TRUE
Parameter [MVSCL,MVSCH]
Operation Value range
SVH SV H limit value TRUE
Parameter [SVSCL,SVSCH]
Operation Value range
Limits SVL SV L limit value TRUE
Parameter [SVSCL,SVSCH]
MV output rate
variety limit value.
Used to prevent
Operation Refer to 2.1.6
DMVLIM the MV from TRUE
Parameter
overlarge
modification in a
short time.
36
Function Block Reference
Application
Name Description Upload Properties
Reference
Direct/Reverse
switch. SV is not
changed, the MV
increases with the
Direct/Rev
increasing of PV Operation OFF=Direct action,
erse Switch SWPN TRUE
in direct action, Parameter ON=Reverse action
Settings
and decreases
with the
increasing of PV
in reverse action.
Extended Connect to BKOUT
Parameters BKIN Feedback input - Input Pin of downstream
block
Connect to
Feedback status
BKINERR - Input Pin BKOUTERR of
input
downstream block
Process value of
Connect to
PV loop closed - Input Pin
measuring point AI
control process
Connect to outer
CSV Cascade - Input Pin loop control value
Base Input MV
Pin Connect to
Track input value
Settings measuring point AI,
TV (in track mode, - Input Pin
Related parameter:
MV=TV)
SWTR
Upstream interlock
Track switch:
condition input,
SWTR OFF=not track, - Input Pin
related parameter:
ON=track
TV
Connect to
Output
measuring point AI
compensation,
(feedforward
OA used for - Input Pin
signal),
feedforward
related parameters:
control
OK, OB
Advance Executor
Input Pin feedback value , Connect to
MF - Input Pin
Settings used for measuring point AI
monitoring
Input
compensation Connect to
value, used to measuring point AI,
IA improve the - Input Pin refer to 1.1.2
controllability of Related
process with long parameters: IK, IB
deadband time
Program manual
and auto control
Connect to
switch,
upstream output,
PSWAM OFF=program - Input Pin
valid when
manual control,
MAN_OPT=ON
ON=program auto
control
37
Function Block Reference
Application
Name Description Upload Properties
Reference
Program auto/ Connect to
cascade control upstream output,
PSWSV - Input Pin
switch, OFF= SV, valid when
ON=CSV SV_OPT=ON
Manual-automatic
control source
switch, ON=
manual-automatic
Connect to
selection
MAN_OP upstream output,
controlled by - Input Pin
T related parameters:
PSWAM, OFF=
PSWAM, SWAM
manual-automatic
selection
controlled by
SWAM
Auto/Cascade
control source
selection, ON=
auto/cascade
Connect to
selection
upstream output,
SV_OPT controlled by - Input Pin
related parameters:
PSWSV, OFF=
PSWSV, SWSV
auto/cascade
selection
controlled by
SWSV
Connect to
Lock increase for
upstream output,
MV (MV cannot
SWINC - Input Pin valid when function
Increase), ON=
block is automatic
lock increase
or cascade
Connect to
Anti-integral
measuring point AI,
saturation input,
RRL - Input Pin related parameters:
used for control
BKIN
overshoot
Refer to 2.1.4
Connect to
Lock decrease for
upstream output,
MV (MV cannot
SWDEC - Input Pin valid when function
decrease), ON=
block is automatic
Lock decrease
or cascade
Hold the current Connect to
output value for upstream output,
HOLD MV, ON= hold the - Input Pin valid when function
current output block is automatic
value or cascade
Output Pin Operation output Connect to electric
MV - Output Pin
value for PID manual instrument
Connect to the
BKIN of Upstream
Feedback output
BKOUT - Output Pin Block,
value
Related Parameter:
BK_OPT
Connect to the
BKOUTE Feedback status BKINERR of
- Output Pin
RR value Upstream Block
38
Function Block Reference
Application
Name Description Upload Properties
Reference
BKOUT value
switch (ON=track Configuration Related parameter:
BK_OPT -
PV, OFF=track Parameter BKOUT
SV)
Proportion band Operation
PB TRUE Refer to 2.1.8
size Parameter
Operation
TI Integral time (s) TRUE Refer to 2.1.8
Parameter
PID Param When TD=0,
Setting Operation suppress derivation
TD Derivative time (s) TRUE
Parameter action
Refer to 2.1.8
Note1, Note2,
Derivative filter Operation Refer to
KD TRUE Note3, Note4
coefficient Parameter
Monitoring
MODE Work mode - Refer to 2.2.1
Parameter
Standby work Monitoring
IMODE - Refer to 2.2.1
mode Parameter
ON=auto return,
MODE_O Configuration
OFF=manual - Refer to 2.2.1
PT Parameter
return (default)
Manual and auto
switch: Operation Valid when
SWAM -
OFF=manual, Parameter MAN_OPT=OFF
ON=auto
Auto/ cascade
selection: Operation Valid when
SWSV -
OFF=auto, Parameter SV_OPT=OFF
ON=cascade
Whether to equal
to preset MV Operation Related parameter:
SWMMV TRUE
value when switch Parameter MMV
Operator to manual status
Command Preset MV value Operation Valid when
MMV TRUE
(switch to manual) Parameter SWMMV=ON
Whether to equal
to preset MV
value when switch
to auto status.
PMV enable
switch. When Operation Related parameter:
SWPMV TRUE
SWPMV=ON, MV Parameter PMV
= PMV, MV
velocity alarm,
lock
increase/decreas
e are disabled
Preset MV when
switching from
OOS/IMAN/TR/M Operation Valid when
PMV TRUE
AN modes to Parameter SWPMV=ON
AUTO or CAS
mode
Operator SV for loop closed Operation
SV TRUE Refer to 2.1.3
Data control Parameter
39
Function Block Reference
Application
Name Description Upload Properties
Reference
Manual output Operation MV = MANMV in
MANMV -
value Parameter manual mode
Monitoring
EI Deviation - Refer to 2.1.4
Parameter
40
Function Block Reference
Application
Name Description Upload Properties
Reference
Deadband band Operation Valid when
DB TRUE
size Parameter SWDB=ON
Deadband band Operation
DBHYS TRUE Refer to 2.1.4
hysteresis Parameter
Non-linear gain
Operation
GW range non-linear TRUE Refer to 2.1.4
Parameter
gain range
Non-linear gain Operation
KN TRUE Refer to 2.1.4
coefficient [0,1.0] Parameter
Non-linear gain
selection switch,
switch the relation
between error and
output change Related
value to nonlinear. parameters: GW,
NGN_OP Used for control Configuration PB and KN When
-
T when proportional Parameter NGN_OPT=ON;
gain needs GW and PB when
nonlinear change. NGN_OPT=OFF
OFF=Error square
root function,
ON=Gap action
function
Integral excise
coefficient. when
EI > EA, excise
coefficient, when
EI< EA, excising Operation Related parameter:
EA TRUE
coefficient is Parameter DK
disabled, used for
prevent MV
change from
overlarge
Proportion
modified value Operation Related parameter:
DK TRUE
when integral Parameter EA
Note5
excising
Control output
type:
Related parameter:
OUT_OP OFF=position Configuration
- MV
T type, Parameter
Refer to 2.1.4
ON=increment
type
When PID_OPT =
0, use standard PID
Note2
algorithm ; when
PID_OPT=1, use
Configuration
PID_OPT PID type selection - PV D_PI
Parameter Note4
algorithm ; when
PID_OPT=2, use
PV proportional
Note3
PD_I algorithm
Alarm PVHH alarm Monitoring
PVHHIND - Refer to 2.1.6
indication Parameter
PV H Limit alarm Monitoring
PVHIND - Refer to 2.1.6
indication Parameter
41
Function Block Reference
Application
Name Description Upload Properties
Reference
PV L limit alarm Monitoring
PVLIND - Refer to 2.1.6
indication Parameter
PV LL limit alarm Monitoring
PVLLIND - Refer to 2.1.6
indication Parameter
MV H limit alarm Monitoring
MVHIND - Refer to 2.1.6
indication Parameter
MV L limit alarm Monitoring
MVLIND - Refer to 2.1.6
indication Parameter
SV H limit alarm Monitoring
SVHIND - Refer to 2.1.6
indication Parameter
SV L limit alarm Monitoring
SVLIND - Refer to 2.1.6
indication Parameter
Positive deviation Monitoring
PEIIND - Refer to 2.1.6
alarm indication Parameter
Negative
Monitoring
NEIIND deviation alarm - Refer to 2.1.6
Parameter
indication
DMVHIN MV positive rate Monitoring
- Refer to 2.1.6
D limit indication Parameter
MV negative rate Monitoring
DMVLIND - Refer to 2.1.6
limit indication Parameter
Valve position
Monitoring
NMFIND error negative - Refer to 2.1.6
Parameter
alarm indication
Valve position
Monitoring
PMFIND error positive - Refer to 2.1.6
Parameter
alarm indication
Input Refer to 2.1.2
Operation
IK compensation TRUE related parameter:
Parameter
gain IA
Input Refer to 2.1.2
Operation
IB compensation TRUE related parameter:
Parameter
Compensat bias value IA
ion Settings Output Refer to 2.1.4
Operation
OK compensation TRUE related parameter:
Parameter
gain OA
Output Refer to 2.1.4
Operation
OB compensation TRUE related parameter:
Parameter
bias value OA
Set MV manual
Fase/Slow/ slow
Increase/D Manual slow
Operation increase/decrease
ecrease SMV increase/decreas TRUE
Parameter percentage in
Settings e value (%)
function block
properties setting
Set MV manual fast
Manual fast increase/decrease
Operation
FMV increase/decreas TRUE percentage in
Parameter
e value (%) function block
properties setting
Set SV manual slow
SV slow increase/decrease
Operation
SSV increase/decreas TRUE percentage in
Parameter
e value (%) function block
properties setting
42
Function Block Reference
Application
Name Description Upload Properties
Reference
Set SV manual fast
SV fast increase/decrease
Operation
FSV increase/decreas TRUE percentage in
Parameter
e value (%) function block
properties setting
Extended range
Configuration
HORLIM maximum - Refer to 2.1.5
Extended Parameter
percentage
Range
Settings Extended range
Configuration
LORLIM minimum - Refer to 2.1.5
Parameter
percentage
SV ramp function
switch. When
changing SV,
Related parameter:
incline it to SV
RAMP,
according to the Operation
SWRAMP TRUE valid when in
set RAMP (s). Parameter
automatic or
OFF=SV ramp
cascade mode
function off,
ON=SV ramp
function on
SV Operation Related parameter:
RAMP Ramp coefficient TRUE
Advance Parameter SWRAMP
Settings SV track PV
switch
enable/disable:
OFF=not track,
ON=track. If PV>
SVTR_O SVH/ SVL, SV= Configuration
- Refer to 2.1.3
PT range limit. Used Parameter
to prevent the
output MV from
interference when
changing the
control mode.
Suppress module
Operation
Alarm AOF alarm, on=prohibit TRUE Refer to 2.1.6
Parameter
Enabled to display alarm
and Alarm
ENALM Alarm enable TRUE Refer to 2.1.6
Suppress Parameter
FLAG Flag - Output Pin Refer to 2.1.6
Function block Set as ON at the
Operation
SWOOS disable TRUE first time of function
Parameter
(ON=disable) block downloading
Output value in Operation Related parameter:
OOSVAL TRUE
OOS status Parameter OOS_OPT=ON
OOS Output value type
Settings in OOS status.
when OOS_OPT
OOS_OP =ON, Configuration Refer to 1.1.1
-
T MV=OOSVAL, Parameter
when OOS_OPT
=OFF, maintain
the MV
Check Enable switch for
Operation
Input SWPV checking PV TRUE Refer to 2.1.2
Parameter
Validity validity
43
Function Block Reference
Application
Name Description Upload Properties
Reference
PV change limit Operation
PVLMT TRUE Refer to 2.1.2
(%) Parameter
There are three control modes for the function block, including PID, PV PD_I and PV D_PI.
The mode mainly applies to produce process with big time parameter and control of instantaneous
response caused by change of set value.
Calculation expression:
100 T
MVn E n S E n U n
PB TI
In the above, E n E n E n 1
U n U n U n 1
TD
Un [U n 1 K D ( E n E n 1 )]
K D TS TD
44
Function Block Reference
The mode is different from standard PID control algorithm. Change of set value does not influence
action of proportion and differential coefficient even if mutation of set value cannot cause dramatic
change of output by which stable control Properties can be obtained.
Calculation expression:
100 T
MVn PVn S E n U n
PB TI
U n U n U n 1
TD
Un [U n 1 K D ( PVn PVn 1 )]
K D TS T D
Only proportion action and integral action are implemented in this mode when the set value is
changed. The algorithm mainly applies to the field which needs to track set value, such as salve
loop of cascade control loop.
Calculation expression:
100 T
MVn E n S E n U n
PB TI
In the above, E n E n E n 1
U n U n U n 1
TD
Un [U n 1 K D ( PVn PVn 1 )]
K D TS TD
In the PID control calculation, it will lead to system overshoot and oscillating when start, stop or SV
go up and down by a large margin and appear large deviation in little time. For this reason,
introduce integral cutting strategy. When the deviation less-than setting value EA, plunge into
integral function. In order to keep stability of system, diminution proportion gain with plunge
integral function, and add a gain factor DK to the proportional gain with integral cutting when error
is reduced to beneath EA, perform integral action and restore the original proportional gain to
achieve it.
45
Function Block Reference
To make sure the stability of system after performing integral action, the proportional gain should
reduce. When cutting the integral action, the proportional gain should be KP+DK.
Computer control can help to achieve ideal differential control. However, the PID control result of
ideal differential is not perfect, especially for the production process with high frequency
interference. Over-sensitive differential action will generate process oscillation of the process.
Thus, the real PID controller is often applied, which adds first order inertia link to the ideal
differential link. The transmission function of the algorithm is:
MV ( s ) 100 1 TD * s
1
E (s) PB TI * s 1 TD s
KD
46
Function Block Reference
47
Function Block Reference
Function
Block
Panel Parameter Name Initial Value Value Range Application Instruction
Paramete
r Name
PV HH alarm value setting of loop
Preference [SVSCL,SVS
Alarm HH PVHH 100.000 PV (select alarm enabled, or it
CH]
(%) is disabled).
H alarm value setting of loop
[SVSCL,SVS
H PVH 90.000 PV(select alarm enabled, or it
CH]
is disabled)
L alarm value setting of loop
[SVSCL,SVS
L PVL 10.000 PV(select alarm enabled, or it
CH]
is disabled)
48
Function Block Reference
Function
Block
Panel Parameter Name Initial Value Value Range Application Instruction
Paramete
r Name
LL alarm value setting of loop
[SVSCL,SVS
LL PVLL 0.000 PV. (select alarm enabled, or it
CH]
is disabled)
PV Process value alarm
HYS PVHYS 0.000 -
hysteresis
H value setting of loop SV
(select alarm enabled, or it is
[SVSCL,SVS
H SVH 40.000 disabled).
CH]
Note: SV limit is not affected by
SV selection.
Limits
(%) L value setting of loop SV
(select alarm enabled, or it is
[SVSCL,SVS
L SVL 0.000 disabled).
CH]
Note: SV limit is not affected by
selection.
H value setting of loop MV
(select alarm enabled, or it is
[MVSCL,MVS
H MVH 100.000 disabled).
CH]
Note: MV limit is not affected by
MV selection.
Limits
(%) L value setting of loop MV
(select alarm enabled, or it is
[MVSCL,MVS
L MVL 0.000 disabled).
CH]
Note: MV limit is not affected by
selection.
Read-only. EI=SV-PV (select
EI EI 0.000 - alarm enabled, or it is
disabled).
PEI
Selecting the positive deviation
(sele - - -
alarm is enabled.
EI cted)
Alarm NEI
(%) Selecting the negative
(sele - - -
deviation alarm is enabled.
cted)
± (Range H-
DL DL 100.000 Deviation alarm SV
Range L)
DLH
DLHYS 0.000 - Deviation alarm hystersis value
YS
Selecting the positive deviation
PMF PMFLIM 100.000 -
alarm is enabled.
MF
Alarm Selecting the negative
NMF NMFLIM 100.000 -
(%) deviation alarm is enabled.
TMF
TMFHYS 0.000 - Lag time SV
HYS
DMV
H Selecting positive velocity
- - -
(sele alarm is enabled.
MV cted)
Velocity DMV
Limits L Selecting negative velocity
(%) - - -
(sele alarm is enabled.
cted)
DMV
DMVLIM 100.000 - Loop MV velocity limit SV
LIM
49
Function Block Reference
Function
Block
Panel Parameter Name Initial Value Value Range Application Instruction
Paramete
r Name
50
Function Block Reference
Function
Block
Panel Parameter Name Initial Value Value Range Application Instruction
Paramete
r Name
Dire
ct Selecting direct action is
SWPN - -
(sele enabled.
Control cted)
Directio
n Rev
erse Selecting reverse action is
SWPN √ -
(sele enabled.
cted)
Run
Selecting proportional action is
Proport (sele STOPP √ -
enabled.
ional cted)
Action Selecting proportional action is
Stop STOPP - -
disabled.
Selecting integral action is
Run STOPI √ -
enabled.
Integral
Action Selecting integral action is
Stop STOPI - -
disabled.
51
Function Block Reference
Function
Block
Panel Parameter Name Initial Value Value Range Application Instruction
Paramete
r Name
Setting Prog MAN_OP Read-only, can be set in
- -
ram T configuration or program
SV_OP Pan Read-only, can be set in
SV_OPT - -
T el configuration or program
Setting Prog Read-only, can be set in
s SV_OPT √ -
ram configuration or program
Executive
MF 0.0 [MVH,MVL] Writable
Feedback
2.2.3 Flag
Table 2-8 Flag
Flag Instruction
D1 Manual Initialize (IMAN)
D2 Manual (MAN)
D3 Tricking (TR)
D4 Automatic (AUTO)
D5 Cascade (CAS)
D8 PV HH Alarm (PVHH)
D9 PV LL Alarm (PVLL)
D10 PV High Limit Alarm (PVH)
D11 PV Low Limit Alarm (PVL)
D12 SV High Limit Alarm (SVH)
D13 SV Low Limit Alarm (SVL)
D14 MV High Limit Alarm (MVH)
D15 MV Low Limit Alarm (MVL)
D16 PEI Alarm (PEI)
D17 NEI alarm(NEI)
D18 Alarm for Range High/Low Limit Reversal (REVSCL)
D19 Alarm for Config Error (CFGERR)
Alarm for MV Positive Velocity Amplitude Limiting
D22
(DMVH)
Alarm for MV Negative Velocity Amplitude Limiting
D23
(DMVL)
D27 Alarm for Valve Position Negative Deviation (NMF)
52
Function Block Reference
Flag Instruction
D28 Alarm for Valve Position Positive Deviation (PMF)
D25 Alarm Suppression (AOF)
Cold water becomes hot water after heated up by steam heater. It needs to control the
temperature of hot water by adjusting steam flow. Suppose the hot water temperature TT is
measured by tag TT001, the steam flow FC is adjusted by FC001. The hot water control strategy
is that the PID function block takes hot water temperature as input and outputs a signal to AO
block, then AO block sends control signal to the steam supply valve, as shown below.
The program of FBD is shown below. When using PID function block, connect its input pins BKIN
and BKINERR with output pins BKOUT and BKOUTERR of downstream block. If the down stream
block is AO, it needs data interference for connection.
53
Function Block Reference
PID function block parameter setting (set in the function block properties settings interface).
PID_OPT: 0
SVEU: ℃
MVEU: m3 /s
When debugging program, run the monitoring software, invoke the function block panel and open
the adjusting interface. If the function block is in IMAN mode, review the tag information of FC001,
and adjust the status of FC001 until FC001.BKOUTERR=OFF, and the SteamHeater is in MAN
mode. It can be switched manually.
In example 1, the thermal lag between cold and hot water will generate time lag and affect the
control. For example, if the steam supply reduces, the temperature of output hot water will be
lower than set.
The interference can be checked out before it is reflected to the hot water test point, and
participated into the PID calculation as the output compensation to eliminate its effect by improving
control algorithm. In the following figure, to measure the steam flow (FT001) before control valve
and take it as the feedforward signal to the PID function block. If the steam reduces, the function
block should increase output signal to enlarge the control valve opening. If the steam rises, the
function block should decrease output signal to lessen the control valve opening.
54
Function Block Reference
The program of FBD is shown below. Add feedforward control in the steam heating system to
improve the input/output hot water temperature response. Send the input steam flow measured
value to AI block and connect to OA of PID block. Set the parameters OK and OB via function
block panel.
PID function block parameter settings in the program (set in the function block properties settings
interface) includes: PID_OPT, SWPN, SVEU, SVSCH, SVSCL, MVEU, OK, OB, PB, TI, TD, etc.
In example 2, the adjust volume of control valve opening resulted by the steam flow modification
55
Function Block Reference
should be preset. Another method to resolve the problem of time lag is cascade control, which
does not need the related mathematic model of steam flow modification and control valve opening
adjusting volume. In cascade loop, take the MV of master loop (temperature loop) as the set CSV
of slave loop (steam flow loop). The control strategy is shown below.
The FBD program is shown below. Notice the function block number when programming
(executing order).
Function block TempControl parameter setting (set in the function block properties settings
interface):
56
Function Block Reference
PID_OPT: 0
SVEU: ℃
MVEU: m3 /s
Function block FlowControl parameter setting (set in the function block properties settings
interface).
PID_OPT: 0
SVEU: m3 /s
MVEU: m3 /s
When debugging program, first exit the FlowControl loop and TempControl loop from OOS mode,
debug the FlowControl loop, which is the same as the single loop control, after it finished, switch to
cascade and then debug TempControl.
Example 4: PD_I
It is different from standard PID control algorithm; the variation of set value will not affect the
proportional and differential action. Even the sudden change of set value will not cause the rapid
change of operation output, and can obtain the steady control features easily. It performs
proportional, integral and differential control actions for the modification of controlled process
features and the modification and interference of load, to achieve better control.
The program of FBD is the same as standard PID control. Refer to Figure 2-17 and Figure 2-21.
Parameter setting:
PID_OPT: 2
57
Function Block Reference
Example 5: D_PI
It only performs proportional control and integral control, but no differential control, when the set
value changes, and is mainly used in filed needing better track feature for the change of set value,
for example, the minor loop of cascade control loop.
Parameter setting:
PID_OPT: 1
The track action is usually used for the process control beyond normal running range.
In the figure below, the flow control valve is used for controlling flow rate. When the pump is
started, the output flow is small when the pump speed increases. The control valve and function
block cannot work normally at that time. Use the track function and set the valve position at a
preset opening TV, and keep the opening in a set time range.
The pump starting signal connects to the track switch SWTR via the timer, set the time as the track
action time, and set the track value as the needed opening of control valve. When the pump starts
to track, open the valve position to the set value, close the track action after the set time ended,
and the PID adjuster starts normal work and control the valve position to adjust output flow.
58
Function Block Reference
PID function block parameter settings related to the program (set in the function block properties
settings interface) include: PID_OPT, SWTR, SVEU, SVSCH, SVSCL, MVEU, PB, TI, TD, etc.
The control function of general PID is available in PIDEP. It has three work modesNote1 OOS, IMAN
and AUTO, and applies to electric power industry.
Please refer to the Section 1 and 2.1 before using the function block.
The data type, initial value and default pin of function block parameter in the table below refer to
the function properties setting interface.
When the parameter in the table below is uploaded as TRUE, it means the corresponding
parameter can upload the data of controller and save to the configuration later. When offline
download is performed next time, the saved data can be downloaded to the controller.
Application
Name Description Upload Properties
Reference
Basic Range Configuration The same as MV
MVSCH MV high scale -
Parameters Settings Parameter actual value H limit.
Configuration The same as MV
MVSCL MV low scale -
Parameter actual value L limit.
59
Function Block Reference
Application
Name Description Upload Properties
Reference
Configuration The same as PV
SVSCH SV high scale -
Parameter actual value H limit.
Configuration The same as PV
SVSCL SV low scale -
Parameter actual value L limit.
Set in the function
Configuration
SVEU SV engineer unit - block properties
Parameter
settings interface.
Set in the function
Configuration
MVEU MV engineer unit - block properties
Parameter
settings interface.
Used for data
SV decimal digits Configuration displayed on function
SVDLEN -
[0,5] Parameter block panel (equal to
3 as default).
Used for data
MV decimal digits Configuration displayed on function
MVDLEN -
[0,5] Parameter block panel (equal to
3 as default).
Operation Value range
MVH MV H limit value TRUE
Parameter [MVSCL,MVSCH]
Operation Value range
MVL MV L limit value TRUE
Parameter [MVSCL,MVSCH]
Operation Value range
SVH SV H limit value TRUE
Parameter [SVSCL,SVSCH]
Operation Value range
Limits SVL SV L limit value TRUE
Parameter [SVSCL,SVSCH]
MV output rate
variety limit value.
Used to prevent
Operation
DMVLIM the MV from TRUE Refer to 2.1.5
Parameter
overlarge
modification in a
short time.
Direct/Reverse
switch. SV is not
changed, the MV
Direct/R increases with the
everse increasing of PV Operation OFF=Direct action,
SWPN TRUE
Switch in direct action, Parameter ON=Reverse action
Settings and decreases
with the
increasing of PV
in reverse action.
Extended Base Connect to BKOUT
BKIN Feedback input - Input Pin
Parameters Input Pin of downstream block
Settings Connect to
Feedback status
BKINERR - Input Pin BKOUTERR of
input
downstream block
Multi-status Connect to
BKINSTA feedback - Input Pin BKOUTSTA of
inputNote4 downstream block
Process value of
Connect to
PV loop closed - Input Pin
measuring point AI
control process
60
Function Block Reference
Application
Name Description Upload Properties
Reference
Setpoint value of
Connect to
SV loop closed - Input Pin
measuring point AI
control process
Output Connect to
compensation, measuring point AI
OA used for - Input Pin (feedforward signal),
feedforward related parameters:
control OK, OB
Input
compensation
Connect to
value, used to
measuring point AI ,
IA improve the - Input Pin
Related parameters:
controllability of
IK, IB
process with long
deadband time
MV lock increase Connect to upstream
(MV cannot output, valid when
SWINC - Input Pin
Increase), ON= function block is
lock increase automatic
MV lock decrease Connect to upstream
(MV cannot output, valid when
SWDEC - Input Pin
decrease), ON= function block is
Lock decrease automatic.
MV hold the
Advance current output
Connect to upstream
Input Pin HOLD value, ON= hold - Input Pin
output,
the current output
value
PID bypass
operation, when
BYPASS=ON, Bypass action is
Operation
BYPASS excise PID TRUE performed only in
Parameter
calculation, switch auto modeNote2.
SV to MV directly
for output.
Proportion shield
switch, stop Operation
STOPP TRUE Refer to 2.1.4
proportion action Parameter
when STOPP=ON
Integral shield
switch, stop Operation
STOPI TRUE Refer to 2.1.4
integral action Parameter
when STOPP=ON
61
Function Block Reference
Application
Name Description Upload Properties
Reference
Connect to electric
manual instrument
The MV changes
only when
accumulated
modification of dMV
is more than output
deadband.
PID operation
MV - Output Pin Otherwise, it holds. If
output value
set the deadband as
1, the MV will change
only when the
accumulated
modification is more
than deadband (it is 1
Output when changing from
Pin 30 to 31).
Connect to the BKIN
Feedback output of Upstream Block,
BKOUT - Output Pin
value related Parameter:
BK_OPT
Connect to the
BKOUTE Feedback status
- Output Pin BKINERR of
RR value
Upstream Block
Multi-status Connect to the
BKOUTS
feedback - Output Pin BKINSTA of
TA Note5
output Upstream Block
BKOUT value
switch (ON=track Configuration Related parameter:
BK_OPT -
PV, OFF=track Parameter BKOUT
SV)
Monitoring
IMANIND IMAN Status - -
Parameter
Status
Auto status Monitoring
AUTOIND - -
indication Parameter
Proportion band Operation
PB TRUE Refer to 2.1.8
size Parameter
Operation
TI Integral time (s) TRUE Refer to 2.1.8
Parameter
PID
Param When TD=0,
Settings Operation suppress derivation
TD Derivative time (s) TRUE
Parameter action,
Refer to 2.1.8
Note1,
Derivative filter Operation Refer to 2.2.1
KD TRUE Note2, Note3, Note4
coefficient Parameter
Error
Monitoring
Indicatio EI Deviation - Refer to 2.1.4
Parameter
n
62
Function Block Reference
Application
Name Description Upload Properties
Reference
PV LL limit alarm Operation
PVLL TRUE Refer to 2.1.2
value Parameter
Process value Operation
PVHYS TRUE Refer to 2.1.2
alarm hysteresis Parameter
Deviation alarm Operation
DL TRUE Refer to 2.1.4
set value Parameter
Deviation alarm Operation
DLHYS TRUE Refer to 2.1.4
hystersis value Parameter
Deviation filter Operation
KSV TRUE Refer to 2.1.4
coefficient Parameter
Deviation filter Operation
TSV TRUE Refer to 2.1.4
time constant(s) Parameter
Enable switch,
Operation Related parameter:
SWDB when SWDB=ON, TRUE
Parameter DB
deadband enable
Deadband band Operation Enable when
DB TRUE
size Parameter SWDB=ON
Deadband band Operation
DBHYS TRUE Refer to 2.1.4
hysteresis Parameter
Precise controlled Operation
MDB TRUE Refer to Note1
zone range Parameter
Precise controlled
Operation Note1
MK zone coefficient TRUE Refer to
Parameter
Advance [0,1.0]
d Integral excise
Calculati coefficient. when
on EI > EA, excise
Settings coefficient, when
EI< EA, excising Operation Related parameter:
EA TRUE
coefficient is Parameter DK
disabled, used for
prevent MV
change from
overlarge
Proportion
modified value Operation Related parameter:
DK TRUE
when integral Parameter EA
excising
Note1,
Configuration Refer to 2.2.1
PID_OPT PID type selection - Note2, Note3
Parameter
63
Function Block Reference
Application
Name Description Upload Properties
Reference
SV L limit alarm Monitoring
SVLIND - Refer to 2.1.6
indication Parameter
Positive deviation Monitoring
PEIIND - Refer to 2.1.6
alarm indication Parameter
Negative
Monitoring
NEIIND deviation alarm - Refer to 2.1.6
Parameter
indication
DMVHIN MV positive rate Monitoring
- Refer to 2.1.6
D limit indication Parameter
MV negative rate Monitoring
DMVLIND - Refer to 2.1.6
limit indication Parameter
Input Refer to 2.1.2
Operation
IK compensation TRUE .Related parameter:
Parameter
gain IA
Input Refer to 2.1.2
Operation
IB compensation TRUE .Related parameter:
Compen Parameter
bias value IA
sation
Settings Output Refer to 2.1.4
Operation
OK compensation TRUE .Related parameter:
Parameter
gain OA
Output Refer to 2.1.4
Operation
OB compensation TRUE .Related parameter:
Parameter
bias value OA
Extended range
Configuration
HORLIM maximum - Refer to 2.1.5
Extende Parameter
percentage
d Range
Settings Extended range
Configuration
LORLIM minimum - Refer to 2.1.5
Parameter
percentage
SV ramp function
switch. When
changing set
value, incline it to Related parameter:
SV according to Operation RAMP
SWRAMP TRUE
the set RAMP (s). Parameter Enable when in
OFF=SV ramp automatic mode
function off,
ON=SV ramp
function on
SV Operation Related parameter:
Advance RAMP Ramp coefficient TRUE
Parameter SWRAMP
Settings
Track PV switch
enable/disable:
OFF=not track,
When it is in track
ON=track. If PV>
mode, SV tracks the
SVH/ SVL, SV=
SVTR_O Configuration PVR change of PV
range limit. Used -
PT Parameter after input
to prevent the
compensation.
output MV from
Refer to 2.1.3
interference when
changing the
control mode.
Alarm Suppress module
Enabled alarm, Operation
AOF TRUE Refer to 2.1.6
and On=prohibit to Parameter
Suppres display alarm
64
Function Block Reference
Application
Name Description Upload Properties
Reference
s ENALM Alarm enable TRUE Alarm Parameter Refer to 2.1.6
FLAG Flag - Output Pin Refer to 2.1.6
OOS mode Set as ON at the first
Operation
SWOOS setting switch TRUE time of function block
Parameter
(ON= OOS mode) downloading
OOS mode output Operation Related parameter:
OOSVAL TRUE
value Parameter OOS_OPT=ON
OOS
OOS mode output
Settings
value type. when
OOS_OPT =ON,
OOS_OP Configuration
MV=OOSVAL, - Refer to 1.1.1
T Parameter
when OOS_OPT
=OFF, maintain
the MV
Enable switch for
Operation
Check SWPV checking PV TRUE Refer to 2.1.2
Parameter
Input validity
Validity PV change limit Operation
PVLMT TRUE Refer to 2.1.2
(%) Parameter
Some of its functions are like PID, and the setting can refer to PID function block, except
followings.
When Mdb>0 and the absolute value of bias after compensation is within precise control zone
(-MDB, MDB), ratio coefficient KP will be corrected as KP=KP×MK. The specific instructions
please refer to PID function block.
MV ( SV SVSCL) KS MVSCL
Note 3: Other
The fallback function should be achieved by users when the function block is connected with
manual operation but not AO tag.
Note 4:
Input pin BKINSTA and output pin BKOUTSTA, data type is USINT. Its meaning is defined by bit,
as shown below.
65
Function Block Reference
Status values of BKINSTA and BKOUTSTA combined by definition are shown below, please don’t
use other status values undefined.
11111101(0xFD)
Track if middle 4 bits are 1. Track (Highest priority)
11111110(0xFE)
11111111(0xFF)
Note 5:
Output influence of BKINSTA for PID are shown below. MVLT refers to MV of last period, and dMV
refers to MV increment calculated by PID of current period.
66
Function Block Reference
Track
High 2 bits are set as 1.
(BKINSTA=0XFC\0xF MV = BKIN
Middle 4 bits of BKOUTSTA are set as Track.
D\0xFE\0xFF)
MV lock decrease, i.e. Low 2 bits of BKOUSTA are set by following rules:
only enable increase MV limit
Low limited and disable decrease MV H limit: If PID is positive action, low 2 bits of BKOUTSTA
(BKINSTA=0xC1) (output hold if lock are set as Low limited. If PID is negative action, low 2 bits of
increase signal is BKOUTSTA are set as High limited.
existing too). MV L limit: If PID is positive action, low 2 bits of BKOUTSTA
are set as High limited. If PID is negative action, low 2 bits of
BKOUTSTA are set as Low limited.
SV limit
SV H limit: No matter positive or negative action for PID, low
2 bits of BKOUTSTA are set as High limited.
SV L limit: No matter positive or negative action for PID, low
2 bits of BKOUTSTA are set as Low limited.
High limited MV lock increase, i.e. High 2 bits are set as 1.
(BKINSTA=0xC2) only enable decrease
and disable increase Middle 4 bits of BKOUSTA are decided by MODE value:
(output hold if lock MODE != AUTO, middle 4 bits are set as Track.
decrease signal is MODE = AUTO, middle 4 bits are set as Good.
67
Function Block Reference
When processing BKINSTA, Track has the highest priority. The limit information of
BKINSTA may be invalid only if middle 4 bits are set as Track.
If High limited and Low limited exist together, output lock increase and decrease are valid
together, output MV hold.
Lock increase obtained by BKINSTA, will be locked as positive dMV, i.e. including
proportion, integral items. If high limit occurs to MV calculated, only exlude the positive
integral action.
68
Function Block Reference
Function Block
Initial Application
Panel Parameter Name Parameter Value Range
Value Instruction
Name
HH alarm value
PV setting of loop PV
Preference [SVSCL,SVS
Alarm (s) HH PVHH 100.000 (select alarm
CH]
enabled, or it is
disabled).
69
Function Block Reference
Function Block
Initial Application
Panel Parameter Name Parameter Value Range
Value Instruction
Name
H alarm value setting
[SVSCL,SVS of loop PV(select
H PVH 90.000
CH] alarm enabled, or it is
disabled)
L alarm value setting
[SVSCL,SVS of loop PV(select
L PVL 10.000
CH] alarm enabled, or it is
disabled)
LL alarm value
setting of loop PV.
[SVSCL,SVS
LL PVLL 0.000 (select alarm
CH]
enabled, or it is
disabled)
PVProcess value
HYS PVHYS 0.000 -
alarm hysteresis
H value setting of
loop SV (select alarm
[SVSCL,SVS enabled, or it is
H SVH 40.000
CH] disabled).
Note: SV limit is not
SV
affected by selection.
Limits (s)
L value setting of
loop SV (select alarm
[SVSCL,SVS enabled, or it is
L SVL 0.000
CH] disabled).
Note: SV limit is not
affected by selection.
H value setting of
loop MV (select
[MVSCL,MVS alarm enabled, or it is
H MVH 100.000
CH] disabled).
MV Note: MV limit is not
Limits affected by selection.
(%) L value setting of
loop MV (select
[MVSCL,MVS alarm enabled, or it is
L MVL 0.000
CH] disabled).
Note: MV limit is not
affected by selection.
Read-only. EI=PV-
SV(select alarm
EI EI 0.000 -
enabled, or it is
disabled).
PEI Selecting the positive
(select - - - deviation alarm is
Set DL ed) enabled.
(s) NEI Selecting the
(select - - - negative deviation
ed) alarm is enabled.
± (Range H-
DL DL 100.000 Deviation alarm SV
Range L)
Deviation alarm
DLHYS DLHYS 0.000 -
hystersis value
MV DMVH Selecting positive
Limits (select - - - velocity alarm is
(%) ed) enabled.
70
Function Block Reference
Function Block
Initial Application
Panel Parameter Name Parameter Value Range
Value Instruction
Name
DMVL Selecting negative
(select - - - velocity alarm is
ed) enabled.
DMVLI Loop MV velocity
DMVLIM 100.000 -
M limit SV
PID Not less than Loop proportional
PB(%) PB 100.000
0 band parameter SV
PID
Coefficie Not less than Loop integral time
TI(s) TI 20.000
nt 0 parameter SV
Not less than Loop differential time
TD(s) TD 0.000
0 parameter SV
Incompl
Not less than Incomplete integral
ete Diff KD(s) KD 10.000
0 filter coefficient
Coef
Efficien
Selecting deadband
cy
SWDB - - parameter is
(select
enabled.
ed)
Deadzon
e Invalid Selecting deadband
Coefficie (select SWDB √ - parameter is
nt ed) disabled.
DB DB 0.000 - Deadband band size
Deadband band
DBHYS DBHYS 0.000 [0,DB]
hysteresis
Precise Precision settings
MDB MDB 0.000 [0,1.0]
Controlle range
d Zone Precision settings
Setting MK MK 1.000 -
coefficient
Integral EA EA 0.000 - Range parameter SV
separati
on Coefficient parameter
coefficie DK DK 0.000 -
SV
nt
Efficien
cy Selecting SV ramp is
SWRAMP - -
(select enabled.
Set ed)
Value Invalid
Ramp Selecting SV ramp is
(select SWRAMP √ -
disabled.
ed)
Coefficient parameter
RAMP RAMP 100.000 -
SV
Direct
Selecting direct
(select SWPN - -
action is enabled.
ed)
Direct/R
everse Revers
e Selecting reverse
SWPN √ -
(select action is enabled.
ed)
71
Function Block Reference
Function Block
Initial Application
Panel Parameter Name Parameter Value Range
Value Instruction
Name
Run Selecting
(select STOPP √ - proportional action is
Scale ed) enabled.
Action Selecting
Stop STOPP - - proportional action is
disabled.
Selecting integral
Run STOPI √ -
Integral action is enabled.
Action Selecting integral
Stop STOPI - -
action is disabled.
PID Run BYPASS √ - -
Operatio
n Bypass BYPASS - - -
Read-only, can be
IA IA 0.000 - set in configuration or
Input program
Compen
sation Input compensation
IK IK 1.000 -
(%) gain
Input compensation
IB IB 0.000 -
bias value
Read-only, can be
OA OA 0.000 - set in configuration or
Output program
Compen
sation Output compensation
OK OK 1.000 -
(%) gain
Others
Output compensation
DB DB 0.000 -
bias value
Deviation filter
Set EI KSV KSV 1.000 0~100
coefficient
alarm
filter Deviation filter time
TSV (s) TSV (s) 0.000 0~1000s
constant(s) (s)
Read-only, can be
Track SVTR_OPT √ - set in configuration or
program
SV Track
Read-only, can be
Untrack SVTR_OPT - - set in configuration or
program
2.3.3 Flag
Table 2-14 Flag
Flag Instruction
D0 Disabled
D1 Manual Initialize (IMAN)
D2 Manual (MAN)
D3 Tricking (TR)
D4 Automatic (AUTO)
D5 Cascade (CAS)
D8 PV HH Alarm (PVHH)
72
Function Block Reference
Flag Instruction
D9 PV LL Alarm (PVLL)
D10 PV High Limit Alarm (PVH)
D11 PV Low Limit Alarm (PVL)
D12 SV High Limit Alarm (SVH)
D13 SV Low Limit Alarm (SVL)
D14 MV High Limit Alarm (MVH)
D15 MV Low Limit Alarm (MVL)
D16 PEI Alarm (PEI)
D17 NEI alarm(NEI)
D18 Alarm for Range High/Low Limit Reversal (REVSCL)
D19 Alarm for Config Error (CFGERR)
D22 Alarm for MV Positive Velocity Amplitude Limiting (DMVH)
D23 Alarm for MV Negative Velocity Amplitude Limiting (DMVL)
D25 Alarm Suppression (AOF)
Continuous flash tank water level adjustment: to change the flow rate by adjusting the water level
adjusting valve of continuous flash tank, then to control the water level of continuous flash tank. If
the water level tag is WT001, adjusting valve opening feedback is LT001, adjusting valve
command is LT002.
When the control strategy is PIDEP function block, the water level of continuous flash tank is PV,
the set value input of manual instrument is SV, output it to the manual instrument function block,
then output to AO block and adjust the adjusting valve.
73
Function Block Reference
Functions of PIDEX are same as PID function block, except the following items.
1. Limit process: In MAN and IMAN mode, output is not limited by MVH and MVL but it must
be in the range of extended range.
2. Mode process
Please refer to the 0 and 2.1 before using the function block.
74
Function Block Reference
The data type, initial value and default pin of function block parameter in the table below refer to
the function properties setting interface.
When the parameter in the table below is uploaded as TRUE, it means the corresponding
parameter can upload the data of controller and save to the configuration later. When offline
download is performed next time, the saved data can be downloaded.
Application
Name Description Upload Properties
Reference
The same as
Configuration
Basic MVSCH MV high scale - MV actual
Parameter
Parameters value H limit.
The same as
Configuration
MVSCL MV low scale - MV actual
Parameter
value L limit.
The same as
Configuration
SVSCH SV high scale - PV actual
Parameter
value H limit.
The same as
Configuration
SVSCL SV low scale - PV actual
Parameter
value L limit.
Set in the
function block
SV engineer Configuration
Range SVEU - properties
unit Parameter
Setting settings
s interface.
Set in the
function block
MV engineer Configuration
MVEU - properties
unit Parameter
settings
interface.
Used for data
displayed on
SV decimal Configuration
SVDLEN - function block
digits [0,5] Parameter
panel (equal to
3 as default).
Used for data
displayed on
MV decimal Configuration
MVDLEN - function block
digits [0,5] Parameter
panel (equal to
3 as default).
Limits Value range
MV H limit Operation
MVH TRUE [MVSCL,MVS
value Parameter
CH]
Value range
Operation
MVL MV L limit value TRUE [MVSCL,MVS
Parameter
CH]
Value range
SV H limit Operation
SVH TRUE [SVSCL,SVSC
value Parameter
H]
75
Function Block Reference
Application
Name Description Upload Properties
Reference
Value range
Operation
SVL SV L limit value TRUE [SVSCL,SVSC
Parameter
H]
MV output rate
variety limit
value. Used to
Operation
DMVLIM prevent the MV TRUE Refer to 2.1.6
Parameter
from overlarge
modification in
a short time.
Direct/Reverse
switch. SV is
not changed,
Direct/ the MV
Revers increases with OFF=Direct
e the increasing Operation action,
SWPN TRUE
Switch of PV in direct Parameter ON=Reverse
Setting action, and action
s decreases with
the increasing
of PV in
reverse action.
Connect to
BKOUT of
Extended BKIN Feedback input - Input Pin
downstream
Parameters block
Connect to
Feedback BKOUT of
BKINERR - Input Pin
status input downstream
block ERR
Process value Connect to
PV of loop closed - Input Pin measuring
control process point AI
Connect to
outer loop
CSV Cascade - Input Pin
control value
MV
Base Connect to
Input measuring
Pin Track input point AI
TV - Input Pin
Setting value Related
s parameter:
SWTR
Upstream
interlock
Track switch: condition
SWTR OFF=not track, - Input Pin input,
ON=track Related
parameter: TV,
TVERR
Connect to
measuring
Output
point AI
compensation,
(feedforward
OA used for - Input Pin
signal),
feedforward
Related
control
parameter:
OK, OB
76
Function Block Reference
Application
Name Description Upload Properties
Reference
Advanc PV is in fault or
e Input not, Connect the
PVERR - Input Pin
Pin ON=Abnormal, tag AI.ERR
Setting OFF=normal
s SV is in fault or
Connect the
not,
SVERR - Input Pin upstream
ON=Abnormal,
output
OFF=normal
TV is in fault or
not, Connect the
TVERR - Input Pin
ON=Abnormal, tag AI.ERR
OFF=normal
OA is in fault or
Connect the
not,
OAERR - Input Pin upstream
ON=Abnormal,
output
OFF=normal
PID executor
Connect to
feedback
MF - Input Pin measuring
value , used for
point AI
monitoring
Input
Connect to
compensation
measuring
value, used to
point AI, Refer
improve the
IA - Input Pin to 2.1.1 ,
controllability of
Related
process with
parameters:
long deadband
IK, IB
time
Program
manual and Connect the
auto control upstream
switch, output
PSWAM - Input Pin
OFF=program Enabled when
manual control, MAN_OPT=O
ON=program N
auto control
Program auto/ Connect the
cascade upstream
PSWSV control switch, - Input Pin output
OFF= SV, enabled when
ON=CSV SV_OPT=ON
Manual-automa
tic control
source switch,
Connect the
ON=
upstream
manual-automa
output
tic selection
MAN_OPT - Input Pin Related
controlled by
parameter:
PSWAM, OFF=
PSWAM,
manual-automa
SWAM
tic selection
controlled by
SWAM
77
Function Block Reference
Application
Name Description Upload Properties
Reference
Auto/Cascade
control source
selection, ON= Connect the
auto/cascade upstream
selection output
SV_OPT controlled by - Input Pin Related
PSWSV, OFF= parameter:
auto/cascade PSWSV,
selection SWSV
controlled by
SWSV
Connect the
MV lock upstream
increase (MV output.
SWINC cannot - Input Pin enabled when
Increase), ON= function block
lock increase is automatic or
cascade
Connect to
Anti-integral measuring
saturation point AI,
RRL input, used for - Input Pin Related
control parameter:
overshoot BKIN Refer to
2.1.4
Connect the
MV lock
upstream
decrease (MV
output.
cannot
SWDEC - Input Pin enabled when
decrease),
function block
ON= Lock
is automatic or
decrease
cascade
MV holds the
current output Connect to
HOLD value, ON= - Input Pin upstream
hold the current output,
output value
Connect to
PID operation electric
MV - Output Pin
output value manual
instrument
Connect to the
BKIN of
Feedback Upstream
BKOUT - Output Pin
output value Block, Related
Output parameter:
Pin BK_OPT
Connect to the
Feedback BKINERR of
BKOUTERR - Output Pin
status value Upstream
Block
BKOUT value
Related
switch Configuration
BK_OPT - parameter:
(ON=track PV, Parameter
BKOUT
OFF=track SV)
PID Proportion Operation
PB TRUE Refer to 2.1.8
Param band size Parameter
78
Function Block Reference
Application
Name Description Upload Properties
Reference
Setting Operation
TI Integral time (s) TRUE Refer to 2.1.8
s Parameter
When TD=0,
suppress
Derivative time Operation
TD TRUE derivation
(s) Parameter
action, Refer
to 2.1.8
Refer to
Derivative filter Operation Note1, Note2,
KD TRUE 2.1.1
coefficient Parameter Note3, Note4
Monitoring
MODE Work mode - Refer to 2.1.1
Parameter
Standby work Monitoring
IMODE - Refer to 2.1.1
mode Parameter
ON=auto
return, Configuration
MODE_OPT - Refer to 2.1.1
OFF=manual Parameter
return (default)
Manual and
Enabled when
auto switch: Operation
SWAM - MAN_OPT=O
OFF=manual, Parameter
FF
ON=auto
Auto/ cascade
selection: Operation Enabled when
SWSV -
OFF=auto, Parameter SV_OPT=OFF
ON=cascade
Whether to
equal to preset Related
Operation
SWMMV MV value when TRUE parameter:
Parameter
switch to MMV
Operat manual status
or Preset MV
Comm Operation Enabled when
MMV value (switch to TRUE
and Parameter SWMMV=ON
manual)
Whether to
equal to preset
MV value when
switch to auto
status. PMV
enable switch.
Related
When Operation
SWPMV TRUE parameter:
SWPMV=ON, Parameter
PMV
MV = PMV, MV
velocity alarm,
lock
increase/decre
ase are
disabled
Preset MV
when switching
from
Operation Enabled when
PMV OOS/IMAN/TR/ TRUE
Parameter SWPMV=ON
MAN modes to
AUTO or CAS
mode
Operat SV for loop Operation
SV TRUE Refer to 2.1.3
or Data closed control Parameter
79
Function Block Reference
Application
Name Description Upload Properties
Reference
MV= MANMV
Manual output Operation
MANMV - in manual
value Parameter
mode
Monitoring
EI Deviation - Refer to 2.1.4
Parameter
PV HH limit Operation
PVHH TRUE Refer to 2.1.2
alarm value Parameter
PV H limit Operation
PVH TRUE Refer to 2.1.2
alarm value Parameter
PV L limit alarm Operation
PVL TRUE Refer to 2.1.2
value Parameter
PV LL limit Operation
PVLL TRUE Refer to 2.1.2
alarm value Parameter
PV alarm Operation
PVHYS TRUE Refer to 2.1.2
hysteresis Parameter
Deviation alarm Operation
DL TRUE Refer to 2.1.4
set value Parameter
Deviation alarm Operation
Input DLHYS TRUE Refer to 2.1.4
hystersis value Parameter
Alarm
Setting Deviation filter Operation
KSV TRUE Refer to 2.1.4
s coefficient Parameter
Deviation filter
Operation
TSV time TRUE Refer to 2.1.4
Parameter
constant(s)
Related
Valve position
Operation parameter:
NMFLIM negative error TRUE
Parameter NMF Refer to
thresholds
2.1.6
Related
Valve position
Operation parameter:
PMFLIM positive error TRUE
Parameter PMF Refer to
thresholds
2.1.6
Valve position
Operation
TMFHYS error alarm TRUE Refer to 2.1.6
Parameter
hysteresis time
Bypass PID
Advanc operation,
When cascade
ed when
adjusting,
Calcula BYPASS=ON,
Operation used to excise
tion BYPASS excise PID TRUE
Parameter inner loop
Setting calculation,
when it fails
s switch SV to
Refer to 2.1.4
MV directly for
output
Proportion
suppress
switch, when Operation
STOPP TRUE Refer to 2.1.4
STOPP=ON, Parameter
stop integral
action
Integral
suppress
switch, when Operation
STOPI TRUE Refer to 2.1.4
STOPI=ON, Parameter
stop integral
action
80
Function Block Reference
Application
Name Description Upload Properties
Reference
Enable switch,
when
Operation Related
SWDB SWDB=ON, TRUE
Parameter parameter: DB
deadband
enable
Deadband Operation Enable when
DB TRUE
band size Parameter SWDB=ON
Deadband
Operation
DBHYS band TRUE
Parameter
hysteresis
Non-linear gain
range Operation
GW TRUE Refer to 2.1.4
non-linear gain Parameter
range
Nonlinear gain
Operation
KN coefficient[0,1. TRUE Refer to 2.1.4
Parameter
0]
Non-linear gain
selection
switch, switch
the relation
between error
and output Related
change value parameters:
to nonlinear. GW, PB and
Used for KN When
Configuration
NGN_OPT control when - NGN_OPT=
Parameter
proportional ON; GW and
gain needs PB when
nonlinear NGN_OPT=
change. OFF
OFF=Error
square root
function,
ON=Gap action
function
Integral excise
coefficient.
when EI > EA,
excise
coefficient,
when EI< EA, Operation Related
EA TRUE
excising Parameter parameter: DK
coefficient is
disabled, used
for prevent MV
change from
overlarge
Proportion
modified value Operation Related
DK TRUE
when integral Parameter parameter: EA
excising
Control output
type:
OFF=position Configuration Related
OUT_OPT -
type, Parameter parameter: MV
ON=increment
type
81
Function Block Reference
Application
Name Description Upload Properties
Reference
PID type Configuration Refer to 2.2.1
PID_OPT - Note2, Note3, Note4
selection Parameter
PVHH alarm Monitoring
PVHHIND - Refer to 2.1.6
indication Parameter
PV H Limit
Monitoring
PVHIND alarm - Refer to 2.1.6
Parameter
indication
PV L limit alarm Monitoring
PVLIND - Refer to 2.1.6
indication Parameter
PV LL limit
Monitoring
PVLLIND alarm - Refer to 2.1.6
Parameter
indication
MV H limit
Monitoring
MVHIND alarm - Refer to 2.1.6
Parameter
indication
MV L limit
Monitoring
MVLIND alarm - Refer to 2.1.6
Parameter
indication
SV H limit
Monitoring
SVHIND alarm - Refer to 2.1.6
Parameter
indication
Alarm SV L limit alarm Monitoring
SVLIND - Refer to 2.1.6
indication Parameter
Positive
Monitoring
PEIIND deviation alarm - Refer to 2.1.6
Parameter
indication
Negative
Monitoring
NEIIND deviation alarm - Refer to 2.1.6
Parameter
indication
MV positive
Monitoring
DMVHIND rate limit - Refer to 2.1.6
Parameter
indication
MV negative
Monitoring
DMVLIND rate limit - Refer to 2.1.6
Parameter
indication
Valve position
error negative Monitoring
NMFIND - Refer to 2.1.6
alarm Parameter
indication
Valve position
error positive Monitoring
PMFIND - Refer to 2.1.6
alarm Parameter
indication
Input Refer to 2.1.2
Operation
IK compensation TRUE Related
Parameter
gain parameter: IA
Input Refer to 2.1.2
Operation
Compe IB compensation TRUE Related
Parameter
nsation bias value parameter: IA
Setting Output Refer to 2.1.4
s Operation
OK compensation TRUE Related
Parameter
gain parameter: OA
Output Refer to 2.1.4
Operation
OB compensation TRUE Related
Parameter
bias value parameter: OA
82
Function Block Reference
Application
Name Description Upload Properties
Reference
Set MV
manual slow
increase/decre
ase
MV manual percentage in
slow Operation function block
SMV TRUE
increase/decre Parameter properties
ase value (%) setting,
SMV≤FMV
Related
parameter:
MVSCH
Set MV
manual fast
increase/decre
ase
MV manual fast percentage in
Operation
FMV increase/decre TRUE function block
Parameter
ase value (%) properties
setting
Fase/Sl
Related
ow/Incr
parameter:
ease/D
MVSCL
ecreas
e Set SV manual
Setting slow
s increase/decre
ase
percentage in
SV slow
Operation function block
SSV increase/decre TRUE
Parameter properties
ase value (%)
setting
SSV≤FSV,
Related
parameter:
SVSCH
Set SV manual
fast
increase/decre
ase
SV fast percentage in
Operation
FSV increase/decre TRUE function block
Parameter
ase value (%) properties
setting
Related
parameter:
SVSCL
Extended
Extend range Configuration
HORLIM - Refer to 2.1.5
ed maximum Parameter
Range percentage
Setting Extended
s Configuration
LORLIM range minimum - Refer to 2.1.5
Parameter
percentage
83
Function Block Reference
Application
Name Description Upload Properties
Reference
SV ramp
function switch.
When changing
Related
set value,
parameter:
incline it to SV
RAMP. Enable
according to Operation
SWRAMP TRUE when in
the set RAMP Parameter
automatic or
(s). OFF=SV
cascade
ramp function
mode.
off, ON=SV
ramp function
on
SV Related
Advanc Ramp Operation
RAMP TRUE parameter:
e coefficient Parameter
SWRAMP
Setting
Track PV
s
switch
enable/disable:
OFF=not track,
ON=track. If
PV> SVH/ SVL,
SV= range Configuration
SVTR_OPT - Refer to 2.1.3
limit. Used to Parameter
prevent the
output MV from
interference
when changing
the control
mode.
Suppress
Alarm module alarm. Operation
Enable AOF TRUE Refer to 2.1.6
On=prohibit to Parameter
d and display alarm.
Suppre
ENALM Alarm enable TRUE Alarm Parameter Refer to 2.1.6
ss
FLAG Flag - Output Pin Refer to 2.1.6
OOS mode Set as ON at
setting switch Operation the first time of
SWOOS TRUE
(ON= OOS Parameter function block
mode) downloading
Related
OOS mode Operation parameter:
OOSVAL TRUE
output value Parameter OOS_OPT=O
OOS N
Setting OOS mode
s output value
type. when
OOS_OPT
=ON, Configuration
OOS_OPT - Refer to 1.1.1
MV=OOSVAL, Parameter
when
OOS_OPT
=OFF, maintain
the MV
Enable switch
Operation
Check SWPV for checking PV TRUE Refer to 2.1.2
Parameter
Input validity
Validity PV change limit Operation
PVLMT TRUE Refer to 2.1.2
(%) Parameter
84
Function Block Reference
85
Function Block Reference
Function
Block Value Application
Panel Parameter Name Initial Value
Parameter Range Instruction
Name
HH alarm value
PV Alarm setting of loop PV
Preference (%) [SVSCL,SV
HH PVHH 100.000 (select alarm
SCH]
enabled, or it is
disabled).
H alarm value setting
[SVSCL,SV of loop PV(select
H PVH 90.000
SCH] alarm enabled, or it is
disabled)
L alarm value setting
[SVSCL,SV of loop PV(select
L PVL 10.000
SCH] alarm enabled, or it is
disabled)
86
Function Block Reference
Function
Block Value Application
Panel Parameter Name Initial Value
Parameter Range Instruction
Name
LL alarm value
setting of loop PV.
[SVSCL,SV
LL PVLL 0.000 (select alarm
SCH]
enabled, or it is
disabled)
PV Process value
Hysteresis PVHYS 0.000 -
alarm hysteresis
H value setting of
loop SV (select alarm
[SVSCL,SV enabled, or it is
H SVH 40.000
SCH] disabled).
Note: SV limit is not
SV Limits affected by selection.
(%) L value setting of
loop SV (select alarm
[SVSCL,SV enabled, or it is
L SVL 0.000
SCH] disabled).
Note: SV limit is not
affected by selection.
H value setting of
loop MV (select
[MVSCL,M alarm enabled, or it is
H MVH 100.000
VSCH] disabled).
Note: MV limit is not
MV Limits affected by selection.
(%)
L value setting of
loop MV (select
[MVSCL,M alarm enabled, or it is
L MVL 0.000
VSCH] disabled).
Note: MV limit is not
affected by selection.
Read-only. EI=PV-
SV(select alarm
Error (EI) EI 0.000 -
enabled, or it is
disabled).
Selecting the positive
PEI
- - - deviation alarm is
(selected)
enabled.
EI Alarm
(%) Selecting the
NEI
- - - negative deviation
(selected)
alarm is enabled.
± (Range
DL DL 100.000 H- Range Deviation alarm SV
L)
Deviation alarm
DLHYS DLHYS 0.000 -
hystersis value
Selecting the positive
PMF PMFLIM 100.000 - deviation alarm is
enabled.
MF Alarm
Selecting the
(%)
NMF NMFLIM 100.000 - negative deviation
alarm is enabled.
Delay (s) Delay (s) 0.000 - Lag time SV
87
Function Block Reference
Function
Block Value Application
Panel Parameter Name Initial Value
Parameter Range Instruction
Name
Selecting positive
DMVH
- - - velocity alarm is
(selected)
enabled.
MV Velocity Selecting negative
Limits (%) DMVL
- - - velocity alarm is
(selected)
enabled.
Loop MV velocity
DMVLIM DMVLIM 100.000 -
limit SV
PID Not less Loop proportional
PB(%) PB 100.000
than 0 parameter SV
PID Not less Loop integral time
Parameter TI(s) TI 20.000
than 0 parameter SV
Not less Loop differential time
TD(s) TD 0.000
than 0 parameter SV
Incomplete
Not less Incomplete integral
Differential KD(s) KD 10.000
than 0 filter coefficient
Coefficient
Selecting deadband
Efficiency
SWDB - - parameter is
(selected)
enabled.
Selecting deadband
Invalid
Deadband SWDB √ - parameter is
(selected)
(%) disabled.
Deadzone
DB 0.000 - Deadband band size
(DB)
Hysteresis Deadband band
DBHYS 0.000 [0,DB]
(DBHYS) hysteresis
Read-only, non-linear
Gap Action
NGN_OPT - - gain selection switch
(selected)
ON= Gap Action
Read-only, non-linear
Square Root gain selection switch
Non-linear NGN_OPT √ -
(selected) OFF=Square Root
Gain (%) Action
Nonlinear gain action
Range (GW) GW 0.000 [0, 1.0]
range
Coefficient Nonlinear gain
KN 1.000 -
(KN) coefficient
Integral EA EA 0.000 - Range parameter SV
Separation Coefficient parameter
(%) DK DK 0.000 -
SV
Efficiency Selecting SV ramp is
SWRAMP - -
(selected) enabled.
SV Ramp Invalid Selecting SV ramp is
Action (%) SWRAMP √ -
(selected) disabled.
Coefficient Coefficient parameter
RAMP 100.000 -
(RAMP) SV
Direct Selecting direct
SWPN - -
Direct/Reve (selected) action is enabled.
rse Reverse Selecting reverse
SWPN √ -
(selected) action is enabled.
88
Function Block Reference
Function
Block Value Application
Panel Parameter Name Initial Value
Parameter Range Instruction
Name
Selecting
Run
STOPP √ - proportional action is
(selected)
Scale enabled.
Action Selecting
Stop STOPP - - proportional action is
disabled.
Selecting integral
Run STOPI √ -
action is enabled.
Selecting integral
Stop STOPI - -
action is disabled.
The modification of
function block panel
Integral is enabled for
BYPASS BYPASS √ -
Action function block
properties interface
when debugging.
The modification of
function block panel
is disabled for
Bypass BYPASS - -
function block
properties interface
when debugging.
Read-only, can be
Others IA IA 0.000 - set in configuration or
Input program
Compensati Input compensation
on (%) IK IK 1.000 -
gain
Input compensation
IB IB 0.000 -
bias value
Read-only, can be
OA OA 0.000 - set in configuration or
Output program
Compensati Output compensation
on (%) OK OK 1.000 -
gain
Output compensation
DB DB 0.000 -
bias value
Deviation filter
KSV KSV 1.000 0~100
Set EI coefficient
alarm filter Deviation filter time
TSV (s) TSV (s) 0.000 0~1000s
constant(s)
Read-only, can be
PV BK_OPT - - set in configuration or
Feedback program
Output
Track Read-only, can be
SV BK_OPT √ - set in configuration or
program
Read-only, can be
Track SVTR_OPT √ - set in configuration or
program
SV Track
Read-only, can be
Untrack SVTR_OPT - - set in configuration or
program
89
Function Block Reference
Function
Block Value Application
Panel Parameter Name Initial Value
Parameter Range Instruction
Name
Read-only, can be
Manual and Panel MAN_OPT √ - set in configuration or
Auto program
Control Read-only, can be
Source Program MAN_OPT - - set in configuration or
program
Read-only, can be
Panel SV_OPT - - set in configuration or
Auto/Casca program
de Control
Source Read-only, can be
Program SV_OPT √ - set in configuration or
program
Read-only, track
TV TV 0.000 -
input value(%)
Executive Feedback MF 0.0 [MVH,MVL] Writable
2.4.3 Flag
Table 2-17 Flag
Flag Instruction
D0 Disabled
D1 Manual Initialize (IMAN)
D2 Manual (MAN)
D3 Tricking (TR)
D4 Automatic (AUTO)
D5 Cascade (CAS)
D8 PV HH Alarm (PVHH)
D9 PV LL Alarm (PVLL)
D10 PV High Limit Alarm (PVH)
D11 PV Low Limit Alarm (PVL)
D12 SV High Limit Alarm (SVH)
D13 SV Low Limit Alarm (SVL)
D14 MV High Limit Alarm (MVH)
D15 MV Low Limit Alarm (MVL)
D16 PEI Alarm (PEI)
D17 NEI alarm(NEI)
Alarm for Range High/Low Limit Reversal
D18
(REVSCL)
D19 Alarm for Config Error (CFGERR)
Alarm for MV Positive Velocity Amplitude Limiting
D22
(DMVH)
Alarm for MV Negative Velocity Amplitude Limiting
D23
(DMVL)
90
Function Block Reference
Flag Instruction
Alarm for Valve Position Negative Deviation
D27
(NMF)
D28 Alarm for Valve Position Positive Deviation (PMF)
D20 Tricking Value Error (TVERR)
D21 Output Compensation Value Error (OCVERR)
D29 PV Error
D30 SV Error
D25 Alarm Suppression (AOF)
Example 1
To adjust the water level of LT-1001 in the figure below and realize automatic control for water
level. It is described in the diagram and can be applied.
The single loop, which consists into a closed-loop feedback control system with a control target, a
detect transmitter and a performer, also can be called as simple control system. It is often applied
for fields with short lag time of the control target, small change of load and interference and
general requirements for control quality.
Its programming is shown below, which can be realized via PIDEX, the interface of host computer
can be invoked by the tag of function block to monitor and control the loop in the diagram.
The function block instruction and examples are shown in the table below:
91
Function Block Reference
SVL: should be the same as the range of SV when SV limit is not required
SVH: should be the same as the range of SV when SV limit is not required
MODE_OPT: OFF
SV_OPT: ON
Set the alarm enabled and limit of alarm functions of PIDEX according to the
requirements.
BKIN should connect with the BKOUT of downstream function block, BKINERR should
connect with the BKOUTERR of downstream function block. AO tag can be the
downstream function block for single loop.
Note: the operation parameters SV_OPT, PSWSV (OFF in default) are set to prevent from wrong
operation to “CAS” mode by the operator on the panel.
Notice:
The control panel can invoke the name of function block from HMI directly.
Example 2
To achieve the control for the water level of field craft tank, as shown in the figure below, by setting
the in-tank water level adjustment as the outer loop and the entrance flow adjustment as the inner
loop, and it can be shown and operated in the diagram.
92
Function Block Reference
The cascade control is a closed-loop consisted of two PID single loops. The adjusting valve is not
controlled by the major loop (outer loop), but set the output of major loop executed PID calculation
as the SV of minor loop (inner loop), and control the adjusting valve by the output of minor loop
executed PID calculation. It is often used for control targets with large time constant and pure lag,
such as heating furnace temperature+ flow control, temperature+ pressure control, steam drum
water level+ flow control, etc.
Its programming is shown below, which can be achieved by PIDEX. And the data monitoring can
be realized by the control panel of the control module via the host computer display and operation
data.
93
Function Block Reference
The SVSCL, SVSCH and SVEU of SV range of major/minor loops should be the same as
its input PV range unit.
The MVSCL, MVSCH and MVEU of output MV range of major loop should be the same
as the input PV range unit of minor loop. And its MVL, MVH should be the same as
MVSCL and MVSCH when the output limit of MV output is not required, or the MV output
will be limited in 0~100.
The MVSCL, MVSCH and MVEU of output MV range of minor loop use default value
0~100%, and the MVL and MVH use default value 0~100.
The SVL and SVH of SV range of major/minor loops should be the same as the SV range
when the SV limit function is not required, or the SV range will be limited in 0~100.
When the SV_OPT of major loop is set as ON, the SV_OPT of minor loop should be set
as OFF, or the cascade operation cannot be performed manually on the panel.
Set the alarm enabled and limit of alarm functions of PIDEX according to the
requirements.
BKIN of the upstream function block should connect with the BKOUT of downstream function
block, BKINERR should connect with the BKOUTERR of downstream function block. The
downstream function block can be minor loop for cascade major loop, and the AO tag can be the
downstream function block for minor loop.
Notice:
The control panel can invoke the name of function block from HMI directly.
Example 3
To achieve the feedforward control, as shown in the figure below, and it can be operated in the
diagram.
94
Function Block Reference
Pure feedforward control is an open-loop control system, and is not often applied because of its
complexity of input or interference in application. In fact, the feedforward-feedback control system
is often used to improve the control performance. It means to reduce lag and improve the control
precision by the feedforward compensation for the major interference and feedback control
correction for other interference.
Its programming is shown below, which can be achieved by PIDEX. And the data monitoring can
be realized by the control panel of the control module via the host computer display and operation
data.
MODE_OPT: OFF
SV_OPT: ON
BKIN should connect with the BKOUT of downstream function block, BKINERR should
connect with the BKOUTERR of downstream function block. AO tag can be the
downstream function block for single loop.
SVL and SVH should be the same as the range of SV when SV limit is not required
When input PV error occurs, the PID loop enters into PVERR status. The loop enters into
95
Function Block Reference
When AO is compelled, PID loop enters into IMAN status. The loop MV tracks the
compel value of AO.
Set the alarm enabled and limit of alarm functions of PIDEX according to the
requirements.
Notice:
The control panel can invoke the name of function block from HMI directly.
General PID control functions can be achieved by EPID function block. It has two work modes
OOS and AUTO, and applies to electric power industry.
Please refer to the 0 and 2.1 before using the function block.
Application
Name Description Upload Properties
Reference
The same as PV
actual value H
limit.
Basic Range Configuration When
Parameters Settings SVSCH SV high scale -
Parameter SV>SVSCH, it is
limited by the
maximum of
Range.
The same as PV
actual value L
limit.
Configuration When
SVSCL SV low scale -
Parameter SV<SVSCH, it is
limited by the
minimum of
Range.
96
Function Block Reference
Application
Name Description Upload Properties
Reference
The same as MV
MVSC Configuration
MV high scale - actual value H
H Parameter
limit.
The same as MV
Configuration
MVSCL MV low scale - actual value L
Parameter
limit.
Set in the function
Configuration
SVEU SV engineer unit - block properties
Parameter
settings interface.
Set in the function
Configuration
MVEU MV engineer unit - block properties
Parameter
settings interface.
Used for data
displayed on
SVDLE SV decimal digits Configuration
- function block
N [0,5] Parameter
panel (equal to 3
as default).
Used for data
displayed on
MVDLE MV decimal digits Configuration
- function block
N [0,5] Parameter
panel (equal to 3
as default).
Value range
Operation
MVH MV H limit value TRUE [MVSCL,
Parameter
Output MVSCH].
Limits Value range
Operation
MVL MV L limit value TRUE [MVSCL,
Parameter
MVSCH].
Direct/Reverse
switch. SV is not
changed, the MV
OFF=Direct
Direct/Rev increases with the
Operation action,
erse Switch SWPN increasing of PV in TRUE
Parameter ON=Reverse
Settings direct action, and
action
decreases with the
increasing of PV in
reverse action.
Extended Input Pin Process value of
Connect to
Parameters PV loop closed control - Input Pin
measuring point AI
process
Connect to outer
loop control value
MV.
CSV Cascade - Input Pin
When select
cascade, SV
comes from CSV.
Connect to
Output
measuring point AI
compensation,
OA - Input Pin (feedforward
used for
signal),
feedforward control
MV=MV0+OA
Input compensation Connect to
value, used to measuring point AI
improve the Refer to 2.1.1
IA - Input Pin
controllability of Related
process with long parameter: IK, IB
deadband time PV=PV+IA
97
Function Block Reference
Application
Name Description Upload Properties
Reference
Auto/ cascade
selection:
SWSV TRUE Input Pin -
OFF=auto,
ON=cascade
Connect to electric
manual instrument
Control output
MV=last period
PID operation
Output Pin MV - Output Pin output LT_MV
output value
(before
Limits)+current
period control
increment dMV
Proportion band Operation
PB TRUE Refer to 2.1.8
size Parameter
Operation
TI Integral time (s) TRUE Refer to 2.1.8
Parameter
PID Param When TD=0,
Settings Operation suppress
TD Derivative time (s) TRUE
Parameter derivation action
Refer to 2.1.8
Note1,
Derivative filter Operation Refer to 2.2.1
KD TRUE Note2, Note3, Note4
coefficient Parameter
PV HH limit alarm Operation
PVHH TRUE Refer to 2.1.4
value Parameter
PV H limit alarm Operation
PVH TRUE Refer to 2.1.2
value Parameter
PV L limit alarm Operation
PVL TRUE Refer to 2.1.2
value Parameter
Error Monitoring
EI Error - Refer to 2.1.4
Indication Parameter
Refer to 2.1.3
SV for loop closed Operation
SV SV TRUE When select SV,
control Parameter
set value comes
from SV.
Extended range
HORLI Configuration
maximum - -
Extended M Parameter
percentage
Range
Settings Extended range
LORLI Configuration
minimum - -
M Parameter
percentage
98
Function Block Reference
Application
Name Description Upload Properties
Reference
Suppress module
Alarm alarm, Operation
AOF TRUE Refer to 2.1.6
Enabled On=prohibit to Parameter
and display alarm
Suppress Alarm
ENALM Alarm enable TRUE Refer to 2.1.6
Parameter
Set as ON at the
OOS mode setting
OOS SWOO Operation first time of
switch TRUE
Settings S Parameter function block
(ON=OOS mode)
downloading
99
Function Block Reference
PV HH alarm value
Preferenc Alarm setting of loop PV
e (%) HH PVHH 100.000 [SVSCL,SVSCH] (select alarm
enabled, or it is
disabled).
100
Function Block Reference
L alarm value
setting of loop
L PVL 10.000 [SVSCL,SVSCH] PV(select alarm
enabled, or it is
disabled)
LL alarm value
setting of loop PV.
LL PVLL 0.000 [SVSCL,SVSCH] (select alarm
enabled, or it is
disabled)
PV Process value
HYS PVHYS 0.000 -
alarm hysteresis
SV
Limits
(%)
H value setting of
loop MV (select
alarm enabled, or
[MVSCL,MVSCH
SVH MVH 100.000 it is disabled).
]
Note: MV limit is
not affected by
MV
selection.
Limits
(%) L value setting of
loop MV (select
alarm enabled, or
[MVSCL,MVSCH
SVL MVL 0.000 it is disabled).
]
Note: MV limit is
not affected by
selection.
Read-only. EI=PV
EI Alarm -SV(select alarm
(%) EI EI 0.000 -
enabled, or it is
disabled).
Selecting the
PEI
- - - positive deviation
(selected)
alarm is enabled.
101
Function Block Reference
Selecting the
NEI
- - - negative deviation
(selected)
alarm is enabled.
Deviation alarm
DL DL 100.000 DL
SV
Deviation alarm
DLHYS DLHYS 0.000 -
hystersis value
Loop proportional
PB(%) PB 100.000 Not less than 0
parameter SV
PID
Paramet Loop integral time
TI(s) TI 20.000 Not less than 0
er parameter SV
Loop differential
TD(s) TD 0.000 Not less than 0
time parameter SV
Differenti
Others Incomplete
al Filter
KD(S) KD 10.000 Not less than 0 integral filter
Coefficie
coefficient
nt
Input
Read-only, can be
Compen
IA IA 0.000 - set in configuration
sation
or program
(%)
Output
Read-only, can be
Compen
OA OA 0.000 - set in configuration
sation
or program
(%)
Refer to 2.3.3.
102
Function Block Reference
The input of LEPID is bias. The function block provides three modes which are OOS, TR and
AUTO. It connects with electric power manual instrument but not AO, and is special for electric
power project.
Please refer to the Section 1 Overview and 2.1 Basic Process of Control Function Block before
using the function block.
Application
Name Description Upload Properties
Reference
103
Function Block Reference
Application
Name Description Upload Properties
Reference
Used for data
displayed on
MV decimal digits Configuration function block
MVDLEN -
[0,5] Parameter panel (equal
to 3 as
default).
Value range
Operation
MVH MV H limit value TRUE [MVSCL,MVS
Parameter
CH]
Value range
Operation
MVL MV L limit value TRUE [MVSCL,MVS
Output Parameter
CH]
Limits
MVoutput rate
variety limit value.
Used to prevent
Operation
DMVLIM the MV from TRUE Refer to 2.1.6
Parameter
overlarge
modification in a
short time.
Extended Input Pin EI Bias input - Input Pin Refer to 2.1.4
Parameters
Connect to
measuring
Track input value
point AI
TV (In track mode, - Input Pin
Related
MV=TV )
parameter:
SWTR
Upstream
interlock
Track switch: condition
SWTR OFF= not - Input Pin input,
track ,ON= track Related
parameter:
TV
Connect to
measuring
point AI
(feedforward
signal),
Related
Output parameter:
compensation, OK, OB
OA used for - Input Pin Compensate
feedforward for PID
control calculated
result, MV=
MV of last
period + PID
output
variable+OA
increment
104
Function Block Reference
Application
Name Description Upload Properties
Reference
Connect to
measuring
point AI,
Input Refer to 2.1.2
compensation Related
value, used to parameter:
IA improve the - Input Pin IK, perform
controllability of input
process with long compensation
deadband time from I to EI,
after
compensation
, EIR=EI+IA.
Upstream
output,
enabled when
function block
MV lock increase is automatic
(MV cannot or cascade
SWINC - Input Pin
Increase), ON= when lock
lock increase increase
conflicts with
MV Limits,
MV Limits has
the priority.
Connect the
upstream
MV lock decrease
output.
(MV cannot
SWDEC - Input Pin enabled when
decrease), ON=
function block
Lock decrease
is automatic
or cascade
Connect to
electric
manual
instrument In
Output PID operation
- Output Pin track and
pin output value
auto modes, it
Output Pin must be in the
range of MVH
and MVL
MV H limit alarm
MVHIND - Output Pin Refer to 2.1.6
indication
MV L limit alarm
MVLIND - Output Pin Refer to 2.1.6
indication
Proportion band Operation
PB TRUE Refer to 2.1.8
size Parameter
Operation
TI Integral time (s) TRUE Refer to 2.1.8
Parameter
TD =0,
PID Param Operation Suppress
TD Derivative time (s) TRUE
Settings Parameter deviation
Action
Refer to
general PID
Derivative filter Operation
KD TRUE function block
coefficient Parameter Note1, Note2, Note3,
Note4
105
Function Block Reference
Application
Name Description Upload Properties
Reference
Integral excise
coefficient. when
EI > EA, excise
coefficient, when
Related
EI< EA, excising Operation
EA TRUE parameter:
coefficient is Parameter
DK
disabled, used for
prevent MV
change from
overlarge
Proportion Related
modified value Operation parameter:
DK TRUE
when integral Parameter EA
Note2
excising Refer to
Precise controlled Operation Note1
MDB TRUE Refer to
Advanced zone range Parameter
Param Precise controlled Operation
MK TRUE Refer to Note1
Setting zone coefficient Parameter
Input EI Operation
EDB TRUE Refer to Note3
Deadband Parameter
Refer to Note3,
Output EI Operation can be
MVDB TRUE
Deadband Parameter modified in
supervision
Integral suppress
switch, when Operation
STOPI TRUE Refer to 2.1.4
STOPI=ON, stop Parameter
integral action
Proportion
suppress switch,
Operation
STOPP when TRUE Refer to 2.1.4
Parameter
STOPP=ON, stop
integral action
DMVHIN MV positive rate Monitoring
- Refer to 2.1.6
Alarm D limit indication Parameter
DMVLIN MV negative rate Monitoring
- Refer to 2.1.6
D limit indication Parameter
Extended range
Configuration
HORLIM maximum - Refer to 2.1.5
Extended Parameter
percentage
Range
Settings Extended range
Configuration
LORLIM minimum - Refer to 2.1.5
Parameter
percentage
Suppress module
alarm, Operation
AOF TRUE Refer to 2.1.6
Alarm On=prohibit to Parameter
Enable and display alarm
Suppress Alarm
ENALM Alarm enable TRUE Refer to 2.1.6
Parameter
FLAG Flag - Output Pin Refer to 2.1.6
Set as ON at
OOS mode setting the first time
OOS Operation
SWOOS switch (ON= OOS TRUE of function
Settings Parameter
mode) block
downloading
106
Function Block Reference
When Mdb>0 and the absolute value of bias after compensation is within precise control zone
(-MDB, MDB), ratio coefficient KP will be corrected as KP=KP*MK.
Integral will not work if the absolute value of bias after compensation is greater than
integral-separated coefficient. Ratio coefficient KP will be corrected according to set ratio
correction, which will be KP=KP+DK.
Note 3:
Input deadband
When fabs (EI) < EDB, dMV (the variation of MV)=0, stop the change of MV. When EI>DB, output
the PID operation result.
Output deadband
Only when cumulative variation of dMV is over output deadband, will MV changes. Otherwise it will
maintain. For example, if deadband is set “1”, only when the cumulative variation of dMV is over
“1” (eg: change from 30 to 31), will MV changes.
107
Function Block Reference
Panel
Initial
Name Paramete Value Range Application Instruction
Value
r Name
H value setting of loop
MV (select alarm
MV Limit 100.00 [MVSCL,MVSC enabled, or it is
Preference H MVH
Settings 0 H] disabled).
Note: MV limit is not
affected by selection.
108
Function Block Reference
Panel
Initial
Name Paramete Value Range Application Instruction
Value
r Name
L value setting of loop
MV (select alarm
[MVSCL,MVSC enabled, or it is
L MVL 0.000
H] disabled).
Note: MV limit is not
affected by selection.
Positive Selecting positive
Rate - - - velocity alarm is
(selected) enabled.
MV Speed Limit Negative Selecting negative
Settings Rate - - - velocity alarm is
(selected) enabled.
100.00 Loop MV velocity limit
Limit DMVLIM -
0 SV
100.00 Loop proportional
PB(%) PB Not less than 0
0 parameter SV
PID
Parameterizati Loop integral time
TI(s) TI 20.000 Not less than 0
on parameter SV
Loop differential time
TD(s) TD 0.000 Not less than 0
parameter SV
Derivation Differential filter
KD(s) KD(s) 10.000 -
Filter Coef coefficient (s)
Read-only, track input
Track Value TV TV 0.000 -
value(%)
When the absolute
value of EI is less than
error dead zone band
EDB, dMV (MV
Others Input Error variable)= 0, stop the
EDB EDB 0.000 -
Deadzone operation MV
modification. When EI
is larger than DB,
output based on
calculation result.
Integral EA EA 0.000 - Range parameter SV
Isolation Coefficient parameter
Coefficient DK DK 0.000 -
SV
Run Selecting proportional
STOPP √ -
Proportional (selected) action is enabled.
Action Selecting proportional
Stop STOPP - -
action is disabled.
Read-only, can be set
Input
Value (IA) IA 0.000 - in configuration or
Compensation
program
can be modified in
Output Error
MVDB MVDB 0.000 - supervision
Deadzone
Refer to 2.1.6
can be modified in
Precise MDB MDB -
supervision
Controlled
Zone Settings can be modified in
MK MK -
supervision
109
Function Block Reference
Panel
Initial
Name Paramete Value Range Application Instruction
Value
r Name
Selecting integral
Stop STOPI - -
action is disabled.
Output Read-only, can be set
Compensation Value (OA) OA 0.000 - in configuration or
(%) program
2.6.3 Flag
Table 2-25 Flag
Flag Instruction
D0 Disabled
D3 Tricking (TR)
D4 Automatic (AUTO)
D14 MV High Limit Alarm (MVH)
D15 MV Low Limit Alarm (MVL)
Alarm for Range High/Low Limit
D18
Reversal (REVSCL)
D19 Alarm for Config Error (CFGERR)
Alarm for MV Positive Velocity
D22
Amplitude Limiting (DMVH)
Alarm for MV Negative Velocity
D23
Amplitude Limiting (DMVL)
D25 Alarm Suppression (AOF)
Refer to 2.3.3.
The functions are the same with those of PID function block except the followings ones:
For there is no BKIN, it is like BKIN=MV of PID function block in the program, means PID_TP can
only be the most downstream block of the control but not the upstream block. Connect the DOOUT
with DO at last to control duty ratio of output.
A more output BOOL whose duty ratio be calculated by current MV and pulse period.
This function block can be used in the condition in which temperature object is controlled by duty
ratio.
110
Function Block Reference
Please refer to the 0 and 2.1 before using the function block.
Application
Name Description Upload Properties
Reference
Basic The same as
Configuration
Parameters MVSCH MV high scale - MV actual
Parameter
value H limit.
The same as
Configuration
MVSCL MV low scale - MV actual
Parameter
value L limit.
The same as
Configuration
SVSCH SV high scale - PV actual
Parameter
value H limit.
The same as
Configuration
SVSCL SV low scale - PV actual
Parameter
value L limit.
Set in the
function block
Configuration
SVEU SV engineer unit - properties
Range Parameter
settings
Settings interface.
Set in the
function block
Configuration
MVEU MV engineer unit - properties
Parameter
settings
interface.
Used for data
displayed on
SV decimal digits Configuration
SVDLEN - function block
[0,5] Parameter
panel (equal to
3 as default).
Used for data
displayed on
MV decimal digits Configuration
MVDLEN - function block
[0,5] Parameter
panel (equal to
3 as default).
Limits Value range
Operation
MVH MV H limit value TRUE [MVSCL,MVS
Parameter
CH]
Value range
Operation
MVL MV L limit value TRUE [MVSCL,MVS
Parameter
CH]
Value range
Operation
SVH SV H limit value TRUE [SVSCL,SVSC
Parameter
H]
111
Function Block Reference
Application
Name Description Upload Properties
Reference
Value range
Operation
SVL SV L limit value TRUE [SVSCL,SVSC
Parameter
H]
MV output rate
variety limits
value. Used to
Operation
DMVLIM prevent the MV TRUE Refer to 2.1.6
Parameter
from overlarge
modification in a
short time.
Direct/Reverse
switch. SV is not
changed, the MV
increases with the OFF=Direct
Direct/Rever
increasing of PV Operation action,
se Switch SWPN TRUE
in direct action, Parameter ON=Reverse
Settings
and decreases action
with the
increasing of PV
in reverse action.
Connect to
Extended BKOUT of
Parameters BKINERR Feedback input - Input Pin
downstream
block ERR
Process value of Connect to
PV loop closed - Input Pin measuring
control process point AI
Connect to
Base Input outer loop
CSV Cascade - Input Pin
Pin Settings control value
MV
Connect to
measuring
Output
point AI
compensation,
(feedforward
OA used for - Input Pin
signal),
feedforward
Related
control
parameter:
OK, OB
Advance PID executor
Connect to
Input Pin feedback value ,
MF - Input Pin measuring
Settings used for
point AI
monitoring
Input Connect to
compensation measuring
value, used to point AI, Refer
IA improve the - Input Pin to 2.1.2
controllability of Related
process with long parameter: IK,
deadband time IB
Program manual
Connect the
and auto control
upstream
switch,
output
PSWAM OFF=program - Input Pin
Enabled when
manual control,
MAN_OPT=O
ON=program auto
N
control
112
Function Block Reference
Application
Name Description Upload Properties
Reference
Connect the
Program auto/
upstream
cascade control
PSWSV - Input Pin output
switch, OFF= SV,
enabled when
ON=CSV
SV_OPT=ON
Manual-automatic
control source
switch, ON= Connect the
manual-automatic upstream
selection output
MAN_OP
controlled by - Input Pin Related
T
PSWAM, OFF= parameter:
manual-automatic PSWAM,
selection SWAM
controlled by
SWAM
Auto/Cascade
control source
selection, ON= Connect the
auto/cascade upstream
selection output
SV_OPT controlled by - Input Pin Related
PSWSV, OFF= parameter:
auto/cascade PSWSV,
selection SWSV
controlled by
SWSV
Connect the
upstream
MV lock increase
output.
(MV cannot
SWINC - Input Pin Enabled when
Increase), ON=
the function
lock increase
block is auto
or cascade.
Connect to
measuring
point AI,
Anti-integral
Refer to 2.1.4
saturation input,
RRL - Input Pin Related
used for control
parameter:
overshoot
BKIN;
Integral Limits
Action
Connect the
upstream
MV lock decrease
output.
(MV cannot
SWDEC - Input Pin enabled when
decrease), ON=
function block
Lock decrease
is automatic or
cascade
MV holds the
current output Connect to
HOLD value, ON= hold - Input Pin upstream
the current output output,
value
BOOL,
Output Pin DOOUT Pulse output - Output Pin Connect the
tag DO
113
Function Block Reference
Application
Name Description Upload Properties
Reference
Connect to AO
PID operation
MV - Output Pin tag
output value Note1
Refer to
Connect to the
BKIN of
Upstream
Feedback output
BKOUT - Output Pin Block,
value
Related
parameter:
BK_OPT
Connect to the
BKOUTE Feedback status BKINERR of
- Output Pin
RR value Upstream
Block
BKOUT value
Related
switch (ON=track Configuration
BK_OPT - parameter:
PV, OFF=track Parameter
BKOUT
SV)
Proportion band Operation
PB TRUE Refer to 2.1.8
size Parameter
Operation
TI Integral time (s) TRUE Refer to 2.1.8
Parameter
When TD=0,
suppress
Operation
TD Derivative time (s) TRUE derivation
PID Param Parameter
action Refer to
Settings 2.1.8
Refer to
general PID
Derivative filter Operation
KD TRUE function block
coefficient Parameter Note1, Note2, Note3,
Note4
Operation Note1
TP Pulse Circle (s) TRUE Refer to
Parameter
Operator Monitoring
MODE Work mode - Refer to 2.1.1
Command Parameter
Standby work Monitoring
IMODE - Refer to 2.1.1
mode Parameter
ON=auto return,
MODE_O Configuration
OFF=manual - Refer to 2.1.1
PT Parameter
return
Manual and auto
Enabled when
switch: Operation
SWAM - MAN_OPT=O
OFF=manual, Parameter
FF
ON=auto
Auto/ cascade
selection: Operation Enabled when
SWSV -
OFF=auto, Parameter SV_OPT=OFF
ON=cascade
Whether to equal
Related
to preset MV Operation
SWMMV TRUE parameter:
value when switch Parameter
MMV
to manual status
Preset MV value Operation Enabled when
MMV TRUE
(switch to manual) Parameter SWMMV=ON
114
Function Block Reference
Application
Name Description Upload Properties
Reference
Whether to equal
Related
to present MV Operation
SWPMV TRUE parameter:
value when switch Parameter
PMV
to auto status
Operation Enabled when
PMV Preset MV TRUE
Parameter SWPMV=ON
SV for loop closed Operation
SV TRUE Refer to 2.1.3
control Parameter
Operator Output value=
Manual output Operation
Data MANMV - MANMV in
value Parameter
manual mode
Monitoring
EI Error - Refer to 2.1.4
Parameter
PV HH limit alarm Operation
PVHH TRUE Refer to 2.1.2
value Parameter
PV H limit alarm Operation
PVH TRUE Refer to 2.1.2
value Parameter
PV L limit alarm Operation
PVL TRUE Refer to 2.1.2
value Parameter
PV LL limit alarm Operation
PVLL TRUE Refer to 2.1.2
value Parameter
Process value Operation
PVHYS TRUE Refer to 2.1.2
alarm hysteresis Parameter
Deviation alarm Operation
DL TRUE Refer to 2.1.4
set value Parameter
Input Alarm Deviation alarm Operation
DLHYS TRUE Refer to 2.1.4
Settings hystersis value Parameter
Deviation filter Operation
KSV TRUE Refer to 2.1.4
coefficient Parameter
Deviation filter Operation
TSV TRUE Refer to 2.1.4
time constant(s) Parameter
Valve position
Operation
NMFLIM negative error TRUE Refer to 2.1.6
Parameter
thresholds
Valve position
Operation
PMFLIM positive error TRUE Refer to 2.1.6
Parameter
thresholds
Valve position
Operation
TMFHYS error alarm TRUE Refer to 2.1.6
Parameter
hysteresis time
Bypass PID
When cascade
operation, when
Advance adjusting,
BYPASS=ON,
Calculation Operation used to excise
BYPASS excise PID TRUE
Settings Parameter inner loop
calculation, switch
when it fails
SV to MV directly
Refer to 2.1.4
for output
Proportion
suppress switch,
Operation
STOPP when TRUE Refer to 2.1.4
Parameter
STOPP=ON, stop
integral action
115
Function Block Reference
Application
Name Description Upload Properties
Reference
Integral suppress
switch, when
Operation
STOPI STOPI=ON, TRUE Refer to 2.1.4
Parameter
stop integral
action
Enable switch,
Operation Related
SWDB when SWDB=ON, TRUE
Parameter parameter: DB
deadband enable
Deadband band Operation Enable when
DB TRUE
size Parameter SWDB=ON
Deadband band Operation
DBHYS TRUE -
hysteresis Parameter
Non-linear gain
Operation
GW range non-linear TRUE Refer to 2.1.4
Parameter
gain range
Nonlinear gain Operation
KN TRUE Refer to 2.1.4
coefficient[0,1.0] Parameter
Non-linear gain
selection switch,
switch the relation Related
between error and parameters:
output change GW, PB and
value to nonlinear. KN When
NGN_OP Used for control Configuration
- NGN_OPT=
T when proportional Parameter
ON; GW and
gain needs
PB when
nonlinear change.
NGN_OPT=
OFF=Error square
root function, OFF
ON=Gap action
function
Integral excise
coefficient. when
EI > EA, excise
coefficient, when
EI< EA, excising Operation Related
EA TRUE
coefficient is Parameter parameter: DK
disabled, used for
prevent MV
change from
overlarge
Proportion
modified value Operation Related
DK TRUE
when integral Parameter parameter: EA
excising
PID control
algorithm
selection switch.
PID_OPT =0,
perform standard
OUT_OP PID algorithm. Configuration Related
-
T PID_OPT=1, Parameter parameter: MV
perform PV D_PI
algorithm.
PID_OPT=2,
perform PV PD_I
algorithm
116
Function Block Reference
Application
Name Description Upload Properties
Reference
PID type
Refer to
selection: Configuration Note1, Note2,
PID_OPT - 2.1.1
0=PID,1=D_PI,2= Parameter Note3, Note4
PD_I
PVHH alarm Monitoring
PVHHIND - Refer to 2.1.6
indication Parameter
PV H Limit alarm Monitoring
PVHIND - Refer to 2.1.6
indication Parameter
PV L limit alarm Monitoring
PVLIND - Refer to 2.1.6
indication Parameter
PV LL limit alarm Monitoring
PVLLIND - Refer to 2.1.6
indication Parameter
MV H limit alarm Monitoring
MVHIND - Refer to 2.1.6
indication Parameter
MV L limit alarm Monitoring
MVLIND - Refer to 2.1.6
indication Parameter
SV H limit alarm Monitoring
SVHIND - Refer to 2.1.6
indication Parameter
Alarm SV L limit alarm Monitoring
SVLIND - Refer to 2.1.6
indication Parameter
Positive deviation Monitoring
PEIIND - Refer to 2.1.6
alarm indication Parameter
Negative
Monitoring
NEIIND deviation alarm - Refer to 2.1.6
Parameter
indication
DMVHIN MV positive rate Monitoring
- Refer to 2.1.6
D limit indication Parameter
MV negative rate Monitoring
DMVLIND - Refer to 2.1.6
limit indication Parameter
Valve position
Monitoring
NMFIND error negative - Refer to 2.1.6
Parameter
alarm indication
Valve position
Monitoring
PMFIND error positive - Refer to 2.1.6
Parameter
alarm indication
Input Refer to 2.1.2
Operation
IK compensation TRUE Related
Parameter
gain parameter: IA
Input Refer to 2.1.2
Operation
IB compensation TRUE Related
Parameter
Compensati bias value parameter: IA
on Settings Output Refer to 2.1.2
Operation
OK compensation TRUE Related
Parameter
gain parameter: OA
Output Refer to 2.1.2
Operation
OB compensation TRUE Related
Parameter
bias value parameter: OA
117
Function Block Reference
Application
Name Description Upload Properties
Reference
Set MV
manual slow
increase/decre
ase
percentage in
MV manual slow
Operation function block
SMV increase/decreas TRUE
Parameter properties
e value (%)
setting,
SMV≤FMV
Related
parameter:
MVSCH
Set MV
manual fast
increase/decre
ase
MV manual fast percentage in
Operation
FMV increase/decreas TRUE function block
Parameter
e value (%) properties
setting
Related
Fase/Slow/In parameter:
crease/Decr MVSCL
ease Set SV manual
Settings slow
increase/decre
ase
percentage in
SV slow
Operation function block
SSV increase/decreas TRUE
Parameter properties
e value (%)
setting
SSV≤FSV,
Related
parameter:
SVSCH
Set SV manual
fast
increase/decre
ase
SV fast percentage in
Operation
FSV increase/decreas TRUE function block
Parameter
e value (%) properties
setting
Related
parameter:
SVSCL
Extended range
Configuration
HORLIM maximum - Refer to 2.1.5
Extended Parameter
percentage
Range
Settings Extended range
Configuration
LORLIM minimum - Refer to 2.1.5
Parameter
percentage
118
Function Block Reference
Application
Name Description Upload Properties
Reference
SV ramp function
switch. When
Related
changing set
parameter:
value, incline it to
RAMP.
SV according to Operation
SWRAMP TRUE Enable when
the set RAMP (s). Parameter
in automatic or
OFF=SV ramp
cascade
function off,
mode.
ON=SV ramp
function on
Related
SV Advance Operation
RAMP Ramp coefficient TRUE parameter:
Settings Parameter
SWRAMP
Track PV switch
enable/disable:
OFF=not track,
ON=track. If PV>
SVH/ SVL, SV=
SVTR_O Configuration
range limit. Used - Refer to 2.1.3
PT Parameter
to prevent the
output MV from
interference when
changing the
control mode.
Suppress module
alarm,, Operation
AOF TRUE Refer to 2.1.6
Alarm On=prohibit to Parameter
Enabled and display alarm
Suppress Alarm
ENALM Alarm enable TRUE Refer to 2.1.6
Parameter
FLAG Flag - Output Pin Refer to 2.1.6
Set as ON at
OOS mode
Operation the first time of
SWOOS setting switch TRUE
Parameter function block
(ON= OOS mode)
downloading
Related
OOS mode output Operation parameter:
OOSVAL TRUE
OOS value Parameter OOS_OPT=O
Settings N
OOS mode output
value type. when
OOS_OPT =ON,
OOS_OP Configuration
MV=OOSVAL, - Refer to 1.1.1
T Parameter
when OOS_OPT
=OFF, maintain
the MV
119
Function Block Reference
Duty ratio is calculated from the percentage of current MV according to pulse period TP. For
example, if MV=65, MVSCH=100, MVSCL=0, then MV%=65%. The ON time of DOOUT is
65%*TP, while OFF time is (1-65%)*TP.
120
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
HH alarm value
PV setting of loop PV
Preference Alarm HH PVHH 100.000 [SVSCL,SVSCH] (select alarm
(%) enabled, or it is
disabled).
121
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
H alarm value
setting of loop
H PVH 90.000 [SVSCL,SVSCH] PV(select alarm
enabled, or it is
disabled)
L alarm value
setting of loop
L PVL 10.000 [SVSCL,SVSCH] PV(select alarm
enabled, or it is
disabled)
LL alarm value
setting of loop PV.
LL PVLL 0.000 [SVSCL,SVSCH] (select alarm
enabled, or it is
disabled)
Hystere PV Process value
PVHYS 0.000 -
sis alarm hysteresis
H value setting of
loop SV (select
alarm enabled, or it
H SVH 40.000 [SVSCL,SVSCH] is disabled).
Note: SV limit is not
affected by
SV selection.
Limits
(%) L value setting of
loop SV (select
alarm enabled, or it
L SVL 0.000 [SVSCL,SVSCH] is disabled).
Note: SV limit is not
affected by
selection.
H value setting of
loop MV (select
alarm enabled, or it
H MVH 100.000 [MVSCL,MVSCH] is disabled).
Note: MV limit is not
affected by
MV selection.
Limits
(%) L value setting of
loop MV (select
alarm enabled, or it
L MVL 0.000 [MVSCL,MVSCH] is disabled).
Note: MV limit is not
affected by
selection.
Read-only. EI=PV-
EI Alarm Deviati SV(select alarm
(%) EI 0.000 -
on (EI) enabled, or it is
disabled).
PEI Selecting the
(select - - - positive deviation
ed) alarm is enabled.
NEI Selecting the
(select - - - negative deviation
ed) alarm is enabled.
122
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
± (Range H-
DL DL 100.000 Deviation alarm SV
Range L)
Deviation alarm
DLHYS DLHYS 0.000 -
hystersis value
Selecting the
PMF PMFLIM 100.000 - positive deviation
alarm is enabled.
MF
Alarm Selecting the
(%) NMF NMFLIM 100.000 - negative deviation
alarm is enabled.
Delay
Delay (s) 0.000 - Lag time SV
(s)
DMVH Selecting positive
(select - - - velocity alarm is
MV ed) enabled.
Velocity DMVL Selecting negative
Limits (select - - - velocity alarm is
(%) ed) enabled.
DMVLI Loop MV velocity
DMVLIM 100.000 -
M limit SV
Loop proportional
PID PB(%) PB 100.000 Not less than 0
parameter SV
PID
Coefficie Loop integral time
TI(s) TI 20.000 Not less than 0
nt parameter SV
Loop differential
TD(s) TD 0.000 Not less than 0
time parameter SV
Incompl
ete
Differenti Incomplete integral
KD(s) KD(s) 10.000 Not less than 0
al filter coefficient
coefficie
nt
Efficien
Selecting deadband
cy
SWDB - - parameter is
(select
enabled.
ed)
Invalid Selecting deadband
Deadba (select SWDB √ - parameter is
nd (%) ed) disabled.
Deadband band
DB DB 0.000 -
size
Deadband band
DBHYS DBHYS 0.000 [0,DB]
hysteresis
Non-line Gap Read-only,
ar Gain Action non-linear gain
NGN_OPT - -
(%) (select selection switch
ed) ON= Gap Action
Read-only,
Error
non-linear gain
Square
NGN_OPT √ - selection switch
(select
OFF=Square Root
ed)
Action
Range Nonlinear gain
GW 0.000 [0,1.0]
(GW) action range
123
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
Nonlinear gain
KN KN 1.000 -
coefficient
Range parameter
Integral EA EA 0.000 -
SV
Separati
on (%) Coeffici Coefficient
Coefficient 0.000 -
ent parameter SV
Efficien
cy Selecting SV ramp
SWRAMP - -
(select is enabled.
SV ed)
Ramp
Action Invalid
Selecting SV ramp
(%) (select SWRAMP √ -
is disabled.
ed)
Coefficient
RAMP RAMP 100.000 -
parameter SV
Direct
Selecting direct
(select SWPN - -
action is enabled.
ed)
Direct/R
everse Revers
e Selecting reverse
SWPN √ -
(select action is enabled.
ed)
Run Selecting
(select STOPP √ - proportional action
Scale ed) is enabled.
Action Selecting
Stop STOPP - - proportional action
is disabled.
Selecting integral
Run STOPI √ -
Integral action is enabled.
Action Selecting integral
Stop STOPI - -
action is disabled.
The modification of
function block panel
is enabled for
Run BYPASS √ -
function block
properties interface
PID when debugging.
Operatio
n The modification of
function block panel
is disabled for
Bypass BYPASS - -
function block
properties interface
when debugging.
Read-only, can be
Others IA IA 0.000 - set in configuration
Input or program
Compen
sation Input compensation
IK IK 1.000 -
(%) gain
Input compensation
IB IB 0.000 -
bias value
Output Read-only, can be
Compen OA OA 0.000 - set in configuration
sation or program
124
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
(%) Output
OK OK 1.000 -
compensation gain
Output
DB DB 0.000 - compensation bias
value
Deviation filter
Set EI KSV KSV 1.000 0~100
coefficient
Alarm
Filter Deviation filter time
TSV (s) TSV (s) 0.000 0~1000s
constant(s)
Read-only, can be
Proces
BK_OPT - - set in configuration
Feedbac s Value
or program
k Output
Track Read-only, can be
Set
BK_OPT √ - set in configuration
Value
or program
Read-only, can be
Track SVTR_OPT √ - set in configuration
Set or program
Value
Track Read-only, can be
Untrack SVTR_OPT - - set in configuration
or program
Read-only, can be
Panel MAN_OPT √ - set in configuration
Man or program
Auto
Cntrl Src Read-only, can be
Progra
MAN_OPT - - set in configuration
m
or program
Read-only, can be
Panel SV_OPT - - set in configuration
Cascade or program
Cntrl Src Read-only, can be
Progra
SV_OPT √ - set in configuration
m
or program
Output Output
TP 10.000 - Read-only
(s) (s)
2.7.3 Flag
Table 2-28 Flag List
Flag Instruction
D0 Tag Disable (OOS)
D1 Manual Initialize (IMAN)
D2 Manual (MAN)
D4 Cascade(AUTO)
D8 PV HH Limit Alarm (PVHH)
D9 PV High Limit Alarm (PVH)
D10 PV LL Limit Alarm (PVLL)
D11 PV Low Limit Alarm (PVL)
D12 SV High Limit Alarm (SVH)
D13 SV Low Limit Alarm (SVL)
D14 MV High Limit Alarm (MVH)
125
Function Block Reference
Flag Instruction
D15 MV Low Limit Alarm (MVL)
D16 PEI Alarm (PEI)
D17 NEI Alarm (NEI)
Alarm for Range High/Low Limit Reversal
D18
(REVSCL)
D19 Alarm for Configuration Error (CFGERR)
Alarm for MV Positive Velocity Amplitude
D22
Limiting (DMVH)
Alarm for MV Negative Velocity Amplitude
D23
Limiting (DMVL)
D27 Alarm for Valve Position NEI (NMF)
D28 Alarm for Valve Position PEI (PMF)
Pulse PI control function block adopts the "Control-Maintain-Control" mode, which is mainly used
to fields with long deadband or control fields according to sampling data of analyzer unit.
Please refer to the Section 1 Overview and 2.1 Basic Process of Control Function Block before
using the function block.
Application
Name Description Upload Properties
Reference
126
Function Block Reference
Application
Name Description Upload Properties
Reference
Set in the
function block
Configuratio
MVEU MV engineer unit - properties
n Parameter
settings
interface.
Used for data
displayed on
SV decimal digits Configuratio
SVDLEN - function block
[0,5] n Parameter
panel (equal to
3 as default).
Used for data
displayed on
MV decimal digits Configuratio
MVDLEN - function block
[0,5] n Parameter
panel (equal to
3 as default).
Value range
Operation
MVH MV H limit value TRUE [MVSCL,MVSC
Parameter
H]
Value range
Operation
MVL MV L limit value TRUE [MVSCL,MVSC
Parameter
H]
Value range
Operation
SVH SV H limit value TRUE [SVSCL,SVSC
Parameter
Limits H]
Value range
Operation
SVL SV L limit value TRUE [SVSCL,SVSC
Parameter
H]
MV output rate
variety limit value.
Used to prevent the Operation
DMVLIM TRUE Refer to 2.1.6
MV from overlarge Parameter
modification in a
short time.
Direct/Reverse
switch. SV is not
changed, the MV
Direct/Re OFF=Direct
increases with the
verse Operation action,
SWPN increasing of PV in TRUE
Switch Parameter ON=Reverse
direct action, and
Settings action
decreases with the
increasing of PV in
reverse action.
Base Connect to
Extended BKOUT of
Input Pin BKIN Feedback input - Input Pin
Parameters downstream
Settings
block
Connect to
Feedback status BKOUT of
BKINERR - Input Pin
input downstream
block ERR
Process value of Connect to
PV loop closed control - Input Pin measuring point
process AI
Connect to
outer loop
CSV Cascade - Input Pin
control value
MV
127
Function Block Reference
Application
Name Description Upload Properties
Reference
Connect to
measuring point
Track input value
AI
TV (In track mode, - Input Pin
Related
MV=TV )
parameter:
SWTR
Upstream
Track switch: interlock
SWTR OFF=not track, - Input Pin condition input,
ON=track Related
parameter: TV
Connect to
measuring point
Output
AI (feedforward
compensation,
OA - Input Pin signal),
used for
Related
feedforward control
parameter: OK,
OB
Connect the
upstream
output.
Note: when up
jumping occurs
Redundancy is
to CSW, if it is in
Advance required in the case
external startup
Input Pin of control period TP
CSW - Input Pin mode, control
Settings used to control
and count the
sampling PI and TP
TC time, after
is less than 0.
TC time, set
CSW as OFF,
and the output
will be
maintained.
PID executor Connect to
MF feedback value , - Input Pin measuring point
used for monitoring AI
Connect to
Input compensation
measuring point
value, used to
AI, Refer to
improve the
IA - Input Pin 2.1.2
controllability of
Related
process with long
parameter: IK,
deadband time
IB
Program manual
and auto control
Connect the
switch,
upstream output
PSWAM OFF=program - Input Pin
Enabled when
manual control,
MAN_OPT=ON
ON=program auto
control
Program auto/ Connect the
cascade control upstream output
PSWSV - Input Pin
switch, OFF= SV, enabled when
ON=CSV SV_OPT=ON
128
Function Block Reference
Application
Name Description Upload Properties
Reference
Manual-automatic
control source
Connect the
switch, ON=
upstream output
manual-automatic
Related
MAN_OPT selection controlled - Input Pin
parameter:
by PSWAM, OFF=
PSWAM,
manual-automatic
SWAM
selection controlled
by SWAM
Auto/Cascade
control source
selection, ON= Connect the
auto/cascade upstream output
SV_OPT selection controlled - Input Pin Related
by PSWSV, OFF= parameter:
auto/cascade PSWSV, SWSV
selection controlled
by SWSV
Connect the
upstream
MV lock increase
output. enabled
(MV cannot
SWINC - Input Pin when function
Increase), ON=
block is
lock increase
automatic or
cascade
Connect to
measuring point
Anti-integral AI, Related
saturation input, parameter:
RRL - Input Pin
used for control BKIN;
overshoot Refer to 2.1.4
Integral Limits
Action
Connect the
upstream
MV lock decrease
output. enabled
(MV cannot
SWDEC - Input Pin when function
decrease), ON=
block is
Lock decrease
automatic or
cascade
MV holds the
current output Connect to
HOLD value, ON= hold - Input Pin upstream
the current output output,
value
Output Connect to
PID operation
Pin MV - Output Pin electric manual
output value
instrument
Connect to the
BKIN of
Feedback output Upstream
BKOUT - Output Pin
value Block, Related
parameter:
BK_OPT
Connect to the
BKOUTER Feedback status
- Output Pin BKINERR of
R value
Upstream Block
129
Function Block Reference
Application
Name Description Upload Properties
Reference
BKOUT value Related
Configuratio
BK_OPT switch (ON=track - parameter:
n Parameter
PV, OFF=track SV) BKOUT
Proportion band Operation
PB TRUE Refer to 2.1.8
size Parameter
Operation
PID TI Integral time (s) TRUE Refer to 2.1.8
Parameter
Param
Settings Operation Note1
TC Control Time(s) TRUE Refer to
Parameter
Operation Note1
TP Control Cycle(s) TRUE Refer to
Parameter
Monitoring
MODE Work mode - Refer to 2.1.1
Parameter
Standby work Monitoring
IMODE - Refer to 2.1.1
mode Parameter
ON=auto return,
MODE_OP Configuratio
OFF=manual - Refer to 2.1.1
T n Parameter
return (default)
Manual and auto
Enabled when
switch: Operation
SWAM - MAN_OPT=OF
OFF=manual, Parameter
F
ON=auto
Auto/ cascade
selection: Operation Enabled when
SWSV -
OFF=auto, Parameter SV_OPT=OFF
ON=cascade
Whether to equal to
Related
preset MV value Operation
SWMMV TRUE parameter:
when switch to Parameter
MMV
manual status
Operator
Command Preset MV value Operation Enabled when
MMV TRUE
(switch to manual) Parameter SWMMV=ON
When up-jump
Operation
CSWI CSWI control input TRUE occurs to CSWI,
Parameter
CSW=ON.
Whether to equal to
preset MV value
when switch to auto
status. PMV
enable switch. Related
Operation
SWPMV When TRUE parameter:
Parameter
SWPMV=ON, MV PMV
= PMV, MV velocity
alarm, lock
increase/decrease
are disabled
Preset MV when
switching from
Operation Enabled when
PMV OOS/IMAN/TR/MA TRUE
Parameter SWPMV=ON
N modes to AUTO
or CAS mode
Operator Operation
SV SV TRUE Refer to 2.1.3
Data Parameter
Output value=
Manual output Operation
MANMV - MANMV in
value Parameter
manual mode
130
Function Block Reference
Application
Name Description Upload Properties
Reference
Monitoring
EI Error - Refer to 2.1.4
Parameter
PV HH limit alarm Operation
PVHH TRUE Refer to 2.1.2
value Parameter
PV H limit alarm Operation
PVH TRUE Refer to 2.1.2
value Parameter
PV L limit alarm Operation
PVL TRUE Refer to 2.1.2
value Parameter
PV LL limit alarm Operation
PVLL TRUE Refer to 2.1.2
value Parameter
Process value Operation
PVHYS TRUE Refer to 2.1.2
alarm hysteresis Parameter
Deviation alarm set Operation
DL TRUE Refer to 2.1.4
value Parameter
Input Deviation alarm Operation
Alarm DLHYS TRUE Refer to 2.1.4
hystersis value Parameter
Settings
Deviation filter Operation
KSV TRUE Refer to 2.1.4
coefficient Parameter
Deviation filter time Operation
TSV TRUE Refer to 2.1.4
constant(s) Parameter
Valve position
Operation
NMFLIM negative error TRUE Refer to 2.1.6
Parameter
thresholds
Valve position
Operation
PMFLIM positive error TRUE Refer to 2.1.6
Parameter
thresholds
Valve position error
Operation
TMFHYS alarm hysteresis TRUE Refer to 2.1.6
Parameter
time
Bypass PID
When cascade
operation, when
adjusting, used
BYPASS=ON,
Operation to excise inner
Advance BYPASS excise PID TRUE
Parameter loop when it
Calculatio calculation, switch
fails Refer to
n Settings SV to MV directly
2.1.4
for output
Proportion
suppress switch, Operation
STOPP TRUE Refer to 2.1.4
when STOPP=ON, Parameter
stop integral action
Integral suppress
switch, when Operation
STOPI TRUE Refer to 2.1.4
STOPI=ON, stop Parameter
integral action
Enable switch,
Operation Related
SWDB when SWDB=ON, TRUE
Parameter parameter: DB
deadband enable
Deadband band Operation Enable when
DB TRUE
size Parameter SWDB=ON
Deadband band Operation
DBHYS TRUE Refer to 2.1.4
hysteresis Parameter
Non-linear gain
Operation
GW range non-linear TRUE Refer to 2.1.4
Parameter
gain range
131
Function Block Reference
Application
Name Description Upload Properties
Reference
Nonlinear gain Operation
KN TRUE Refer to 2.1.4
coefficient[0,1.0] Parameter
Non-linear gain
selection switch,
switch the relation Related
between error and parameters:
output change GW, PB and KN
value to nonlinear. When
Used for control Configuratio
NGN_OPT - NGN_OPT=
when proportional n Parameter
ON; GW and
gain needs
PB when
nonlinear change.
NGN_OPT=
OFF=Error square
root function, OFF
ON=Gap action
function
Output type
selection switch.
When OUT_OPT= Configuratio Related
OUT_OPT -
OFF, output n Parameter parameter: MV
position type MV;
OUT_OPT
PVHH alarm Monitoring
PVHHIND - Refer to 2.1.6
indication Parameter
PV H Limit alarm Monitoring
PVHIND - Refer to 2.1.6
indication Parameter
PV L limit alarm Monitoring
PVLIND - Refer to 2.1.6
indication Parameter
PV LL limit alarm Monitoring
PVLLIND - Refer to 2.1.6
indication Parameter
MV H limit alarm Monitoring
MVHIND - Refer to 2.1.6
indication Parameter
MV L limit alarm Monitoring
MVLIND - Refer to 2.1.6
indication Parameter
SV H limit alarm Monitoring
SVHIND - Refer to 2.1.6
indication Parameter
Alarm SV L limit alarm Monitoring
SVLIND - Refer to 2.1.6
indication Parameter
Positive deviation Monitoring
PEIIND - Refer to 2.1.6
alarm indication Parameter
Negative deviation Monitoring
NEIIND - Refer to 2.1.6
alarm indication Parameter
MV positive rate Monitoring
DMVHIND - Refer to 2.1.6
limit indication Parameter
MV negative rate Monitoring
DMVLIND - Refer to 2.1.6
limit indication Parameter
Valve position error
Monitoring
NMFIND negative alarm - Refer to 2.1.6
Parameter
indication
Valve position error
Monitoring
PMFIND positive alarm - Refer to 2.1.6
Parameter
indication
Compens Refer to 2.1.2
Input compensation Operation
ation IK TRUE Related
gain Parameter
Settings parameter: IA
132
Function Block Reference
Application
Name Description Upload Properties
Reference
Refer to 2.1.2
Input compensation Operation
IB TRUE Related
bias value Parameter
parameter: IA
Refer to 2.1.4
Output Operation
OK TRUE Related
compensation gain Parameter
parameter: OA
Output Refer to 2.1.4
Operation
OB compensation bias TRUE Related
Parameter
value parameter: OA
Set MV manual
slow
increase/decrea
se percentage
MV manual slow in function block
Operation
SMV increase/decrease TRUE properties
Parameter
value (%) setting,
SMV≤FMV
Related
parameter:
MVSCH
Set MV manual
fast
increase/decrea
se percentage
MV manual fast
Operation in function block
FMV increase/decrease TRUE
Parameter properties
value (%)
setting
Related
Fase/Slo parameter:
w/Increas MVSCL
e/Decreas Set SV manual
e Settings slow
increase/decrea
se percentage
SV slow in function block
Operation
SSV increase/decrease TRUE properties
Parameter
value (%) setting
SSV≤FSV,
Related
parameter:
SVSCH
Set SV manual
fast
increase/decrea
se percentage
SV fast
Operation in function block
FSV increase/decrease TRUE
Parameter properties
value (%)
setting
Related
parameter:
SVSCL
Extended range
Configuratio
HORLIM maximum - Refer to 2.1.5
Extended n Parameter
percentage
Range
Settings Extended range
Configuratio
LORLIM minimum - Refer to 2.1.5
n Parameter
percentage
133
Function Block Reference
Application
Name Description Upload Properties
Reference
SV ramp function
switch. When
changing set value, Related
incline it to SV parameter:
according to the set Operation RAMP. Enable
SWRAMP TRUE
RAMP (s). Parameter when in
OFF=SV ramp automatic or
function off, cascade mode.
ON=SV ramp
function on
SV Related
Operation
Advance RAMP Ramp coefficient TRUE parameter:
Parameter
Settings SWRAMP
Track PV switch
enable/disable:
OFF=not track,
ON=track. If PV>
SVH/ SVL, SV=
SVTR_OP Configuratio
range limit. Used to - Refer to 2.1.3
T n Parameter
prevent the output
MV from
interference when
changing the
control mode.
Suppress module
Operation
Alarm AOF alarm, On=prohibit TRUE Refer to 2.1.6
Parameter
Enabled to display alarm.
and Alarm
ENALM Alarm enable TRUE Refer to 2.1.6
Suppress Parameter
FLAG Flag - Output Pin Refer to 2.1.6
Set as ON at
OOS mode setting
Operation the first time of
SWOOS switch (ON= OOS TRUE
Parameter function block
mode)
downloading
Related
OOS mode output Operation
OOSVAL TRUE parameter:
OOS value Parameter
OOS_OPT=ON
Settings
OOS mode output
value type. when
OOS_OPT =ON,
Configuratio
OOS_OPT MV=OOSVAL, - Refer to 1.1.1
n Parameter
when OOS_OPT
=OFF, maintain the
MV
134
Function Block Reference
PI calculation with hold function is control algorithm of pulse PI controller function block, by which
PI control calculation is implemented to get output value MV and output change value dMV. In the
mode of auto run (AUT, CAS), PI control with hold function will be implemented only in the control
time TC of each pulse time TP. Output value will be maintained in the left time (TP-TC).
Control time and sampling period (TS) must be set according to principles as follows:
Pulse period: TP=Deadband time of control objects +lag time constant * (from 2 to 3) of control
objects
Pulse period value is the time of process variable PV reaching stable after the output value acting
on the whole process. The shortest period of the main bump which influences the process is Tn. If
Tn is shorter than sampling period, it is not available. Sampling period longer than Tn can be tuned
according to the following expression:
TP<=Tn/5
Sampling action:
T
MV K P * K S * (PVn En )
TI
EI n PVn SVn
135
Function Block Reference
100
KP
PB
MVSCH MVSCL
KS
SVSCH SVSCL
When TP is set 0, pulse PI control can be started from outside. PI control started from outside is
achieved when the control switch (CSW) is set ON by other function blocks. Once PI control is
started, PI control will run in the control time (TC). The control switch will be set OFF after TC. If
the control switch is set OFF forcedly by outside function blocks, output values must be maintained,
shown as follows.
136
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
HH alarm value
PV Alarm setting of loop PV
Preference (%) HH PVHH 100.000 [SVSCL,SVSCH] (select alarm
enabled, or it is
disabled).
137
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
H alarm value
setting of loop
H PVH 90.000 [SVSCL,SVSCH] PV(select alarm
enabled, or it is
disabled)
L alarm value
setting of loop
L PVL 10.000 [SVSCL,SVSCH] PV(select alarm
enabled, or it is
disabled)
LL alarm value
setting of loop PV.
LL PVLL 0.000 [SVSCL,SVSCH] (select alarm
enabled, or it is
disabled)
PV Process value
HYS PVHYS 0.000 -
alarm hysteresis
H value setting of
loop SV (select
alarm enabled, or it
H SVH 40.000 [SVSCL,SVSCH] is disabled).
Note: SV limit is not
affected by
SV Limits selection.
(%) L value setting of
loop SV (select
alarm enabled, or it
L SVL 0.000 [SVSCL,SVSCH] is disabled).
Note: SV limit is not
affected by
selection.
H value setting of
loop MV (select
alarm enabled, or it
H MVH 100.000 [MVSCL,MVSCH] is disabled).
Note: MV limit is not
affected by
MV Limits selection.
(%) L value setting of
loop MV (select
alarm enabled, or it
L MVL 0.000 [MVSCL,MVSCH] is disabled).
Note: MV limit is not
affected by
selection.
Read-only. EI=PV-
EI Alarm SV(select alarm
(%) EI EI 0.000 -
enabled, or it is
disabled).
PEI Selecting the
(select - - - positive deviation
ed) alarm is enabled.
NEI Selecting the
(select - - - negative deviation
ed) alarm is enabled.
138
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
± (Range H-
DL DL 100.000 Deviation alarm SV
Range L)
Deviation alarm
DLHYS DLHYS 0.000 -
hystersis value
Selecting the
PMF PMFLIM 100.000 - positive deviation
alarm is enabled.
MF Alarm Selecting the
(%) NMF NMFLIM 100.000 - negative deviation
alarm is enabled.
TMFHY
TMFHYS 0.000 - Lag time SV
S
DMVH Selecting positive
(select - - - velocity alarm is
ed) enabled.
MV Velocity
Limits (%) DMVL Selecting negative
(select - - - velocity alarm is
ed) enabled.
DMVLI Loop MV velocity
DMVLIM 100.000 -
M limit SV
PID Loop proportional
PB(%) PB 100.000 Not less than 0
PID parameter SV
Parameter Loop integral time
TI (s) TI 20.000 Not less than 0
parameter SV
Sampling TC (s) TC 1.000 Not less than 0 Control time
Time TP (s) TP 1.000 Not less than 0 Control period
Enable Selecting deadband
(select SWDB - - parameter is
ed) enabled.
Disable Selecting deadband
Deadband (select SWDB √ - parameter is
(%) ed) disabled.
Deadband band
DB DB 0.000 -
size
Deadband band
DBHYS DBHYS 0.000 [0,DB]
hysteresis
Gap Read-only,
Action non-linear gain
NGN_OPT - -
(select selection switch
ed) ON= Gap Action
Read-only,
Square
non-linear gain
Non-linear Root
NGN_OPT √ - selection switch
Gain (%) (select
OFF=Square Root
ed)
Action
Nonlinear gain
GW GW 0.000 [0,1.0]
action range
Nonlinear gain
KN KN 1.000 -
coefficient
SV Ramp Enable
Selecting SV ramp
Action (%) (select SWRAMP - -
is enabled.
ed)
139
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
Disable
Selecting SV ramp
(select SWRAMP √ -
is disabled.
ed)
Coefficient
RAMP RAMP 100.000 -
parameter SV
Direct
Selecting direct
(select SWPN - -
action is enabled.
ed)
Control
Direction Revers
e Selecting reverse
SWPN √ -
(select action is enabled.
ed)
Run Selecting
(select STOPP √ - proportional action
ed) is enabled.
Proportiona
l Action Selecting
Stop STOPP - - proportional action
is disabled.
Selecting integral
Run STOPI √ -
Integral action is enabled.
Action Selecting integral
Stop STOPI - -
action is disabled.
The modification of
function block panel
is enabled for
Run BYPASS √ -
function block
properties interface
when debugging.
PID
The modification of
function block panel
is disabled for
Bypass BYPASS - -
function block
properties interface
when debugging.
Read-only, can be
Others IA IA 0.000 - set in configuration
Input or program
Compensat Input compensation
ion (%) IK IK 1.000 -
gain
Input compensation
IB IB 0.000 -
bias value
Read-only, can be
OA OA 0.000 - set in configuration
or program
Output
Compensat Output
OK OK 1.000 -
ion (%) compensation gain
Output
DB DB 0.000 - compensation bias
value
Deviation filter
Bias Alarm KSV KSV 1.000 0~100
coefficient
Filter
Settings Deviation filter time
TSV (s) TSV (s) 0.000 0~1000s
constant(s)
140
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
Read-only, can be
PV BK_OPT - - set in configuration
Feedback or program
Output
Track Read-only, can be
SV BK_OPT √ - set in configuration
or program
Read-only, can be
Track SVTR_OPT √ - set in configuration
or program
SV Track
Read-only, can be
Not
SVTR_OPT - - set in configuration
Track
or program
Read-only, can be
Panel MAN_OPT √ - set in configuration
MAN_OPT or program
Settings Read-only, can be
Progra
MAN_OPT - - set in configuration
m
or program
Read-only, can be
Panel SV_OPT - - set in configuration
SV_OPT or program
Settings Read-only, can be
Progra
SV_OPT √ - set in configuration
m
or program
Read-only, track
TV (%) TV (%) TV (%) 0.000 -
input value(%)
2.8.3 Flag
Table 2-31 Flag List
141
Function Block Reference
PD function block with manual resetting implements PD control and integral action is control
function set manually. In the process of programmable temperature control, operation conditions
are not maintained.
For example, there is powerful instant heat liberation in the chemistry process. In this case,
integral action will be weakened for a period of time. Just like these processes (deadband time is
too long or process time constant is too big), big proportion band should be set. If integral action
works, oscillation will be caused.
Please refer to the 0 and 2.1 before using the function block.
Application
Name Description Upload Properties
Reference
142
Function Block Reference
Application
Name Description Upload Properties
Reference
Set in the
function block
Configuration
MVEU MV engineer unit - properties
Parameter
settings
interface.
Used for data
displayed on
SV decimal digits Configuration
SVDLEN - function block
[0,5] Parameter
panel (equal to
3 as default).
Used for data
displayed on
MV decimal digits Configuration
MVDLEN - function block
[0,5] Parameter
panel (equal to
3 as default).
Value range
Operation
MVH MV H limit value TRUE [MVSCL,MVS
Parameter
CH]
Value range
Operation
MVL MV L limit value TRUE [MVSCL,MVS
Parameter
CH]
Value range
Operation
SVH SV H limit value TRUE [SVSCL,SVSC
Parameter
H]
Limits
Value range
Operation
SVL SV L limit value TRUE [SVSCL,SVSC
Parameter
H]
MVoutput rate
variety limits value.
Used to prevent the Operation
DMVLIM TRUE Refer to 2.1.6
MV from overlarge Parameter
modification in a
short time.
Direct/Reverse
switch. SV is not
changed, the MV
Direct/R OFF=Direct
increases with the
everse Operation action,
SWPN increasing of PV in TRUE
Switch Parameter ON=Reverse
direct action, and
Settings action
decreases with the
increasing of PV in
reverse action.
Feedback input.
BKIN does not act in
Base Connect to
Extended the calculation. It
Input Pin BKOUT of
Parameters BKIN outputs and tracks - Input Pin
Settings downstream
the modification of
block
BKIN only in IMAN
mode.
Connect to
Feedback status BKOUT of
BKINERR - Input Pin
input downstream
block ERR
Connect to
Note1
PV PV, Refer to - Input Pin measuring
point AI
143
Function Block Reference
Application
Name Description Upload Properties
Reference
Connect to
outer loop
CSV Cascade - Input Pin
control value
MV
Connect to
measuring
point AI.
TV Track input value - Input Pin
Related
parameter:
SWTR.
Upstream
interlock
Track switch:
condition
SWTR OFF=not track, - Input Pin
input,
ON=track
Related
parameter: TV
Connect to
measuring
Output point AI
compensation, used (feedforward
OA - Input Pin
for feedforward signal),
control Related
parameter:
OK, OB
PID executor Connect to
Advance MF feedback value , - Input Pin measuring
Input Pin used for monitoring point AI
Settings Connect to
Input compensation
measuring
value, used to
point AI,
improve the
IA - Input Pin Refer to 2.1.2
controllability of
Related
process with long
parameter: IK,
deadband time
IB
Program manual and Connect the
auto control switch, upstream
OFF=program output
PSWAM - Input Pin
manual control, Enabled when
ON=program auto MAN_OPT=O
control N
Connect the
Program auto/
upstream
cascade control
PSWSV - Input Pin output
switch, OFF= SV,
enabled when
ON=CSV
SV_OPT=ON
Manual-automatic
control source Connect the
switch, ON= upstream
manual-automatic output
MAN_OPT selection controlled - Input Pin Related
by PSWAM, OFF= parameter:
manual-automatic PSWAM,
selection controlled SWAM
by SWAM
144
Function Block Reference
Application
Name Description Upload Properties
Reference
Auto/Cascade
control source Connect the
selection, ON= upstream
auto/cascade output
SV_OPT selection controlled - Input Pin Related
by PSWSV, OFF= parameter:
auto/cascade PSWSV,
selection controlled SWSV
by SWSV
Connect the
upstream
MV lock increase
output.
(MV cannot
SWINC - Input Pin enabled when
Increase), ON= lock
function block
increase
is automatic or
cascade
Connect to
measuring
point AI,
Anti-integral
Related
saturation input,
SWDEC - Input Pin parameter:
used for control
BKIN; Refer to
overshoot
2.1.4
Integral Limits
Action
Connect the
upstream
MV lock decrease
output.
(MV cannot
HOLD - Input Pin enabled when
decrease), ON=
function block
Lock decrease
is automatic or
cascade
Connect to
PID operation output electric
MV - Output Pin
value manual
instrument
Connect to the
BKIN of
Feedback output Upstream
BKOUT - Output Pin
value Block, Related
Output
parameter:
Pin
BK_OPT
Connect to the
Feedback status BKINERR of
BKOUTERR - Output Pin
value Upstream
Block
BKOUT value switch Related
Configuration
BK_OPT (ON=track PV, - parameter:
Parameter
OFF=track SV) BKOUT
PID
Param Operation
PB Proportion band size TRUE Refer to 2.1.8
Settings Parameter
Balance time
Operation without
TB Balance time (s) TRUE
Parameter interference
switch
145
Function Block Reference
Application
Name Description Upload Properties
Reference
TD =0,
Operation Suppress
TD Derivative time (s) TRUE
Parameter deviation
Action
Refer to
general PID
Derivative filter Operation
KD TRUE function
coefficient Parameter Note1, Note2,
block
Note3, Note4`
Monitoring
MODE Work mode - Refer to 2.1.1
Parameter
Monitoring
IMODE Standby work mode - Refer to 2.1.1
Parameter
ON=auto return,
Configuration
MODE_OPT OFF=manual return - Refer to 2.1.1
Parameter
(default)
Manual and auto
Enabled when
Operator switch: Operation
SWAM - MAN_OPT=O
Comma OFF=manual, Parameter
FF
nd ON=auto
Auto/ cascade
Operation Enabled when
SWSV selection: OFF=auto, -
Parameter SV_OPT=OFF
ON=cascade
Whether to equal to
Related
preset MV value Operation
SWMMV TRUE parameter:
when switch to Parameter
MMV
manual status
Preset MV value Operation Enabled when
MMV TRUE
(switch to manual) Parameter SWMMV=ON
SV for loop closed Operation
SV - Refer to 2.1.3
control Parameter
Output value=
Operation
MANMV Manual output value - MANMV in
Parameter
manual mode
Operator
Data Monitoring
EI Error - Refer to 2.1.4
Parameter
Operation Note2
MR Manual Set Value - Refer to
Parameter
PV HH limit alarm Operation
Input PVHH TRUE Refer to 2.1.2
value Parameter
Alarm
PV H limit alarm Operation
Settings PVH TRUE Refer to 2.1.2
value Parameter
PV L limit alarm Operation
PVL TRUE Refer to 2.1.2
value Parameter
PV LL limit alarm Operation
PVLL TRUE Refer to 2.1.2
value Parameter
Process value alarm Operation
PVHYS TRUE Refer to 2.1.2
hysteresis Parameter
Deviation alarm set Operation
DL TRUE Refer to 2.1.4
value Parameter
Deviation alarm Operation
DLHYS TRUE Refer to 2.1.4
hystersis value Parameter
Deviation filter Operation
KSV TRUE Refer to 2.1.4
coefficient Parameter
146
Function Block Reference
Application
Name Description Upload Properties
Reference
Deviation filter time Operation
TSV TRUE Refer to 2.1.4
constant(s) Parameter
Valve position
Operation
NMFLIM negative error TRUE Refer to 2.1.6
Parameter
thresholds
Valve position
Operation
PMFLIM positive error TRUE Refer to 2.1.6
Parameter
thresholds
Valve position error
Operation
TMFHYS alarm hysteresis TRUE Refer to 2.1.6
Parameter
time
Bypass PID
When cascade
operation, when
adjusting,
BYPASS=ON,
Operation used to excise
BYPASS excise PID TRUE
Parameter inner loop
calculation, switch
when it fails
SV to MV directly for
Refer to 2.1.4
output
Proportion suppress
switch, when Operation
STOPP TRUE Refer to 2.1.4
STOPP=ON, stop Parameter
integral action
Enable switch, when
Operation Related
SWDB SWDB=ON, TRUE
Parameter parameter: DB
deadband enable
Operation Enable when
DB Deadband band size TRUE
Parameter SWDB=ON
Deadband band Operation
Advance DBHYS TRUE Refer to 2.1.4
hysteresis Parameter
d Param
Settings Non-linear gain
Operation
GW range non-linear TRUE Refer to 2.1.4
Parameter
gain range
Nonlinear gain Operation
KN TRUE Refer to 2.1.4
coefficient[0,1.0] Parameter
Non-linear gain
selection switch,
switch the relation Related
between error and parameters:
output change value GW, PB and
to nonlinear. Used KN When
for control when Configuration
NGN_OPT - NGN_OPT=
proportional gain Parameter
ON; GW and
needs nonlinear
PB when
change.
OFF=Error square NGN_OPT=
root function, OFF
ON=Gap action
function
PVHH alarm Monitoring
Alarm PVHHIND - Refer to 2.1.6
indication Parameter
PV H Limit alarm Monitoring
PVHIND - Refer to 2.1.6
indication Parameter
PV L limit alarm Monitoring
PVLIND - Refer to 2.1.6
indication Parameter
PV LL limit alarm Monitoring
PVLLIND - Refer to 2.1.6
indication Parameter
147
Function Block Reference
Application
Name Description Upload Properties
Reference
MV H limit alarm Monitoring
MVHIND - Refer to 2.1.6
indication Parameter
MV L limit alarm Monitoring
MVLIND - Refer to 2.1.6
indication Parameter
SV H limit alarm Monitoring
SVHIND - Refer to 2.1.6
indication Parameter
SV L limit alarm Monitoring
SVLIND - Refer to 2.1.6
indication Parameter
Positive deviation Monitoring
PEIIND - Refer to 2.1.6
alarm indication Parameter
Negative deviation Monitoring
NEIIND - Refer to 2.1.6
alarm indication Parameter
MV positive rate limit Monitoring
DMVHIND - Refer to 2.1.6
indication Parameter
MV negative rate Monitoring
DMVLIND - Refer to 2.1.6
limit indication Parameter
Valve position error
Monitoring
NMFIND negative alarm - Refer to 2.1.6
Parameter
indication
Valve position error
Monitoring
PMFIND positive alarm - Refer to 2.1.6
Parameter
indication
Refer to 2.1.2
Input compensation Operation
IK TRUE Related
gain Parameter
parameter: IA
Refer to 2.1.2
Input compensation Operation
IB TRUE Related
Compen bias value Parameter
parameter: IA
sation
Settings Refer to 2.1.4
Output Operation
OK TRUE Related
compensation gain Parameter
parameter: OA
Output Refer to 2.1.4
Operation
OB compensation bias TRUE Related
Parameter
value parameter: OA
Set MV
manual slow
increase/decre
Fase/Slo ase
w/Increa percentage in
MV manual slow
se/Decre Operation function block
SMV increase/decrease TRUE
ase Parameter properties
value (%)
Settings setting,
SMV≤FMV
Related
parameter:
MVSCH
148
Function Block Reference
Application
Name Description Upload Properties
Reference
Set MV
manual fast
increase/decre
ase
MV manual fast percentage in
Operation
FMV increase/decrease TRUE function block
Parameter
value (%) properties
setting
Related
parameter:
MVSCL
Set SV manual
slow
increase/decre
ase
percentage in
SV slow
Operation function block
SSV increase/decrease TRUE
Parameter properties
value (%)
setting
SSV≤FSV,
Related
parameter:
SVSCH
Set SV manual
fast
increase/decre
ase
SV fast percentage in
Operation
FSV increase/decrease TRUE function block
Parameter
value (%) properties
setting
Related
parameter:
SVSCL
Extended range
Configuration
Extende HORLIM maximum - Refer to 2.1.5
Parameter
d Range percentage
Settings Extended range Configuration
LORLIM - Refer to 2.1.5
minimum percentage Parameter
SV ramp function
switch. When Related
changing set value, parameter:
SV incline it to SV RAMP. Enable
Advance Operation
SWRAMP according to the set TRUE when in
Settings Parameter
RAMP (s). automatic or
OFF=SV ramp cascade
function off, ON=SV mode.
ramp function on
Related
Operation
RAMP Ramp coefficient TRUE parameter:
Parameter
SWRAMP
149
Function Block Reference
Application
Name Description Upload Properties
Reference
Track PV switch
enable/disable:
OFF=not track,
ON=track. If PV>
SVH/ SVL, SV= Configuration
SVTR_OPT - Refer to 2.1.3
range limit. Used to Parameter
prevent the output
MV from interference
when changing the
control mode.
Suppress module
Alarm Operation
AOF alarm, On=prohibit TRUE Refer to 2.1.6
Enabled Parameter
to display alarm.
and
Alarm
Suppres ENALM Alarm enable TRUE Refer to 2.1.6
Parameter
s
FLAG Flag - Output Pin Refer to 2.1.6
Set as ON at
OOS mode setting
Operation the first time of
SWOOS switch (ON= OOS TRUE
Parameter function block
mode)
downloading
Related
OOS mode output Operation parameter:
OOS OOSVAL TRUE
value Parameter OOS_OPT=O
Settings N
OOS mode output
value type. when
OOS_OPT =ON, Configuration
OOS_OPT - Refer to 1.1.1
MV=OOSVAL, when Parameter
OOS_OPT =OFF,
maintain the MV
Figure 2-34 PD control FB algorithm process with manipulating set integral item
The proportional band can be set narrower via executing proportional differential control, and
suppress overshoot via differential action to shift phase and achieve better control performance.
TD
MV K P * K S * ( E n * PVn ) MR BLn
T
150
Function Block Reference
T
BLn (1 ) * BLn 1
Tbl
BLn is balance option, which is used to bumpless transfer revising variables from manual mode to
auto mode. Tbl is balance time. Ks is range conversion coefficient. In the mode of AUT or CAS,
CALCn is conversed to MV output by output process.
Bumpless transfer of PD_SI function block is based on balance movement. When function block is
transferred from manual mode (MAN) to auto mode (AUTO), BLn 0 as initial value of balance item
is obtained by the following expression to achieve bumpless transfer.
TD
BLn 0 MV K P * K S * ( E n * PV n) MR
T
Figure 2-35 Bumpless transfer figure of balance movement of PD_SI function block
151
Function Block Reference
Function
Block Application
Panel Parameter Name Initial Value Value Range
Parameter Instruction
Name
HH alarm value
PV Alarm setting of loop PV
Preference [SVSCL,SVSC
(%) HH PVHH 100.000 (select alarm
H]
enabled, or it is
disabled).
152
Function Block Reference
Function
Block Application
Panel Parameter Name Initial Value Value Range
Parameter Instruction
Name
H alarm value
setting of loop
[SVSCL,SVSC
H PVH 90.000 PV(select alarm
H]
enabled, or it is
disabled)
L alarm value
setting of loop
[SVSCL,SVSC
L PVL 10.000 PV(select alarm
H]
enabled, or it is
disabled)
LL alarm value
setting of loop PV.
[SVSCL,SVSC
LL PVLL 0.000 (select alarm
H]
enabled, or it is
disabled)
PV Process value
HYS PVHYS 0.000 -
alarm hysteresis
H value setting of
loop SV (select
alarm enabled, or it
[SVSCL,SVSC
H SVH 40.000 is disabled).
H]
Note: SV limit is not
affected by
SV Limits selection.
(%) L value setting of
loop SV (select
alarm enabled, or it
[SVSCL,SVSC
L SVL 0.000 is disabled).
H]
Note: SV limit is not
affected by
selection.
H value setting of
loop MV (select
alarm enabled, or it
[MVSCL,MVSC
H MVH 100.000 is disabled).
H]
Note: MV limit is not
affected by
MV Limits selection.
(%) L value setting of
loop MV (select
alarm enabled, or it
[MVSCL,MVSC
L MVL 0.000 is disabled).
H]
Note: MV limit is not
affected by
selection.
Read-only. EI=PV-
EI Alarm (%) Bias SV(select alarm
EI 0.000 -
(EI) enabled, or it is
disabled).
PEI Selecting the
(selec - - - positive deviation
ted) alarm is enabled.
NEI Selecting the
(selec - - - negative deviation
ted) alarm is enabled.
153
Function Block Reference
Function
Block Application
Panel Parameter Name Initial Value Value Range
Parameter Instruction
Name
± (Range H-
DL DL 100.000 Deviation alarm SV
Range L)
DLHY Deviation alarm
DLHYS 0.000 -
S hystersis value
Selecting the
PMF PMFLIM 100.000 - positive deviation
alarm is enabled.
MF Alarm Selecting the
(%) NMF NMFLIM 100.000 - negative deviation
alarm is enabled.
TMFH
TMFHYS 0.000 - Lag time SV
YS (s)
DMV
Selecting positive
H
- - - velocity alarm is
(selec
enabled.
ted)
MV Velocity
Limits (%) DMVL Selecting negative
(selec - - - velocity alarm is
ted) enabled.
DMVL Loop MV velocity
DMVLIM 100.000 -
IM limit SV
PID PB(% Loop proportional
PB 100.000 -
PID ) parameter SV
Parameter Loop differential
TD(s) TD 0.000 -
time parameter SV
Incomplete Incomplete integral
KD(s) KD 10.000 -
Diff Coef filter coefficient
Enabl
Selecting deadband
e
SWDB - - parameter is
(selec
enabled.
ted)
Disabl
Selecting deadband
Deadband e
SWDB √ - parameter is
(%) (selec
disabled.
ted)
Deadband band
DB DB 0.000 -
size
DBHY Deadband band
DBHYS 0.000 [0,DB]
S hysteresis
Gap Read-only,
Action non-linear gain
NGN_OPT - -
(selec selection switch
ted) ON= Gap Action
Squar Read-only,
e non-linear gain
Non-linear Root NGN_OPT √ - selection switch
Gain (%) (selec OFF=Square Root
ted) Action
Nonlinear gain
GW GW 0.000 [0,1.0]
action range
Nonlinear gain
KN KN 1.000 -
coefficient
154
Function Block Reference
Function
Block Application
Panel Parameter Name Initial Value Value Range
Parameter Instruction
Name
Balance Balance time
Balan
Switch TB 0.000 Not less than 0 without interference
ce (s)
Coefficient switch
Enabl
e Selecting SV ramp
SWRAMP - -
(selec is enabled.
ted)
SV Ramp Disabl
Action (%) e Selecting SV ramp
SWRAMP √ -
(selec is disabled.
ted)
RAM Coefficient
RAMP 100.000 -
P parameter SV
Direct
Selecting direct
(selec SWPN - -
action is enabled.
ted)
Control
Direction Rever
se Selecting reverse
SWPN √ -
(selec action is enabled.
ted)
Run Selecting
(selec STOPP √ - proportional action
Proportional ted) is enabled.
Action Selecting
Stop STOPP - - proportional action
is disabled.
The modification of
function block panel
is enabled for
Run BYPASS √ -
function block
properties interface
when debugging.
PID Action
The modification of
function block panel
Bypas is disabled for
BYPASS - -
s function block
properties interface
when debugging.
Read-only, can be
Others IA IA 0.000 - set in configuration
Input or program
Compensati Input compensation
on (%) IK IK 1.000 -
gain
Input compensation
IB IB 0.000 -
bias value
Read-only, can be
OA OA 0.000 - set in configuration
or program
Output
Compensati Output
OK OK 1.000 -
on (%) compensation gain
Output
DB DB 0.000 - compensation bias
value
155
Function Block Reference
Function
Block Application
Panel Parameter Name Initial Value Value Range
Parameter Instruction
Name
Deviation filter
KSV KSV 1.000 0~100
Alarm Limit coefficient
Settings TSV(s Deviation filter time
TSV(s) 0.000 0~1000s
) constant(s)
Read-only, can be
PV BK_OPT - - set in configuration
Feedback or program
Output Track Read-only, can be
SV BK_OPT √ - set in configuration
or program
Read-only, can be
Track SVTR_OPT √ - set in configuration
or program
Track
Read-only, can be
Not
SVTR_OPT - - set in configuration
Track
or program
Read-only, can be
Panel MAN_OPT √ - set in configuration
MAN_OPT or program
Setting Read-only, can be
Progr
MAN_OPT - - set in configuration
am
or program
Read-only, can be
Panel SV_OPT - - set in configuration
SV_OPT or program
Settings Read-only, can be
Progr
SV_OPT √ - set in configuration
am
or program
MR
MR (%) MR 0.000 0~100 -
(%)
TV Read-only, track
TV (%) TV 0.000 -
(%) input value (%)
2.9.3 Flag
Table 2-34 Flag List
156
Function Block Reference
PI_AE is used for multivariate flow control to maintain total flux value, which is calculated
according to certain proportion of flux of each part.
Proportional and integral control is implemented by PI_AE function block, based on accumulation
deviation. Accumulation deviation value DV is obtained by summing the difference between
process value PV and set value SV in each scan period. And the sum of difference is conversed
time range.
Please refer to the 0 and 2.1 before using the function block.
Application
Name Description Upload Properties
Reference
157
Function Block Reference
Application
Name Description Upload Properties
Reference
The same as
Configuration
SVSCL SV low scale - PV actual value
Parameter
L limit.
Set in the
function block
Configuration
SVEU SV engineer unit - properties
Parameter
settings
interface.
Set in the
function block
Configuration
MVEU MV engineer unit - properties
Parameter
settings
interface.
Used for data
displayed on
SV decimal Configuration
SVDLEN - function block
digits [0,5] Parameter
panel (equal to
3 as default).
Used for data
displayed on
MV decimal Configuration
MVDLEN - function block
digits [0,5] Parameter
panel (equal to
3 as default).
Value range
Operation
MVH MV H limit value TRUE [MVSCL,MVSC
Parameter
H]
Value range
Operation
MVL MV L limit value TRUE [MVSCL,MVSC
Parameter
H]
Value range
Operation
SVH SV H limit value TRUE [SVSCL,SVSC
Parameter
H]
Value range
Operation
SVL SV L limit value TRUE [SVSCL,SVSC
Parameter
H]
MV output rate
Limits variety limit
value. Used to
Operation
DMVLIM prevent the MV TRUE Refer to 2.1.6
Parameter
from overlarge
modification in a
short time.
Control
Deviation alarm
SV. Error alarm
is performed for
Cumulation Error Operation
VL TRUE accumulation
Limit Parameter
error value, not
for the current
error value.
Refer to Note2
158
Function Block Reference
Application
Name Description Upload Properties
Reference
Direct/Reverse
switch. SV is not
changed, the MV
increases with
Direct/Re OFF=Direct
the increasing of
verse Operation action,
SWPN PV in direct TRUE
Switch Parameter ON=Reverse
action, and
Settings action
decreases with
the increasing of
PV in reverse
action.
Connect to
Extended BKOUT of
Parameters BKIN Feedback input - Input Pin
downstream
block
Connect to
Feedback status BKOUT of
BKINERR - Input Pin
input downstream
block ERR
Process value of Connect to
PV loop closed - Input Pin measuring point
control process AI
Connect to
outer loop
CSV Cascade - Input Pin
control value
Base MV
Input Pin Connect to
Settings Track input value measuring point
TV (In track mode, - Input Pin AI. Related
MV=TV ) parameter:
SWTR.
Upstream
Track switch: interlock
SWTR OFF=not track, - Input Pin condition input,
ON=track Related
parameter: TV
Connect to
Output measuring point
compensation, AI (feedforward
OA used for - Input Pin signal),
feedforward Related
control parameter: OK,
OB
Advance PID executor
Connect to
Input Pin feedback value ,
MF - Input Pin measuring point
Settings used for
AI
monitoring
Input
Connect to
compensation
measuring point
value, used to
AI, Refer to
improve the
IA - Input Pin 2.1.2
controllability of
Related
process with
parameter: IK,
long deadband
IB
time
159
Function Block Reference
Application
Name Description Upload Properties
Reference
Program manual
and auto control
Connect the
switch,
upstream output
PSWAM OFF=program - Input Pin
Enabled when
manual control,
MAN_OPT=ON
ON=program
auto control
Program auto/ Connect the
cascade control upstream output
PSWSV - Input Pin
switch, OFF= enabled when
SV, ON=CSV SV_OPT=ON
Manual-automati
c control source
switch, ON=
Connect the
manual-automati
upstream output
c selection
Related
MAN_OPT controlled by - Input Pin
parameter:
PSWAM, OFF=
PSWAM,
manual-automati
SWAM
c selection
controlled by
SWAM
Auto/Cascade
control source
selection, ON=
auto/cascade Connect the
selection upstream output
SV_OPT controlled by - Input Pin Related
PSWSV, OFF= parameter:
auto/cascade PSWSV, SWSV
selection
controlled by
SWSV
Connect the
MV lock upstream
increase (MV output. enabled
SWINC cannot - Input Pin when function
Increase), ON= block is
lock increase automatic or
cascade
Connect to
measuring point
Anti-integral AI, Related
saturation input, parameter:
RRL - Input Pin
used for control BKIN; Refer to
overshoot 2.1.4
Integral Limits
Action
Connect the
MV lock upstream
decrease (MV output. enabled
SWDEC cannot - Input Pin when function
decrease), ON= block is
Lock decrease automatic or
cascade
160
Function Block Reference
Application
Name Description Upload Properties
Reference
MV holds the
current output Connect to
HOLD value, ON= hold - Input Pin upstream
the current output,
output value
Connect to
PID operation
MV - Output Pin electric manual
output value
instrument
Connect to the
BKIN of
Feedback output Upstream
BKOUT - Output Pin
value Block, Related
Output parameter:
Pin BK_OPT
Connect to the
BKOUTER Feedback status
- Output Pin BKINERR of
R value
Upstream Block
BKOUT value
Related
switch Configuration
BK_OPT - parameter:
(ON=track PV, Parameter
BKOUT
OFF=track SV)
Proportion band Operation
PB TRUE
size Parameter
Balance time
Operation without
TB Balance time (s) TRUE
Parameter interference
PID switch
Param
Settings Operation
TI Integral time (s) TRUE
Parameter
Change the
Time switching
Operation time unit into
TK coefficient (No TRUE
Parameter second.
less than 0.05)
Refer to Note1
Operator Monitoring
MODE Work mode - Refer to 2.1.1
Command Parameter
Standby work Monitoring
IMODE - Refer to 2.1.1
mode Parameter
ON=auto return,
MODE_OP Configuration
OFF=manual - Refer to 2.1.1
T Parameter
return (default)
Manual and auto
Enabled when
switch: Operation
SWAM - MAN_OPT=OF
OFF=manual, Parameter
F
ON=auto
Auto/ cascade
selection: Operation Enabled when
SWSV -
OFF=auto, Parameter SV_OPT=OFF
ON=cascade
Whether to
equal to preset Related
Operation
SWMMV MV value when TRUE parameter:
Parameter
switch to manual MMV
status
Preset MV value
Operation Enabled when
MMV (switch to TRUE
Parameter SWMMV=ON
manual)
161
Function Block Reference
Application
Name Description Upload Properties
Reference
Reset Operation
RST TRUE
cumulation error Parameter
Whether to
equal to preset
MV value when
switch to auto
status. PMV
enable switch. Related
Operation
SWPMV When TRUE parameter:
Parameter
SWPMV=ON, PMV
MV = PMV, MV
velocity alarm,
lock
increase/decrea
se are disabled
Preset MV when
switching from
OOS/IMAN/TR/ Operation Enabled when
PMV TRUE
MAN modes to Parameter SWPMV=ON
AUTO or CAS
mode
SV for loop Operation
SV TRUE Refer to 2.1.3
closed control Parameter
Output value=
Manual output Operation
MANMV - MANMV in
value Parameter
manual mode
Monitoring
EI Error - Refer to 2.1.4
Parameter
Operator Control error
Data DV resets when:
The cumulation
error reset
Cumulation
switch RST set
Monitoring error value, can
DV as ON; -
Parameter be set in
Function block
program
mode is manual;
In the mode of
process variable
track
Input PV HH limit Operation
PVHH TRUE Refer to 2.1.2
Alarm alarm value Parameter
Settings PV H limit alarm Operation
PVH TRUE Refer to 2.1.2
value Parameter
PV L limit alarm Operation
PVL TRUE Refer to 2.1.2
value Parameter
PV LL limit alarm Operation
PVLL TRUE Refer to 2.1.2
value Parameter
Process value Operation
PVHYS TRUE Refer to 2.1.2
alarm hysteresis Parameter
Deviation alarm Operation
DL TRUE Refer to 2.1.4
set value Parameter
Deviation alarm Operation
DLHYS TRUE Refer to 2.1.4
hystersis value Parameter
Deviation filter Operation
KSV TRUE Refer to 2.1.4
coefficient Parameter
162
Function Block Reference
Application
Name Description Upload Properties
Reference
Deviation filter Operation
TSV TRUE Refer to 2.1.4
time constant(s) Parameter
Valve position
Operation
NMFLIM negative error TRUE Refer to 2.1.6
Parameter
thresholds
Valve position
Operation
PMFLIM positive error TRUE Refer to 2.1.6
Parameter
thresholds
Valve position
Operation
TMFHYS error alarm TRUE Refer to 2.1.6
Parameter
hysteresis time
Bypass PID
operation, when When cascade
Advanced BYPASS=ON, adjusting, used
Calculatio excise PID Operation to excise inner
BYPASS TRUE
n Settings calculation, Parameter loop when it
switch SV to MV fails
directly for Refer to 2.1.4
output
Proportion
suppress switch,
when Operation
STOPP TRUE Refer to 2.1.4
STOPP=ON, Parameter
stop integral
action
Integral
suppress switch,
when Operation
STOPI TRUE Refer to 2.1.4
STOPI=ON, Parameter
stop integral
action
Enable switch,
when
Operation Related
SWDB SWDB=ON, TRUE
Parameter parameter: DB
deadband
enable
Deadband band Operation Enable when
DB TRUE
size Parameter SWDB=ON
Deadband band Operation
DBHYS TRUE Refer to 2.1.4
hysteresis Parameter
Non-linear gain
Operation
GW range non-linear TRUE Refer to 2.1.4
Parameter
gain range
Nonlinear gain Operation
KN TRUE Refer to 2.1.4
coefficient[0,1.0] Parameter
163
Function Block Reference
Application
Name Description Upload Properties
Reference
Non-linear gain
selection switch,
switch the
relation between Related
error and output parameters:
change value to GW, PB and KN
nonlinear. Used When
for control when Configuration
NGN_OPT - NGN_OPT=
proportional gain Parameter
ON; GW and
needs nonlinear
PB when
change.
OFF=Error NGN_OPT=
square root OFF
function,
ON=Gap action
function
Control output
type:
OFF=position Configuration Related
OUT_OPT -
type, Parameter parameter: MV
ON=increment
type
Alarm PVHH alarm Monitoring
PVHHIND - Refer to 2.1.6
indication Parameter
PV H Limit alarm Monitoring
PVHIND - Refer to 2.1.6
indication Parameter
PV L limit alarm Monitoring
PVLIND - Refer to 2.1.6
indication Parameter
PV LL limit alarm Monitoring
PVLLIND - Refer to 2.1.6
indication Parameter
MV H limit alarm Monitoring
MVHIND - Refer to 2.1.6
indication Parameter
MV L limit alarm Monitoring
MVLIND - Refer to 2.1.6
indication Parameter
SV H limit alarm Monitoring
SVHIND - Refer to 2.1.6
indication Parameter
SV L limit alarm Monitoring
SVLIND - Refer to 2.1.6
indication Parameter
Positive
Monitoring
PEIIND deviation alarm - Refer to 2.1.6
Parameter
indication
Negative
Monitoring
NEIIND deviation alarm - Refer to 2.1.6
Parameter
indication
MV positive rate Monitoring
DMVHIND - Refer to 2.1.6
limit indication Parameter
MV negative rate Monitoring
DMVLIND - Refer to 2.1.6
limit indication Parameter
Valve position
Monitoring
NMFIND error negative - Refer to 2.1.6
Parameter
alarm indication
Valve position
Monitoring
PMFIND error positive - Refer to 2.1.6
Parameter
alarm indication
Control error H Monitoring
AEHIND - Refer to 2.1.6
alarm Parameter
164
Function Block Reference
Application
Name Description Upload Properties
Reference
Control error L Monitoring
AELIND - Refer to 2.1.6
alarm Parameter
Input Refer to 2.1.2
Operation
IK compensation TRUE Related
Parameter
gain parameter: IA
Input Refer to 2.1.2
Operation
IB compensation TRUE Related
Compens Parameter
bias value parameter: IA
ation
Settings Output Refer to 2.1.4
Operation
OK compensation TRUE Related
Parameter
gain parameter: OA
Output Refer to 2.1.4
Operation
OB compensation TRUE Related
Parameter
bias value parameter: OA
Set MV manual
slow
increase/decrea
se percentage
MV manual slow in function block
Operation
SMV increase/decrea TRUE properties
Parameter
se value (%) setting,
SMV≤FMV
Related
parameter:
MVSCH
Set MV manual
fast
increase/decrea
se percentage
MV manual fast
Operation in function block
FMV increase/decrea TRUE
Parameter properties
se value (%)
setting
Related
Fase/Slo parameter:
w/Increas MVSCL
e/Decreas Set SV manual
e Settings slow
increase/decrea
se percentage
SV slow in function block
Operation
SSV increase/decrea TRUE properties
Parameter
se value (%) setting
SSV≤FSV,
Related
parameter:
SVSCH
Set SV manual
fast
increase/decrea
se percentage
SV fast
Operation in function block
FSV increase/decrea TRUE
Parameter properties
se value (%)
setting
Related
parameter:
SVSCL
165
Function Block Reference
Application
Name Description Upload Properties
Reference
Extended range
Configuration
HORLIM maximum - Refer to 2.1.5
Extended Parameter
percentage
Range
Settings Extended range
Configuration
LORLIM minimum - Refer to 2.1.5
Parameter
percentage
SV ramp
function switch.
When changing
Related
set value, incline
parameter:
it to SV
Operation RAMP. Enable
SWRAMP according to the TRUE
Parameter when in
set RAMP (s).
automatic or
OFF=SV ramp
cascade mode
function off,
ON=SV ramp
function on
SV Related
Operation
Advance RAMP Ramp coefficient TRUE parameter:
Parameter
Settings SWRAMP
Track PV switch
enable/disable:
OFF=not track,
ON=track. If PV>
SVH/ SVL, SV=
SVTR_OP range limit. Used Configuration
- Refer to 2.1.3
T to prevent the Parameter
output MV from
interference
when changing
the control
mode.
Suppress
Alarm module alarm, Operation
AOF TRUE Refer to 2.1.6
Enabled On=prohibit to Parameter
and display alarm.
Suppress ENALM Alarm enable TRUE Alarm Parameter Refer to 2.1.6
FLAG Flag - Output Pin Refer to 2.1.6
OOS mode Set as ON at
OOS setting switch Operation the first time of
Settings SWOOS TRUE
(ON= OOS Parameter function block
mode) downloading
Related
OOS mode Operation
OOSVAL TRUE parameter:
output value Parameter
OOS_OPT=ON
166
Function Block Reference
Application
Name Description Upload Properties
Reference
OOS
mode
output
value
type.
when
OOS_
OPT
=ON, Configuration
OOS_OPT - Refer to 1.1.1
MV=O Parameter
OSVAL
, when
OOS_
OPT
=OFF,
maintai
n the
MV
DVRn
DVn * TS
TK
Time conversion coefficient converses original accumulation deviation value of flow unit (m3/h) to
weight or volume unit (m3). Time conversion coefficient converses time unit of flow to second, for
example, if unit of PV is m3/h, TK is set 3600.
KP * KS T
MVn * (T * E n * ES n ) BLn
8 TI
Control accumulation deviation value ESn used for PI control calculation is equal to the value of
accumulation deviation DVn limited by set value of control deviation alarm VL.
When DVn VL , ES n VL * TK .
167
Function Block Reference
When DVn VL , ES n VL * TK
Control deviation alarm is used to check whether accumulation deviation value DV which
continues to add after accumulation deviation alarm is over absolute value of set value of control
deviation alarm VL. If exceeded, the control deviation alarm is generated.
If accumulation deviation value DV is over absolute value of set value of control deviation VL
positively, positive alarm of control alarm AEH is generated; if accumulation deviation value DV is
over set value of control deviation VL negatively, negative alarm of control deviation AEL is
generated.
168
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
HH alarm value
Prefere PV Alarm setting of loop PV
[SVSCL,SVSCH
nce (%) HH PVHH 100.000 (select alarm
]
enabled, or it is
disabled).
169
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
H alarm value
setting of loop
[SVSCL,SVSCH
H PVH 90.000 PV(select alarm
]
enabled, or it is
disabled)
L alarm value
setting of loop
[SVSCL,SVSCH
L PVL 10.000 PV(select alarm
]
enabled, or it is
disabled)
LL alarm value
setting of loop PV.
[SVSCL,SVSCH
LL PVLL 0.000 (select alarm
]
enabled, or it is
disabled)
PV Process value
HYS PVHYS 0.000 -
alarm hysteresis
H value setting of
loop SV (select
alarm enabled, or it
[SVSCL,SVSCH
H SVH 40.000 is disabled).
]
Note: SV limit is not
affected by
SV Limits selection.
(%) L value setting of
loop SV (select
alarm enabled, or it
[SVSCL,SVSCH
L SVL 0.000 is disabled).
]
Note: SV limit is not
affected by
selection.
H value setting of
loop MV (select
alarm enabled, or it
[MVSCL,MVSC
H MVH 100.000 is disabled).
H]
Note: MV limit is not
affected by
MV Limits selection.
(%) L value setting of
loop MV (select
alarm enabled, or it
[MVSCL,MVSC
L MVL 0.000 is disabled).
H]
Note: MV limit is not
affected by
selection.
Read-only. EI=PV-
EI Alarm SV(select alarm
(%) EI EI 0.000 -
enabled, or it is
disabled).
Selecting the
PEI
- - - positive deviation
(selected)
alarm is enabled.
Selecting the
NEI
- - - negative deviation
(selected)
alarm is enabled.
170
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
± (Range H-
DL DL 100.000 Deviation alarm SV
Range L)
Deviation alarm
DLHYS DLHYS 0.000 -
hystersis value
Selecting the
PMF PMFLIM 100.000 - positive deviation
alarm is enabled.
MF Alarm
Selecting the
(%)
NMF NMFLIM 100.000 - negative deviation
alarm is enabled.
TMFHYS TMFHYS 0.000 - Lag time SV
Selecting positive
DMVH
- - - velocity alarm is
(selected)
enabled.
MV
Velocity Selecting negative
DMVL
Limits (%) - - - velocity alarm is
(selected)
enabled.
Loop MV velocity
DMVLIM DMVLIM 100.000 -
limit SV
PID Loop proportional
PID PB(%) PB 100.000 Not less than 0
parameter SV
Paramete
r Loop integral time
TI(s) TI 20.000 Not less than 0
parameter SV
Selecting deadband
Enable
SWDB - - parameter is
(selected)
enabled.
Selecting deadband
Disable
Deadband SWDB √ - parameter is
(selected)
(%) disabled.
Deadband band
DB DB 0.000 -
size
Deadband band
DBHYS DBHYS 0.000 [0,DB]
hysteresis
Balance time
Balance TB TB 0.000 Not less than 0 without interference
Switch switch
Coefficien
t Change the time
TK TK 1.000 -
unit into second.
Read-only,
Gap non-linear gain
NGN_OPT - -
(selected) selection switch
ON= Gap Action
Read-only,
Square non-linear gain
Non-linear Root NGN_OPT √ - selection switch
Gain (%) (selected) OFF=Square Root
Action
Nonlinear gain
GW GW 0.000 -
action range
Nonlinear gain
KN KN 1.000 -
coefficient
SV Ramp Enable Selecting SV ramp
SWRAMP - -
Action (%) (selected) is enabled.
171
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
Disable Selecting SV ramp
SWRAMP √ -
(selected) is disabled.
Coefficient
RAMP RAMP 100.000 -
parameter SV
Direct Selecting direct
SWPN - -
Control (selected) action is enabled.
Direction Reverse Selecting reverse
SWPN √ -
(selected) action is enabled.
Selecting
Run
STOPP √ - proportional action
(selected)
Proportion is enabled.
al Action Selecting
Stop STOPP - - proportional action
is disabled.
Selecting integral
Run STOPI √ -
Integral action is enabled.
Action Selecting integral
Stop STOPI - -
action is disabled.
The modification of
function block panel
is enabled for
Run BYPASS √ -
function block
properties interface
PID when debugging.
Action The modification of
function block panel
is disabled for
Bypass BYPASS - -
function block
properties interface
when debugging.
Read-only, can be
Others IA IA 0.000 - set in configuration
Input or program
Compens Input compensation
ation (%) IK IK 1.000 -
gain
Input compensation
IB IB 0.000 -
bias value
Read-only, can be
OA OA 0.000 - set in configuration
or program
Output
Compens Output
OK OK 1.000 -
ation (%) compensation gain
Output
DB DB 0.000 - compensation bias
value
Deviation filter
KSV KSV 1.000 0~100
EI Alarm coefficient
Settings Deviation filter time
TSV(s) TSV(s) 0.000 0~1000s
constant(s)
Feedback Read-only, can be
Output PV BK_OPT - - set in configuration
Track or program
172
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
Read-only, can be
SV BK_OPT √ - set in configuration
or program
Read-only, can be
Track SVTR_OPT √ - set in configuration
or program
SV Track
Read-only, can be
Not Track SVTR_OPT - - set in configuration
or program
Read-only, can be
Panel MAN_OPT √ - set in configuration
MAN_OP or program
T Settings Read-only, can be
Program MAN_OPT - - set in configuration
or program
Read-only, can be
Panel SV_OPT - - set in configuration
SV_OPT or program
Settings Read-only, can be
Program SV_OPT √ - set in configuration
or program
Read-only, can be
DV DV 0.000 - set in configuration
or program
Control Enabled when
AEH AEH - -
Bias selected H alarm
Alarm Enabled when
AEL AEL - -
selected L alarm
Control Bias Alarm
VL VL 100.000 Not less than 0
SV
Read-only, track
TV (%) TV (%) TV (%) 0.000 -
input value(%)
2.10.3 Flag
Table 2-37 Flag List
173
Function Block Reference
Output value of ratio setting function block (RATIO) is changed with the value of PV multiplied by
set value of ratio. Ratio setting function block is used to control two variables at setting ratio.
Please refer to the 0 and 2.1 before using the function block.
Application
Name Description Upload Properties
Reference
174
Function Block Reference
Application
Name Description Upload Properties
Reference
Set in the
function block
SV engineer Configuration
SVEU - properties
unit Parameter
settings
interface.
Set in the
function block
MV engineer Configuration
MVEU - properties
unit Parameter
settings
interface.
Used for data
displayed on
SV decimal Configuration
SVDLEN - function block
digits [0,5] Parameter
panel (equal to 3
as default).
Used for data
displayed on
MV decimal Configuration
MVDLEN - function block
digits [0,5] Parameter
panel (equal to 3
as default).
Value range
MV H limit Operation
MVH TRUE [MVSCL,MVSCH
value Parameter
]
Value range
MV L limit Operation
MVL TRUE [MVSCL,MVSCH
value Parameter
]
SV H limit Operation Value range
SVH TRUE
value Parameter [SVSCL,SVSCH]
SV L limit Operation Value range
SVL TRUE
Limits value Parameter [SVSCL,SVSCH]
MVoutput
rate variety
limits value.
Used to
prevent the Operation
DMVLIM TRUE Refer to 2.1.6
MV from Parameter
overlarge
modification
in a short
time.
Base Connect to
Extend Feedback BKOUT of
Input Pin BKIN - Input Pin
Parameter input downstream
Settings
block
Connect to
Feedback BKOUT of
BKINERR - Input Pin
status input downstream
block ERR
Process
value of loop Connect to
PV closed - Input Pin measuring point
control AI
process
Connect to outer
CSV Cascade - Input Pin loop control value
MV
175
Function Block Reference
Application
Name Description Upload Properties
Reference
Connect to
Track input measuring point
value (In AI.
TV - Input Pin
track mode, Related
MV=TV ) parameter:
SWTR.
Upstream
Track switch:
interlock
OFF=not
SWTR - Input Pin condition input,
track,
Related
ON=track
parameter: TV
Program
manual and
auto control
switch, Connect the
OFF=progra upstream output
PSWAM - Input Pin
m manual Enabled when
control, MAN_OPT=ON
ON=progra
m auto
control
Program
auto/
Connect the
cascade
upstream output
PSWSV control - Input Pin
enabled when
switch,
SV_OPT=ON
OFF= SV,
ON=CSV
Manual-auto
matic control
source
switch, ON=
Advance manual-auto
Input Pin matic Connect the
Settings selection upstream output
MAN_OPT controlled by - Input Pin Related
PSWAM, parameter:
OFF= PSWAM, SWAM
manual-auto
matic
selection
controlled by
SWAM
Auto/Cascad
e control
source
selection,
ON=
Connect the
auto/cascad
upstream output
e selection
SV_OPT - Input Pin Related
controlled by
parameter:
PSWSV,
PSWSV, SWSV
OFF=
auto/cascad
e selection
controlled by
SWSV
176
Function Block Reference
Application
Name Description Upload Properties
Reference
PID Connect to
MV operation - Output Pin electric manual
output value instrument
Connect to the
BKIN of
Feedback Upstream Block,
BKOUT - Output Pin
output value Related
parameter:
Output BK_OPT
Pin Connect to the
Feedback
BKOUTERR - Output Pin BKINERR of
status value
Upstream Block
BKOUT
value switch
Related
(ON=track Configuration
BK_OPT - parameter:
PV, Parameter
BKOUT
OFF=track
SV)
Monitoring
MODE Work mode - Refer to 2.1.1
Parameter
Standby Monitoring
IMODE - Refer to 2.1.1
work mode Parameter
ON=auto
return,
Configuration
MODE_OPT OFF=manua - Refer to 2.1.1
Parameter
l return
(default)
Manual and
auto switch: Operation Enabled when
SWAM -
OFF=manua Parameter MAN_OPT=OFF
l, ON=auto
Operator Auto/
Command cascade
selection: Operation Enabled when
SWSV -
OFF=auto, Parameter SV_OPT=OFF
ON=cascad
e
Whether to
equal to
preset MV
Operation Related
SWMMV value when TRUE
Parameter parameter: MMV
switch to
manual
status
Preset MV
Operation Enabled when
MMV value (switch TRUE
Parameter SWMMV=ON
to manual)
SV for loop
Operation
SV closed TRUE Refer to 2.1.3
Parameter
Operator control
Data Output value=
Manual Operation
MANMV - MANMV in
output value Parameter
manual mode
Input PV HH limit Operation
PVHH TRUE Refer to 2.1.2
Alarm alarm value Parameter
177
Function Block Reference
Application
Name Description Upload Properties
Reference
Settings PV H limit Operation
PVH TRUE Refer to 2.1.2
alarm value Parameter
PV L limit Operation
PVL TRUE Refer to 2.1.2
alarm value Parameter
PV LL limit Operation
PVLL TRUE Refer to 2.1.2
alarm value Parameter
Process
Operation
PVHYS value alarm TRUE Refer to 2.1.2
Parameter
hysteresis
Modify
Advance
coefficient Operation
Calculatio BIAS TRUE Refer to Note1
(compensati Parameter
n Settings
on)
PVHH alarm Monitoring
PVHHIND - Refer to 2.1.6
indication Parameter
PV H Limit
Monitoring
PVHIND alarm - Refer to 2.1.6
Parameter
indication
PV L limit
Monitoring
PVLIND alarm - Refer to 2.1.6
Parameter
indication
PV LL limit
Monitoring
PVLLIND alarm - Refer to 2.1.6
Parameter
indication
MV H limit
Monitoring
MVHIND alarm - Refer to 2.1.6
Parameter
indication
Alarm MV L limit
Monitoring
MVLIND alarm - Refer to 2.1.6
Parameter
indication
SV H limit
Monitoring
SVHIND alarm - Refer to 2.1.6
Parameter
indication
SV L limit
Monitoring
SVLIND alarm - Refer to 2.1.6
Parameter
indication
MV positive
Monitoring
DMVHIND rate limit - Refer to 2.1.6
Parameter
indication
MV negative
Monitoring
DMVLIND rate limit - Refer to 2.1.6
Parameter
indication
Extended
range Configuration
HORLIM - Refer to 2.1.5
maximum Parameter
Extended percentage
Range
Settings Extended
range Configuration
LORLIM - Refer to 2.1.5
minimum Parameter
percentage
SV Related
Ramp Operation
Advance RP TRUE parameter:
constant Parameter
Settings SWRAMP
178
Function Block Reference
Application
Name Description Upload Properties
Reference
Track PV
switch
enable/disab
le: OFF=not
track,
ON=track. If
PV> SVH/
SVL, SV=
range limit. Configuration
SVTR_OPT - Refer to 2.1.3
Used to Parameter
prevent the
output MV
from
interference
when
changing the
control
mode.
Suppress
module
alarm, Operation
Alarm AOF TRUE Refer to 2.1.6
On=prohibit Parameter
Enabled to display
and alarm.
Suppress
Alarm
ENALM TRUE Alarm Parameter Refer to 2.1.6
enable
FLAG Flag - Output Pin Refer to 2.1.6
OOS mode Set as ON at the
setting Operation first time of
SWOOS TRUE
switch (ON= Parameter function block
OOS mode) downloading
Related
OOS mode Operation
OOSVAL TRUE parameter:
output value Parameter
OOS_OPT=ON
OOS mode
OOS
output value
Settings
type. when
OOS_OPT
=ON,
Configuration
OOS_OPT MV=OOSVA - Refer to 1.1.1
Parameter
L, when
OOS_OPT
=OFF,
maintain the
MV
SVe : Valid set value of ratio which is enabled set value of ratio after set value of ratio SV is
implemented ramp process of set value. Ramp process of set value is used for bumpless transfer
of function block mode.
179
Function Block Reference
As the PV and MV are the actual values, when the maximum and minimum rages of PV and MV,
the value of KS (range) changes. The engineering unit of BIAS is the same as MV.
Bumpless transfer indicates that output value will not be mutant in the mode of transfer function
block. The movement of bumpless transfer which is selected automatically will be different with
difference of output movement and control mode. There are two bumpless transfer modes for
RATIO function block: ratio track and ramp movement of set value of ratio.
Ratio track
When ratio calculation is stopped, set value of ratio SV is calculated according to output value MV,
by which bumpless transfer from manual mode to auto mode can be achieved.
1
SV ( MV MVSCL BIAS ) *
( PV SVSCL) * KS
The function of ratio track can be implemented in manual mode (MAN). If ( PV SVSCL) * KS 0 ,
SV=SVH.
When set value of ratio SV is changed, change of set value of valid ratio SVe in per second is
limited to be less than or equal to ramp constant RP by ramp movement of set value of ratio. When
function block mode is transferred from manual mode to auto mode, SVe calculated according to
MV is initial value of set value of valid ratio. And when set value SV is changed, ramp action of
ratio set value works.
180
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
HH alarm value
PV Alarm setting of loop PV
Preference HH PVHH 100.000 [SVSCL,SVSCH] (select alarm
(%)
enabled, or it is
disabled).
181
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
H alarm value
setting of loop
H PVH 90.000 [SVSCL,SVSCH] PV(select alarm
enabled, or it is
disabled)
L alarm value
setting of loop
L PVL 10.000 [SVSCL,SVSCH] PV(select alarm
enabled, or it is
disabled)
LL alarm value
setting of loop PV.
LL PVLL 0.000 [SVSCL,SVSCH] (select alarm
enabled, or it is
disabled)
PV Process value
HYS PVHYS 0.000 -
alarm hysteresis
H value setting of
loop SV (select
alarm enabled, or it
H SVH 40.000 [SVSCL,SVSCH] is disabled).
Note: SV limit is not
affected by
SV Limits selection.
(%) L value setting of
loop SV (select
alarm enabled, or it
L SVL 0.000 [SVSCL,SVSCH] is disabled).
Note: SV limit is not
affected by
selection.
H value setting of
loop MV (select
alarm enabled, or it
H MVH 100.000 [MVSCL,MVSCH] is disabled).
Note: MV limit is not
affected by
MV Limits selection.
(%) L value setting of
loop MV (select
alarm enabled, or it
L MVL 0.000 [MVSCL,MVSCH] is disabled).
Note: MV limit is not
affected by
selection.
DMVH Selecting positive
(select - - - velocity alarm is
ed) enabled.
DMVLIM DMVL Selecting negative
Settings (select - - velocity alarm is
ed) enabled.
DMVLI Loop MV velocity
DMVLIM 100.000 -
M limit SV
Feedback Read-only, can be
Track PV BK_OPT - - set in configuration
or program
182
Function Block Reference
Function Block
Application
Panel Parameter Name Parameter Initial Value Value Range
Instruction
Name
Read-only, can be
SV BK_OPT √ - set in configuration
or program
Read-only, can be
Track SVTR_OPT √ - set in configuration
or program
SV Track
Read-only, can be
Not
SVTR_OPT - - set in configuration
Track
or program
Read-only, can be
Panel MAN_OPT √ - set in configuration
MAN_OP or program
T Settings Read-only, can be
Progra
MAN_OPT - - set in configuration
m
or program
Read-only, can be
Panel SV_OPT - - set in configuration
SV_OPT or program
Settings Read-only, can be
Progra
SV_OPT √ - set in configuration
m
or program
Read-only, track
TV TV TV 0.000 -
input value(%)
Related parameter:
RAMP RAMP RAMP 100.000 No less than 0
SWRAMP
2.11.3 Flag
Table 2-40 Flag List
183
Function Block Reference
Two liquids should be mixed by a ratio of F1/F2=1.4 to produce a new product. Suppose the flow
F1 is measured by tag FL001 and F2 is measured by tag FL002, the valve is controlled by FC001.
RC FC
F1 F2
产品
RATIO function block parameter setting (set in the function block properties settings interface).
FlowControl1
CSV: 1.4
SVEU: m3 /s
MVEU: m3 /s
Function block parameter setting (set in the function block properties settings interface).
FlowControl2
184
Function Block Reference
SVEU: m3 /s
MVEU: %
When debugging program, first invoke the function block panel and open the adjusting interface. If
the function block is in IMAN mode, review the tag information of FC001, and adjust the status of
FC001 until FC001.BKOUTERR=OFF, and the FlowControl2 is in MAN mode.
During industrial manufacture, technically there always have 2 or more materials mixed
proportional, wrong proportion will influence manufacture or cause accident. The control system
achieving the proportion for 2 or more parameters is ratio control system.
The master parameter (master momentum) G1 in ratio control system, is leading and not
controlled by ratio control system. The subordinate and controlled material is slave parameter
(slave momentum). Values are controlled to keep G2/G1=K, i.e. change slave parameter to
reach the ratio with master parameter.
Ratio control system can be divided into single closed loop ratio control system and dual-closed
loop ratio control system by whether the master parameter is adjustable, or divided into static ratio
control system and change ratio control system by whether the ratio K is adjustable.
The program is shown in Figure 2-39, which can apply RATIO and PIDEX.
185
Function Block Reference
MODE_OPT: OFF
SVSCL, SVSCH, SVEU: same (unit) with MVSCL, MVSCH, MVEU. Same input PV
range and unit are recommended with PID function block.
MODE_OPT: OFF
MAN_OPT: ON
PSWAM: ON
Alarm settings:
When slave momentum (i.e. PID function block) input PV fault, the PID loop enters
into PVERR status, and the loop enters into manual status automatically, PID output
MV keeps the same.
186
Function Block Reference
When master momentum (i.e. RATIO function block) input PV fault, the PID loop
enters into SVERR status, and the loop will enter into auto status automatically if in
cascade status, PID SV keeps the same.
Input PV second level H/L alarm of master and slave momentums are set as required in
RATIO and PID function blocks. Set the deviation alarm for PID loop as required if
have valve position feedback. Disable other alarms.
BKIN should connect the down stream function block BKOUT, BKINERR should connect the down
stream function block BKOUTERR. The down stream function block of proportion control function
block RATIO is PID function block. The down stream function block of PID function block is AO
tag.
Note:
The input signal is allocated by split control function block according to range of the two output. It
only has the control output action of position type.
Please refer to the 0 and 2.1 before using the function block.
187
Function Block Reference
188
Function Block Reference
189
Function Block Reference
190
Function Block Reference
The two output values MV1 and MV are calculated by SPLIT function block according to SV. Users
can preset range of the output value (SRH1, SRL1, SRH2, SRL2) according to SV. The range of
output value must be in the range of SV and SRH1>SRL1, SRH2>SRL2, SRL1=SVSCL,
SRH2=SVSCH.
191
Function Block Reference
MVSCH i MVSCLi
CALC i MVSCLi * ( SV SRLi )
SRH i SRLi
MVSCH i MVSCLi
CALC i MVSCH i * ( SV SRLi )
SRH i SRLi
The function block calculates output value of each output pin according to SV and allocates
signals to output terminals. And output pin can be specified by signal allocation switch.
Direct movement: Output value MV changes in the same direction with set value SV.
Reverse movement: Output value MV changes in the reverse direction with set value SV.
Set value SV is limited between high limit of set value SVH and low limit of set value SVL.
Low limit of output 1 movement is equal to low limit of set value range;
High limit of output 2 movement is equal to high limit of set value range;
High limit of output 1 movement is less than or equal to high limit of set value range;
192
Function Block Reference
Low limit of output 2 movement is less than or equal to low limit of set value range.
Note 5. SV fallback
SV fallback function is used to keep set values consistent for bumpless transfer. In auto and
manual mode, CSV is equal to SV. In cascade mode, SV is equal to CSV.
When only one used to output, if it is in auto or manual mode, set value is reversely calculated by
manual value.
When two channels used to output, if it is in the mode of manual or track, set value is reversely
calculated by manual value of two channels. If differential value between reversely calculated SV
and SV is smaller than 1% of the range, reversely calculated SV fallbacks, otherwise does not
fallback.
i=1 or 2.
When SWOOS is OFF, if BKINERR1 and BKINERR2 are ON, the function block is in IMAN mode;
if one of them is OFF, the function block will be change to other valid mode from IMAN. Output of
the one with value OFF is in manual mode and output value of the one with value ON tracks
corresponding BKIN value.
193
Function Block Reference
Function
Block Application
Panel Parameter Name Initial Value Value Range
Parameter Instruction
Name
Preference Output1 action
SRH1 SRH1 100.000 -
MV1 Action maximum
Limits (%) Output1 action
SRL1 SRL1 0.000 -
minimum
MV2 Action Output2 action
SRH2 SRH2 100.000 -
Limits (%) maximum
194
Function Block Reference
Function
Block Application
Panel Parameter Name Initial Value Value Range
Parameter Instruction
Name
Output2 action
SRL2 SRL2 0.000 -
minimum
H value setting of
loop SV (select
alarm enabled, or it
[SVSCL,SVSC
H SVH 100.000 is disabled).
H]
Note: SV limit is not
affected by
SV Limits
selection.
(%)
L value setting of
loop SV (select
alarm enabled, or it
[SVSCL,SVSC
L SVL 0.000 is disabled).
H]
Note: SV limit is not
affected by
selection.
H value setting of
loop MV1 (select
alarm enabled, or it
H(MVH [MVSCL,MVSC
MVH1 100.000 is disabled).
1) H]
Note: MV limit is not
affected by
MV1 Limits selection.
(%) L value setting of
loop MV1 (select
alarm enabled, or it
L(MVL [MVSCL,MVSC
MVL1 0.000 is disabled).
1) H]
Note: MV limit is not
affected by
selection.
H value setting of
loop MV2 (select
alarm enabled, or it
H(MVH [MVSCL,MVSC
MVH2 100.000 is disabled).
2) H]
Note: MV limit is not
affected by
MV2 Limits selection.
(%) L value setting of
loop MV2 (select
alarm enabled, or it
L(MVL [MVSCL,MVSC
MVL2 0.000 is disabled).
2) H]
Note: MV limit is not
affected by
selection.
Balance ramp
MV Ramp RP1 RP1 100.000 -
coefficient1
Parameter
Settings Balance ramp
RP2 RP2 100.000 -
coefficient2
195
Function Block Reference
Function
Block Application
Panel Parameter Name Initial Value Value Range
Parameter Instruction
Name
Related parameter:
SW, SW=3,
Both SW √ -
distributed to two
output points.
Related parameter:
Neither SW - - SW,SW=0,Stop
signal distribution
Panel MAN_OPT √ - OFF=Panel control
MAN_OPT
Settings Progra ON=Program
MAN_OPT - -
m control
Panel SV_OPT - - OFF=Panel control
SV_OPT
Settings Progra ON=Program
SV_OPT √ -
m control
TV1 TV1 0.000 - Track input value 1
TV
TV2 TV2 0.000 - Track input value 2
Output 1
direct/reverse
Direct SWPN1 - -
selection:
OFF=Direct
Output 1
Output
Revers 1direct/reverse
SWPN1 √ -
e selection:
ON=Reverse
Output
2direct/reverse
Direct SWPN2 - -
selection:
OFF=Direct
Output 2
Output
Revers 2direct/reverse
SWPN2 √ -
e selection:
ON=Reverse
2.12.3 Flag
Table 2-43 Flag List
Supervision
Flag Code Description
Assign
D0 Disable (SWOOS) Tag Disable (OOS)
D1 Disable Man Initialize (IMAN)
D2 Disable Manual (MAN)
D3 Disable Track (TR)
D4 Enable (SWAM) Automatic (AUTO)
D5 Enable (SWSV) Cascade (CAS)
D8 Disable MV1 High Limit Alarm (MVH1)
D9 Disable MV1 Low Limit Alarm (MVL1)
D10 Disable MV2 High Limit Alarm (MVH2)
D11 Disable MV2 Low Limit Alarm (MVL2)
D12 Disable SV High Limit Alarm (SVH)
D13 Disable SV Low Limit Alarm (SVL)
D18 Disable Alarm of Range High/Low Limit Reversal (REVSCL)
196
Function Block Reference
Supervision
Flag Code Description
Assign
D19 Disable Alarm for Config Error (CFGERR)
D25 Enable (AOF) Alarm Suppression(AOF)
2.12.4 Application Example1
It controls input based on the product output flow in the reaction kettle, and applies two control
valves to ensure the control precision and fast reaction of the valve. The valve for F1 controls via
tag FC001 and is a precision adjust valve. The valve for F2 controls via tag FC002 and is a rough
adjust valve. FO measures via tag FL001.
Split function block parameter setting (set in the function block properties settings interface).
FeedInControl1
SRH1: 30
SRL2: 20
SVEU: %
MVEU1: %
197
Function Block Reference
MVEU2: %
FeedInControl2
SVEU: m3 /s
MVEU: %
After download, exit FeedInControl1 and FeedInControl2 from OOS mode, debug FeedInControl1
first and then debug FeedInControl2.
When debugging program, first invoke the function block panel and open the adjusting interface. If
the function block is in IMAN mode, review the tag information of FC001 and FC002, and adjust
the status of FC001 and FC002 until FC001.BKOUTERR=OFF, FC002.BKOUTERR=OFF, and the
FlowControl2 is in MAN mode, as shown below. It can be switched manually.
198
Function Block Reference
In the split control scheme of steam branch cylinder shown in Figure 2-43, the adjust object is
gas-distributing pressure, executor is enter steam valve (valve A) and vent valve (valve B).
199
Function Block Reference
The action curve is shown below. When PID adjuster outputs 0~50%, valve A acts from wholly
open to wholly closed, valve B is wholly closed. When PID adjuster outputs 50~100%, valve A is
wholly open, and valve B acts from wholly closed to wholly open.
Build Program
The program can be built by PIDEX (extended PID control function block), SPLIT (split control
function block) and MANUAL (handheld function block). The split point of SPLIT can be set in
range 0-100%. Details are shown below.
200
Function Block Reference
Parameter Settings
201
Function Block Reference
MV L limit MVL, H limit MVH, keep the default 0 and 100 for adjusting valve if MV
limit function is limited;
Select PID_OPT as PID type, keep the default PD_I mode (i.e. PID_OPT=2,
proportion differential in advance).
Back mode MODE_OPT keeps the default manual (i.e. MODE_OPT=OFF).
Internal/ external set control source SV_OPT keeps the default program control
(SV_OPT=ON).
Note: SV_OPT settings for above parameters are used to avoid mistake setting loop
as “Cascade” mode on panel.
Handheld PV range low value PVSCL, high value PVSCH, unit PVEU, MV range
low value MVSCL, high value MVSCH, unit MVEU are all set as 0~100%.
Manual/auto of handheld selects control source as manual (i.e. MAN_OPT=OFF).
Note: BKIN of upstream function block should connect BKOUT of down stream
function block, BKINERR should connect BKOUTERR of down stream. The down
stream function block of PID function block is split function block. The down stream
202
Function Block Reference
function block of split function block is handheld function block. The down stream
function block of handheld function block is AO tag.
Alarm Settings
Alarm functions of PID function block should set alarm enable and alarm limit as
required.
Alarm functions of handheld function block should set alarm enable and alarm limit as
required.
Notes
If input PV has fault, the PID loop enters into PVERR status, the loop enters into manual
status automatically. PID output MV keeps the same.
Design for split control should judge the positive/ negative output of loop first, then
decide the split interval, such as split point bit 50% (AO output 12mA). Split action
intervals of adjusting valves are generally continuous, while not continuous or
overlapping are also acceptable.
Split control for 3 or more adjusting valves need to add SPLIT function block, 2-level split.
Valve position curves of typical dual-adjust valve split control are shown below (not
limited to examples here):
203
Function Block Reference
Auto/manual output can be set by handheld function block. In manual mode, output value can be
tuned; in auto mode, output can be tuned according to input value of upstream FB; In track mode,
output value changes with track value set; The function of forced manual mode is same as manual
mode but this mode cannot be transferred to manual mode and auto mode.
Please refer to the Section 1 and 2.1 before using the function block.
204
Function Block Reference
Application
Name Description Upload Properties
Reference
The same as
Configuratio
MVSCH MV high scale - MV actual value
n Parameter
H limit.
The same as
Configuratio
MVSCL MV low scale - MV actual value
n Parameter
L limit.
The same as
Configuratio
PVSCH PV high scale - PV actual value
n Parameter
H limit.
The same as
Configuratio
PVSCL PV low scale - PV actual value
n Parameter
L limit.
Set in the
function block
Configuratio
MVEU MV engineer unit - properties
Range n Parameter
settings
Settings interface.
Used for data
displayed on
MV decimal digits Configuratio
MVDLEN - function block
Basic [0,5] n Parameter
panel (equal to
Parameters 3 as default).
Set in the
function block
Configuratio
PVEU PV engineer unit - properties
n Parameter
settings
interface.
Used for data
displayed on
PV decimal digits Configuratio
PVDLEN - function block
[0,5] n Parameter
panel (equal to
3 as default).
Value range
[MVSCL,MVSC
Operation
MVH MV H limit value TRUE H]
Parameter
Perform H limits
Output for output value
Limits Value range
[MVSCL,MVSC
Operation
MVL MV L limit value TRUE H]
Parameter
Perform L limits
for output value
205
Function Block Reference
Application
Name Description Upload Properties
Reference
Connect to
Extended BKOUT of
Parameters BKIN Feedback input - Input Pin
downstream
block
Connect to
Feedback status BKOUT of
BKINERR - Input Pin
input downstream
block ERR
External loop
Upstream block
IN - Input Pin control value
input value
MV
Base Process value of Connect to
Input Pin PV loop closed control - Input Pin measuring point
Settings process AI
Connect to
measuring point
Track input value
AI
TV (In track mode, - Input Pin
Related
MV=TV )
parameter:
SWTR
Connect to
upstream
Track switch:
interlock
SWTR OFF=not track, - Input Pin
condition input,
ON=track
Related
parameter: TV
Connect to
Advance Forced manual
upstream
Input Pin switch:
EMMAN - Input Pin interlock
Settings OFF=off,
condition input,
ON=manual
Refer to Note1
Program manual and
auto control switch, Connect the
OFF=program upstream output
PSWAM - Input Pin
manual control, Enabled when
ON=program auto MAN_OPT=ON
control
Manual-automatic
control source
Connect the
switch, ON=
upstream output
manual-automatic
Related
MAN_OPT selection controlled - Input Pin
parameter:
by PSWAM, OFF=
PSWAM,
manual-automatic
SWAM
selection controlled
by SWAM
Connect the
MV lock increase
upstream output
(MV cannot
Enabled when
SWINC increase) switch - Input Pin
the function
SWINC=ON, lock
block is auto or
increase
cascade
206
Function Block Reference
Application
Name Description Upload Properties
Reference
Connect the
MV lock decrease upstream
(MV cannot output. enabled
SWDEC decrease) switch - Input Pin when function
SWINC=ON, lock block is
decrease automatic or
cascade
MV holds the current
Connect to
output value, ON=
HOLD - Input Pin upstream
hold the current
output,
output value
Connect to
PID operation output
MV - Output Pin electric manual
value
instrument
Connect to the
BKIN of
Feedback output Upstream
Output BKOUT - Output Pin
value Block, Related
Pin parameter:
BK_OPT
Connect to the
BKOUTER Feedback status
- Output Pin BKINERR of
R value
Upstream Block
MODE Work mode - Output Pin
PV HH limit alarm Operation
PVHH TRUE Refer to 2.1.2
value Parameter
PV H limit alarm Operation
PVH TRUE Refer to 2.1.2
value Parameter
Input
Alarm PV L limit alarm Operation
PVL TRUE Refer to 2.1.2
Settings value Parameter
PV LL limit alarm Operation
PVLL TRUE Refer to 2.1.2
value Parameter
Process value alarm Operation
PVHYS TRUE Refer to 2.1.2
hysteresis Parameter
MODE_OP ON=auto return, Configuratio
- Refer to 2.1.1
T OFF=manual return n Parameter
Balance time
Operation without
TB Balance time TRUE
Parameter interference
Advance switch
Settings Whether to equal to
Related
preset MV value Operation
SWMMV TRUE parameter:
when switch to Parameter
MMV
manual status
Preset MV value Operation Enabled when
MMV TRUE
(switch to manual) Parameter SWMMV=ON
207
Function Block Reference
Application
Name Description Upload Properties
Reference
Set MV manual
slow
increase/decrea
se percentage
MV manual slow in function block
Operation
SMV increase/decrease TRUE properties
Parameter
value (%) setting,
SMV≤FMV
Related
Fase/Slo
parameter:
w/Increas
MVSCH
e/Decreas
e Settings Set MV manual
fast
increase/decrea
se percentage
MV manual fast
Operation in function block
FMV increase/decrease TRUE
Parameter properties
value (%)
setting
Related
parameter:
MVSCL
PVHH alarm Monitoring
PVHHIND - Refer to 2.1.6
indication Parameter
PV H Limit alarm Monitoring
PVHIND - Refer to 2.1.6
indication Parameter
PV L limit alarm Monitoring
PVLIND - Refer to 2.1.6
Alarm indication Parameter
PV LL limit alarm Monitoring
PVLLIND - Refer to 2.1.6
indication Parameter
MV H limit alarm Monitoring
MVHIND - Refer to 2.1.6
indication Parameter
MV L limit alarm Monitoring
MVLIND - Refer to 2.1.6
indication Parameter
Manual and auto
Enabled when
switch: Operation
SWAM - MAN_OPT=OF
OFF=manual, Parameter
F
ON=auto
When
Operator SWFIX=ON, not
Command output the
Operation control logic
SWFIX Fix command -
Parameter result of
function block to
downstream
function block
The output
value MV is
Manual equal to manual
Operation
Output MANMV Manual output value - SVMANMV in
Parameter
Value forced manual
or manual
mode.
Extended range
Configuratio
Extended HORLIM maximum - Refer to 2.1.5
n Parameter
Range percentage
Settings Extended range Configuratio
LORLIM - Refer to 2.1.5
minimum percentage n Parameter
208
Function Block Reference
Application
Name Description Upload Properties
Reference
Suppress module
Operation
Alarm AOF alarm, On=prohibit TRUE Refer to 2.1.6
Parameter
Enabled to display alarm.
and Alarm
ENALM Alarm enable TRUE Refer to 2.1.6
Suppress Parameter
FLAG Flag - Output Pin Refer to 2.1.6
Set as ON at
OOS mode setting
Operation the first time of
SWOOS switch (ON= OOS TRUE
Parameter function block
mode)
downloading
Related
OOS mode output Operation
OOS OOSVAL TRUE parameter:
value Parameter
Settings OOS_OPT=ON
OOS mode output
value type. when
OOS_OPT =ON, Configuratio
OOS_OPT - Refer to 1.1.1
MV=OOSVAL, when n Parameter
OOS_OPT =OFF,
maintain the MV
Running mode of analogy manual instrument function block: OOS, IMAN, TR, FORCEMAN, MAN,
AUTO.
In non-track mode, i.e., SWTR=OFF and EMMAN=ON, it is in forced manual mode. The function
is same as manual mode but it only can be transferred to the track mode.
Note2: Balance value= IN-MV when manual/auto switch, if balance time TB is set as larger than
cycle TS value, so MV will be near IN after manual/auto switch, but not become IN directly. Achive
no disturbance function.
209
Function Block Reference
Function
Block Application
Panel Parameter Name Initial Value Value Range
Parameter Instruction
Name
HH alarm value
PV setting of loop PV
Preference HH PVHH 100.000 [SVSCL,SVSCH] (select alarm
Alarm
enabled, or it is
disabled).
210
Function Block Reference
Function
Block Application
Panel Parameter Name Initial Value Value Range
Parameter Instruction
Name
H alarm value setting
of loop PV(select
H PVH 90.000 [SVSCL,SVSCH]
alarm enabled, or it
is disabled)
L alarm value setting
of loop PV(select
L PVL 10.000 [SVSCL,SVSCH]
alarm enabled, or it
is disabled)
LL alarm value
setting of loop PV.
LL PVLL 0.000 [SVSCL,SVSCH] (select alarm
enabled, or it is
disabled)
Hystere PV Process value
HYS 0.000 -
sis alarm hysteresis
Balan
ce Balance time without
TB (s) TB (s) 0.000 -
Time interference switch
(s)
Trac Read-only, track
Trac (%) Trac (%) 0.000 -
(%) input value(%)
H value setting of
loop MV (select
alarm enabled, or it
H MVH 100.000 [MVSCL,MVSCH]
is disabled).
Note: MV limit is not
MV affected by selection.
Limits
(%) L value setting of
loop MV (select
alarm enabled, or it
L MVL 0.000 [MVSCL,MVSCH]
is disabled).
Note: MV limit is not
affected by selection.
2.13.3 Flag
Table 2-47 Flag List
211
Function Block Reference
To control the field manual adjusting valve, as shown in the figure below, and it can be displayed
and operated in the diagram.
Handheld can perform open-loop control for analog adjusting target, and is no need to perform the
closed-loop PID control. It is often used for controlling field manual adjusting valve, transducer
rotation setting and other control targets.
Its programming is shown below, which can be realized via MANUAL, the interface of host
computer can achieve the control for AO via the tag of function block.
The function block instruction and examples are shown in the table below.
212
Function Block Reference
If measurement value exists, its range should be set as same as the range of PV.
MODE_OPT: OFF
MAN_OPT: ON
BKIN should connect with the BKOUT of downstream function block, BKINERR should
connect with the BKOUTERR of downstream function block. AO tag can be the
downstream function block for single loop.
Set the alarm enabled and limit of alarm function according to the requirements.
The operation parameters MAN_OPT, PSWAM (OFF in default) are set to prevent from wrong
operation to “AUTO” mode by the operator on the panel. The automatic control can be set when
required.
Notice:
The control panel can invoke the name of function block from HMI directly.
The electric manual operation function block provides six work modes which are OOS, IMAN,
TRACK, OP, MAN, AUTO. In auto mode, output can be tuned according to input value of upstream
FB. In manual mode, output value can be tuned manually. In track mode, output value changes
with track value set. In override mode, output value changes with override input.
Please refer to the 0Section 1 Overview and 2.1 Basic Process of Control Function Block before
using the function block.
213
Function Block Reference
Application
Name Description Upload Properties
Reference
The same as MV
Configuratio
MVSCH MV high scale - actual value H
n Parameter
limit.
The same as MV
Configuratio
MVSCL MV low scale - actual value L
n Parameter
limit.
The same as PV
Configuratio
SVSCH SV high scale - actual value H
n Parameter
limit.
The same as PV
Configuratio
SVSCL SV low scale - actual value L
n Parameter
limit.
Set in the
function block
Configuratio
SVEU SV engineer unit - properties
Range n Parameter
settings
Settings interface.
Set in the
function block
Configuratio
MVEU MV engineer unit - properties
n Parameter
settings
interface.
Used for data
Basic displayed on
SV decimal digits Configuratio
Parameters SVDLEN - function block
[0,5] n Parameter
panel (equal to 3
as default).
Used for data
displayed on
MV decimal digits Configuratio
MVDLEN - function block
[0,5] n Parameter
panel (equal to 3
as default).
Operation Value range
SVH SV H limit value TRUE
Parameter [SVSCL,SVSCH]
Operation Value range
SVL SV L limit value TRUE
Parameter [SVSCL,SVSCH]
Value range
Operation
MVH MV H limit value TRUE [MVSCL,MVSCH
Parameter
]
Limits Value range
Operation
MVL MV L limit value TRUE [MVSCL,MVSCH
Parameter
]
MV output rate
variety limit value.
Used to prevent
Operation
DMVLIM the MV from TRUE Refer to 2.1.6
Parameter
overlarge
modification in a
short time.
Base Connect to
Extended BKOUT of
Input Pin BKIN Feedback input - Input Pin
Parameters downstream
Settings
block
214
Function Block Reference
Application
Name Description Upload Properties
Reference
Connect to
Feedback status BKOUT of
BKINERR - Input Pin
input downstream
block ERR
Upstream function External loop
IN - Input Pin
block input value control value MV
Process value of Connect to
PV loop closed - Input Pin measuring point
control process AI
Connect to
upstream
Switch to Manual interlock
TOM - Input Pin
Input condition input,
enabled when it
is ON.
Connect to
upstream
Switch to Auto interlock
TOA - Input Pin
Input condition input,
enabled when it
is ON.
Connect the
OV Override Input - Input Pin upstream output,
Refer to 2.14.1
Upstream
Override Input interlock
OS - Input Pin
Switch condition input,
Refer to Note4
Connect to
measuring point
Track input value
AI.
TV (In track mode, - Input Pin
Related
MV=TV )
parameter:
SWTR.
Connect to
upstream
TR Track Input Switch - Input Pin
interlock
condition input,
Connect the
upstream output,
BSI Bias Input - Input Pin
can be set in
program.
Advance SV SV - Input Pin Refer to 2.1.3
Input Pin
Connect the
Settings
MV lock increase upstream output.
(MV cannot enabled when
SWINC - Input Pin
Increase), ON= function block is
lock increase automatic or
cascade
Connect the
MV lock decrease upstream output.
(MV cannot enabled when
SWDEC - Input Pin
decrease), ON= function block is
Lock decrease automatic or
cascade
215
Function Block Reference
Application
Name Description Upload Properties
Reference
MV holds the
current output
Connect to
HOLD value, ON= hold - Input Pin
upstream output,
the current output
value
Connect to
PID operation
MV - Output Pin electric manual
output value
instrument
Connect to
downstream
Current bias
BSO - Output Pin input
output
Can be set in
program
Output
Pin Connect to the
BKIN of
Feedback output Upstream Block,
BKOUT - Output Pin
value Related
parameter:
BK_OPT
Connect to the
BKOUTE Feedback status
- Output Pin BKINERR of
RR value
Upstream Block
PV HH limit alarm Operation
PVHH TRUE Refer to 2.1.2
value Parameter
PV H limit alarm Operation
PVH TRUE Refer to 2.1.2
value Parameter
Input
Alarm PV L limit alarm Operation
PVL TRUE Refer to 2.1.2
Settings value Parameter
PV LL limit alarm Operation
PVLL TRUE Refer to 2.1.2
value Parameter
Process value Operation
PVHYS TRUE Refer to 2.1.2
alarm hysteresis Parameter
When the
upstream input or
inner logic of
Advance Enable or disable Operation function block is
Settings SWBS TRUE
bias in calculation Parameter set as ON, bias is
enabled in
calculation, Refer
Note2
to
When the
upstream input or
Enable or disable
Operation inner logic of
SWTB balance time in TRUE
Parameter function block is
calculation
set as ON, apply
Balance time
Operation
TB Balance time TRUE -
Parameter
ON=auto return
MODE_O Configuratio
OFF=manual - Refer to 2.1.3
PT n Parameter
return (as default)
216
Function Block Reference
Application
Name Description Upload Properties
Reference
Track PV switch
enable/disable:
OFF=not track,
ON=track. If PV>
SVH/ SVL, SV=
SVTR_O Configuratio
range limit. Used -
PT n Parameter
to prevent the
output MV from
interference when
changing the
control mode.
Set MV manual
slow
increase/decreas
e percentage in
MV manual slow function block
Operation
SMV increase/decreas TRUE properties
Parameter
e value (%) setting,
SMV≤FMV
Related
parameter:
MVSCH
Set MV manual
fast
increase/decreas
MV manual fast e percentage in
Operation
FMV increase/decreas TRUE function block
Parameter
e value (%) properties setting
Related
Fase/Slo
parameter:
w/Increas
MVSCL
e/Decreas
e Settings Set SV manual
slow
increase/decreas
e percentage in
SV slow
Operation function block
SSV increase/decreas TRUE
Parameter properties setting
e value (%)
SSV≤FSV,
Related
parameter:
SVSCH
Set SV manual
fast
increase/decreas
SV fast e percentage in
Operation
FSV increase/decreas TRUE function block
Parameter
e value (%) properties setting
Related
parameter:
SVSCL
Alarm PVHH alarm Monitoring
PVHHIND - Refer to 2.1.6
indication Parameter
PV H Limit alarm Monitoring
PVHIND - Refer to 2.1.6
indication Parameter
PV L limit alarm Monitoring
PVLIND - Refer to 2.1.6
indication Parameter
PV LL limit alarm Monitoring
PVLLIND - Refer to 2.1.6
indication Parameter
217
Function Block Reference
Application
Name Description Upload Properties
Reference
MV H limit alarm Monitoring
MVHIND - Refer to 2.1.6
indication Parameter
MV L limit alarm Monitoring
MVLIND - Refer to 2.1.6
indication Parameter
SV H limit alarm Monitoring
SVHIND - Refer to 2.1.6
indication Parameter
SV L limit alarm Monitoring
SVLIND - Refer to 2.1.6
indication Parameter
DMVHIN MV positive rate Monitoring
- Refer to 2.1.6
D limit indication Parameter
MV negative rate Monitoring
DMVLIND - Refer to 2.1.6
limit indication Parameter
Operation
MAN Manual switch - Refer to 2.1.1
Operator Parameter
Command Operation
AUTO Auto switch - Refer to 2.1.1
Parameter
The function
block is in MAN
OM Manual output - Output Pin
mode, OM=ON,
or OM=OFF
Connect to
measuring point
AI (feedforward
Output signal),
compensation, Related
Status OA used for - Output Pin parameter: OK,
feedforward OB
control The function
block is in AUTO
mode, OA=ON,
or OA=OFF
Monitoring
MODE Work mode -
Parameter
Standby work Monitoring
IMODE - Refer to 2.1.1
mode Parameter
Manual Output value=
Manual output Operation
Output MANMV - MANMV in
value Parameter
Value manual mode
Extended range
Configuratio
HORLIM maximum - Refer to 2.1.5
n Parameter
percentage
Extended range
Configuratio
LORLIM minimum - Refer to 2.1.5
n Parameter
Extended percentage
Range Suppress module
Settings alarm, Operation
AOF TRUE Refer to 2.1.6
On=prohibit to Parameter
display alarm.
Alarm
ENALM Alarm enable TRUE Refer to 2.1.6
Parameter
FLAG Flag - Output Pin Refer to 2.1.6
Set as ON at the
OOS OOS mode
Operation first time of
Settings SWOOS setting switch TRUE
Parameter function block
(ON= OOS mode)
downloading
218
Function Block Reference
Application
Name Description Upload Properties
Reference
Related
OOS mode output Operation
OOSVAL TRUE parameter:
value Parameter
OOS_OPT=ON
OOS mode output
value type. when
OOS_OPT =ON,
OOS_OP Configuratio
MV=OOSVAL, - Refer to 1.1.1
T n Parameter
when OOS_OPT
=OFF, maintain
the MV
The electric manual operation function block provides six work modes which are OOS, IMAN, TR,
OS, MAN, AUTO.
OS mode (MODE=11)
When SWOOS=OFF, BKINERR=OFF, TR=OFF and OS=ON, the function block is in OS mode,
MV=OV in this case.
In MAN mode, BSO = MV-IN, if now SWTB = OFF, BSO will be back written to BSI.
When it is switched to AUTO mode from other modes, there may be huge bias between the value
calculated from Input IN and the value of original output. In order to make output transition smooth,
use first inertia balance process. The output step is shown as follows:
219
Function Block Reference
Note 4. OS logic
OS logic means that when the self-control system receiving abnormal signals, such as accident
alarm, bias alarm and fault, the OS logic will perform logic functions, such as switching auto to
manual, increase priority, decrease priority, increase prohibited, decrease prohibited, etc., and
transform the system to the safe status set previously.
220
Function Block Reference
Panel
Application
Name Paramete Initial Value Value Range
Instruction
r Name
HH alarm value
PV Alarm setting of loop PV
Preference Limit HH PVHH 100.000 [SVSCL,SVSCH] (select alarm
Settings enabled, or it is
disabled).
221
Function Block Reference
Panel
Application
Name Paramete Initial Value Value Range
Instruction
r Name
H alarm value
setting of loop
H PVH 90.000 [SVSCL,SVSCH] PV(select alarm
enabled, or it is
disabled)
L alarm value
setting of loop
L PVL 10.000 [SVSCL,SVSCH] PV(select alarm
enabled, or it is
disabled)
LL alarm value
setting of loop PV.
LL PVLL 0.000 [SVSCL,SVSCH] (select alarm
enabled, or it is
disabled)
PV Process value
Hystere PVHYS 0.000 -
alarm hysteresis
H value setting of
loop SV (select
alarm enabled, or it
H SVH 40.000 [SVSCL,SVSCH] is disabled).
Note: SV limit is not
affected by
SV Limit selection.
Settings L value setting of
loop SV (select
alarm enabled, or it
L SVL 0.000 [SVSCL,SVSCH] is disabled).
Note: SV limit is not
affected by
selection.
H value setting of
loop MV (select
alarm enabled, or it
H MVH 100.000 [MVSCL,MVSCH] is disabled).
Note: MV limit is not
affected by
MV Limit selection.
Settings L value setting of
loop MV (select
alarm enabled, or it
L MVL 0.000 [MVSCL,MVSCH] is disabled).
Note: MV limit is not
affected by
selection.
Read-only, Bias
BSI BSI 0.000 -
Input
Read-only,
Mode IN IN 0.000 - Upstream function
block input value
Read-only, Override
OV OV 0.000 -
Input
222
Function Block Reference
Panel
Application
Name Paramete Initial Value Value Range
Instruction
r Name
Can only debug in
custom program,
Keep HOLD Off ON/OFF Select it and the
indicator on panel is
ON.
Can only debug in
Lock custom program,
Options Increase SWINC Off ON/OFF Select it and the
indicator on panel is
ON.
Can only debug in
custom program,
Decrease SWDEC Off ON/OFF Select it and the
indicator on panel is
ON.
2.14.3 Flag
Table 2-51 Flag List
223
Function Block Reference
2.14.4 Example
Adjust the temperature 11_44TE21A to achieve the temperature automatic control, and can be
shown and operated in graphics.
Single loop (simple control system), refers to a closed loop feedback control system consisted of a
controlled object, a detection transducer, a controller and a performer. It is often applied in
occasion with short delay time for controlled object, not a lot changes for load anf inteference, and
not high requirements for control quality.
Detail program is shown in Figure 2-49, in which applies PID control function block and handheld
function block. Operation node interface can achieve monitoring and control of loop in graphics via
calling handheld function block tag.
224
Function Block Reference
002 11_44TCV03_OP Function block tag Handheld function block tag MANUAL_EP
PSWAM: ON
MAN_OPT: ON
SV_OPT: ON
PID_OPT: 1
SVTR_OPT: ON
MODE_OPT: ON
DL (deviation alarm value of PV and SV) is set as 10% of controlled object range.
DMVLIM: 5
MODE_OP=OFF
BKIN should connect BKOUT of handheld function block,BKINERR should connect BKOUTERR
of handheld function block.
225
Function Block Reference
DMVLIM: 2
Alarm settings
Note:
Control panel can call function block name from HMI directly.
ASH function block can implement the input selection of the first channel, when value of the
second channel is larger than that of the first, the output switches to the second channel and alarm
is generated. It will not be switched to first channel until the value of the first channel is larger than
that of the second, meanwhile the alarm is eliminated.
Please refer to the 0 and 2.1 before using the function block.
Application
Name Description Upload Properties
Reference
Basic Range The same as the
Input Range Configuration
Parameters Settings INSCH - actual value of IN
H Parameter
H
226
Function Block Reference
Application
Name Description Upload Properties
Reference
The same as the
Configuration
INSCL Input Range L - actual value of IN
Parameter
L
The same as the
Output Range Configuration
OUTSCH - actual value of
H Parameter
OUT H
The same as the
Output Range Configuration
OUTSCL - actual value of
L Parameter
OUT L
Set in the function
IN actual Configuration
INEU - block properties
value unit Parameter
settings interface.
Set in the function
OUT actual Configuration
OUTEU - block properties
value unit Parameter
settings interface.
Used for data
Input displayed on
Configuration
INDLEN decimal digits - function block
Parameter
[0,5] panel (equal to 3
as default).
Used for data
Output displayed on
OUTDLE Configuration
decimal digits - function block
N Parameter
[0,5] panel (equal to 3
as default).
Contact to AI tag
Refer to Note1, 2
Extended Control the output
Parameters IN1 Input 1 - Input Pin and has the overall
switch function
from input range to
output range
Connect to
measuring point
ALM1 Input 1Alarm - Input Pin
AI.ERR
Note1, 2
Refer to
Contact to AI tag
Note1, 2
Refer to
Control the output
Input Pin IN2 Input 2 - Input Pin and has the overall
switch function
from input range to
output range
Connect to
measuring point
ALM2 Input 2Alarm - Input Pin
AI.ERR
Refer to Note1, 2
Connect to
Feedback
BKIN - Input Pin BKOUT of
input
downstream block
Connect to
Feedback BKOUT of
BKINERR - Input Pin
status input downstream block
ERR
Connect to electric
Output Pin OUT Output value - Output Pin manual instrument
Refer to Note2
227
Function Block Reference
Application
Name Description Upload Properties
Reference
Connect to the
BKIN of Upstream
Feedback
BKOUT - Output Pin Block, Related
output value
parameter:
BK_OPT
Connect to the
BKOUTE Feedback
- Output Pin BKINERR of
RR status value
Upstream Block
Balance switch is
used when the
output selection
source changed,
and performs
Balance Operation
TFLT TRUE smooth transition
switch time (s) Parameter
for the output
value. When
Advance TFLT=0.0, the
Settings balance is
disabled.
Safety mode
selection
(OFF=
SAFE_OP Configuration Note3
ordinary - Refer to
T Parameter
mode, ON=
advanced
mode)
Display the
Input 1 Monitoring
SEL1 - currently selected
selected Parameter
signal1
Display the
Input 2 Monitoring
SEL2 - currently selected
selected Parameter
signal2
Input 1 bad Monitoring Display the signal
ERR1 -
quality Parameter quality1
Input 2 bad Monitoring Display the signal
ERR2 -
quality Parameter quality2
Status
Monitoring
ERR Module fault -
Parameter
Note1
Refer to
Override Monitoring
OVERIDE - “Override Alarm”
Alarm Parameter Note4
MV holds the
current output
value, ON= Monitoring Connect to
HOLD -
hold the Parameter upstream output,
current output
value
Suppress
module alarm. Operation
AOF TRUE Refer to 2.1.6
Alarm On=prohibit to Parameter
Enabled and display alarm.
Suppress Alarm
ENALM Alarm enable TRUE Refer to 2.1.6
Parameter
FLAG Flag - Output Pin Refer to 2.1.6
228
Function Block Reference
Application
Name Description Upload Properties
Reference
OOS mode Set as ON at the
OOS setting switch Operation first time of
SWOOS TRUE
Settings (ON= OOS Parameter function block
mode) downloading
If IN1<IN2, then OUT=IN2 and OVERRIDE=ON, until IN1≧IN2, alarm OVERRIDE=OFF and
OUT=IN1.
When IN1 is selected, if ALM1=ON, then ERR1=ON, OUT is maintained, and BKOUTERR=ON, it
will not be switched to output IN2 even if IN1<IN2.
When IN1 is selected, if ALM2=ON, then ERR2=ON, OUT and BKOUTERR will depend on the
selection of security mode.
When IN2 is selected, if ALM2=ON, then ERR2=ON, OUT is maintained, and BKOUTERR=ON, it
will not be switched to output IN1 even if IN1≧IN2.
When IN2 is selected, if ALM1=ON, then ERR1=ON, OUT and BKOUTERR will depend on the
selection of security mode
When SAFE_OPT=OFF, if one input channel (IN1) is selected while the other input channel (IN2)
generates alarm (ALMn), the current selected channel (IN1) will be still selected and
BKOUTERR=OFF.
When SAFE_OPT=ON, if one channel used to output while the other generates input alarm
(ALMn), the output will be maintained and BKOUTERR=ON.
229
Function Block Reference
Panel
Initial
Name Parameter Value Range Application Instruction
Value
Name
230
Function Block Reference
Panel
Initial
Name Parameter Value Range Application Instruction
Value
Name
Balance Time
Switch Time Coefficient TFLT 1.000 - -
(s) (TFLT)
2.15.3 Flag
Table 2-55 Flag
Flag Instruction
D0 Hold
D1 IN1
D2 IN2
D3 IN3
D4 High Selection
D5 Medium Selection
D6 Low Selection
D7 Override Alarm
D8 Disabled
D9 Manual Initialize (IMAN)
D10 Selection 1
D11 Selection 2
D12 Selection 3
D13 IN1 Quality is Bad
D14 IN2 Quality is Bad
D15 IN3 Quality is Bad
D16 Suppression 1
D17 Suppression 2
D18 Suppression 3
D19 Alarm for Config Error (CFGERR)
D20 Alarm Suppression (AOF)
D21 Manual (MAN)
D22 Automatic (AUTO)
D23 Error
231
Function Block Reference
ASL function block can implement the input selection of the first channel, when value of the
second channel is smaller than that of the first, the output switches to the second channel and
alarm is generated. It will not be switched to first channel until the value of the first channel is
smaller than that of the second, meanwhile the alarm is eliminated.
Please refer to the 0 and 2.1 before using the function block.
Application
Name Description Upload Properties
Reference
232
Function Block Reference
Application
Name Description Upload Properties
Reference
Used for data
displayed on
OUTDL Output decimal Configuration
- function block
EN digits [0,5] Parameter
panel (equal to
3 as default).
Contact to AI
tag
Refer to Note1,
Note2
Contact to AI
tag
Note1, 2
Refer to
Input Pin Control the
output and has
IN2 Input 2 - Input Pin
the overall
switch function
from input
range to output
range
Connect to
measuring point
ALM2 Input 2Alarm - Input Pin
AI.ERR
Refer to note1, 2
Connect to
BKOUT of
BKIN Feedback input - Input Pin
downstream
block
Connect to
BKINER Feedback BKOUT of
- Input Pin
R status input downstream
block ERR
Connect to
electric manual
OUT Output Value - Output Pin
instrument
Refer to Note2
Connect to the
Output BKIN of
Pin Feedback Upstream
BKOUT - Output Pin
output value Block, Related
parameter:
BK_OPT
Connect to the
BKOUT Feedback
- Output Pin BKINERR of
ERR status value
Upstream Block
233
Function Block Reference
Application
Name Description Upload Properties
Reference
Balance switch
is used when
the output
selection source
changed, and
performs
Balance switch Operation
TFLT TRUE smooth
time (s) Parameter
transition for the
output value.
AdvanceS
When
ettings
TFLT=0.0, the
balance is
disabled.
Safety mode
selection
SAFE_O (OFF= ordinary Configuration Note3
- Refer to
PT mode, ON= Parameter
advanced
mode)
Display the
Input 1 Monitoring
SEL1 - currently
selected Parameter
selected signal1
Display the
Input 2 Monitoring
SEL2 - currently
selected Parameter
selected signal2
Input 1 bad Monitoring Display the
ERR1 -
quality Parameter signal quality1
Input 2 bad Monitoring Display the
ERR2 -
quality Parameter signal quality2
Monitoring
ERR Module fault -
Status Parameter
Refer to high
select function
Note1
block
OVERID Monitoring
Override Alarm - “Override
E Parameter
Alarm”
Refer to 2.14.1
Note4
Connect the
upstream output
Monitoring
HOLD Hold Status - Enable when in
Parameter
automatic or
cascade mode
Alarm Suppress Operation
AOF TRUE Refer to 2.1.6
Enable module alarm, Parameter
and ENALM Alarm enable TRUE Alarm Parameter Refer to 2.1.6
Suppress
FLAG Flag - Output Pin Refer to 2.1.6
Function block Set as ON at
OOS disabled Operation the first time of
SWOOS TRUE
Settings (ON=prohibited Parameter function block
) downloading
234
Function Block Reference
If IN1>IN2, then OUT=IN2 and OVERRIDE=ON, until back to IN1≦IN2, alarm OVERRIDE=OFF
and OUT=IN1
When OUT=IN1, if ALM1=ON, then ERR1=ON, OUT is maintained, and BKOUTERR=ON, it will
not be switched to output IN2 even if IN1>IN2.
When OUT=IN1, if ALM2=ON, then ERR2=ON, OUT and BKOUTERR will depend on the
selection of security mode.
When OUT=IN2, if ALM2=ON, then ERR2=ON, OUT is maintained, and BKOUTERR=ON, it will
not be switched to output IN1 even if IN1≦IN2.
When OUT=IN2, if ALM1=ON, then ERR1=ON, OUT and BKOUTERR will depend on the
selection of security mod
When SAFE_OPT=OFF, if one channel used to output while the other generates input alarm
(ALMn), the current output channel will be maintained and BKOUTERR=OFF.
When SAFE_OPT=ON, if one channel used to output while the other generates input alarm
(ALMn), and the output is maintained will be maintained and BKOUTERR=ON.
235
Function Block Reference
Function
Block Initial Application
Panel Parameter Name Value Range
Parameter Value Instruction
Name
Selected and the
Preference Alarm input alarm is
Input 1 Quality
Enable ALM1 - ON/OFF enabled
Alarm
Related parameter:
ALM1
236
Function Block Reference
Function
Block Initial Application
Panel Parameter Name Value Range
Parameter Value Instruction
Name
Selected and the
input alarm is
Input 2 Quality
ALM2 - ON/OFF enabled
Alarm
Related parameter:
ALM2
Balance Time
Switch Coefficient TFLT 1.000 - -
Time (TFLT)
2.16.3 Flag
Table 2-58 Flag
Flag Instruction
D0 Hold
D1 IN1
D2 IN2
D3 IN3
D4 High Selection
D5 Medium Selection
D6 Low Selection
D7 Override Alarm
D8 Disabled
D9 Manual Initialize (IMAN)
D10 Selection 1
D11 Selection 2
D12 Selection 3
D13 IN1 QUALITY IS BAD
D14 IN2 Quality is Bad
D15 IN3 Quality is Bad
D16 Suppression 1
D17 Suppression 2
D18 Suppression 3
D19 Alarm for Config Error (CFGERR)
D20 Alarm Suppression (AOF)
D21 Manual (MAN)
D22 Automatic (AUTO)
D23 Error
To achieve the filed-valve adjustment and control as shown in Figure 2-50, two PV detects on the
237
Function Block Reference
loop are LT_3037 and TE_3071. To achieve low select control of loop control, and it can be
operated in flow chart.
Override control is a select control. When in normal working condition, control output will not
overlimit, and can output it directly; when in abnormal working condition, output will exceeds limit,
and the utmost limit method should be applied and select safe control output.
Override control often consists of low select override and high select override. Take two-loop low
select override control as an example.
238
Function Block Reference
SVL, SVH: when SV amplitude is not needed, it should be same with SV range.
Low select override control ASL has range switch function, while in this example, both its
input and output correspond to valve opening, and the units of IN and OUT are set as
0~100%.
INSCL=0
INSCH=100
OUTSCL=0
OUTSCH=0
When PID inputting PV fault occurs, its PID loop enters into PVERR mode, and the loop
switches to manual status automatically, PID outputting MV keeps.
When low select override function block ASL select IN2 as output, override alarm will
generate.
The BKIN of input parameter in upstream function block basic parameter should connect with the
BKOUT of its downstream function block. BKINERR should connect with the BKOUTERR of its
downstream function block. The downsteam function block of PID is ASL. The downsteam function
block of ASL is handheld. The downsteam function block of handheld is AO tag.
Note:
Two-loop high select override control replaces the low select ASL in two-loop low select override
control diagram to high select ASH, as shown below.
239
Function Block Reference
Control panel can invoke the function block name in HMI directly.
It is mainly used for a master loop to distribute output signal to several slave loops. When the first
salve loop is in cascade mode, it will be processed at first, otherwise, process other salve loops.
Please refer to the 0 and 2.1 before using the function block.
Application
Name Description Upload Properties
Reference
240
Function Block Reference
Application
Name Description Upload Properties
Reference
241
Function Block Reference
Application
Name Description Upload Properties
Reference
Set in the function
Configuration
SVEU SV engineer unit - block properties
Parameter
settings interface.
Set in the function
MV1 actual Configuration
MVEU1 - block properties
value unit Parameter
settings interface.
Set in the function
MV2 actual Configuration
MVEU2 - block properties
value unit Parameter
settings interface.
Set in the function
MV3 actual Configuration
MVEU3 - block properties
value unit Parameter
settings interface.
Set in the function
MV4 actual Configuration
MVEU4 - block properties
value unit Parameter
settings interface.
Set in the function
MV5 actual Configuration
MVEU5 - block properties
value unit Parameter
settings interface.
Set in the function
MV6 actual Configuration
MVEU6 - block properties
value unit Parameter
settings interface.
Set in the function
MV7 actual Configuration
MVEU7 - block properties
value unit Parameter
settings interface.
Set in the function
MV8 actual Configuration
MVEU8 - block properties
value unit Parameter
settings interface.
Used for data
displayed on
SV decimal Configuration
SVDLEN - function block
digits [0,5] Parameter
panel (equal to 3
as default).
Used for data
displayed on
MV1 decimal Configuration
MVDLEN1 - function block
digits [0,5] Parameter
panel (equal to 3
as default).
Used for data
displayed on
MV2 decimal Configuration
MVDLEN2 - function block
digits [0,5] Parameter
panel (equal to 3
as default).
Used for data
displayed on
MV3 decimal Configuration
MVDLEN3 - function block
digits [0,5] Parameter
panel (equal to 3
as default).
Used for data
displayed on
MV4 decimal Configuration
MVDLEN4 - function block
digits [0,5] Parameter
panel (equal to 3
as default).
242
Function Block Reference
Application
Name Description Upload Properties
Reference
Used for data
displayed on
MV5 decimal Configuration
MVDLEN5 - function block
digits [0,5] Parameter
panel (equal to 3
as default).
Used for data
displayed on
MV6 decimal Configuration
MVDLEN6 - function block
digits [0,5] Parameter
panel (equal to 3
as default).
Used for data
displayed on
MV7 decimal Configuration
MVDLEN7 - function block
digits [0,5] Parameter
panel (equal to 3
as default).
Used for data
displayed on
MV8 decimal Configuration
MVDLEN8 - function block
digits [0,5] Parameter
panel (equal to 3
as default).
Direct/Reverse
switch. SV is not
changed, the MV
increases with
Direct/Rev OFF=Direct
the increasing of
erse Switch Operation action,
SWPN1 PV in direct TRUE
Settings Parameter ON=Reverse
action, and
action
decreases with
the increasing of
PV in reverse
action.
Direct/Reverse
switch. SV is not
changed, the MV
increases with
OFF=Direct
the increasing of
Operation action,
SWPN2 PV in direct TRUE
Parameter ON=Reverse
action, and
action
decreases with
the increasing of
PV in reverse
action.
Direct/Reverse
switch. SV is not
changed, the MV
increases with
OFF=Direct
the increasing of
Operation action,
SWPN3 PV in direct TRUE
Parameter ON=Reverse
action, and
action
decreases with
the increasing of
PV in reverse
action.
243
Function Block Reference
Application
Name Description Upload Properties
Reference
Direct/Reverse
switch. SV is not
changed, the MV
increases with
OFF=Direct
the increasing of
Operation action,
SWPN4 PV in direct TRUE
Parameter ON=Reverse
action, and
action
decreases with
the increasing of
PV in reverse
action.
Direct/Reverse
switch. SV is not
changed, the MV
increases with
OFF=Direct
the increasing of
Operation action,
SWPN5 PV in direct TRUE
Parameter ON=Reverse
action, and
action
decreases with
the increasing of
PV in reverse
action.
Direct/Reverse
switch. SV is not
changed, the MV
increases with
OFF=Direct
the increasing of
Operation action,
SWPN6 PV in direct TRUE
Parameter ON=Reverse
action, and
action
decreases with
the increasing of
PV in reverse
action.
Direct/Reverse
switch. SV is not
changed, the MV
increases with
OFF=Direct
the increasing of
Operation action,
SWPN7 PV in direct TRUE
Parameter ON=Reverse
action, and
action
decreases with
the increasing of
PV in reverse
action.
Direct/Reverse
switch. SV is not
changed, the MV
increases with
OFF=Direct
the increasing of
Operation action,
SWPN8 PV in direct TRUE
Parameter ON=Reverse
action, and
action
decreases with
the increasing of
PV in reverse
action.
Extended Connect to outer
Input Pin CSV Cascade - Input Pin loop control value
Parameters
MV
244
Function Block Reference
Application
Name Description Upload Properties
Reference
Connect to
BKOUT of
BKIN1 Feedback input1 - Input Pin downstream
block , Refer to
Note1
Connect to
Feedback status BKOUT of
BKINERR1 - Input Pin
input1 downstream block
ERR, Refer to Note1
Connect to
BKOUT of
BKIN2 Feedback input2 - Input Pin
downstream block,
Refer to Note1
Connect to
Feedback status BKOUT of
BKINERR2 - Input Pin
input2 downstream block
Note1
ERR, Refer to
Connect to
BKOUT of
BKIN3 Feedback input3 - Input Pin downstream
block , Refer to
Note1
Connect to
Feedback status BKOUT of
BKINERR3 - Input Pin
input3 downstream block
ERR, Refer to Note1
Connect to
BKOUT of
BKIN4 Feedback input4 - Input Pin downstream
block , Refer to
Note1
Connect to
Feedback status BKOUT of
BKINERR4 - Input Pin
input4 downstream block
Note1
ERR, Refer to
Connect to
BKOUT of
BKIN5 Feedback input5 - Input Pin downstream
block , Refer to
Note1
Connect to
Feedback status BKOUT of
BKINERR5 - Input Pin
input5 downstream block
Note1
ERR, Refer to
Connect to
BKOUT of
BKIN6 Feedback input6 - Input Pin downstream
block , Refer to
Note1
Connect to
Feedback status BKOUT of
BKINERR6 - Input Pin
input6 downstream block
ERR, Refer to Note1
245
Function Block Reference
Application
Name Description Upload Properties
Reference
Connect to
BKOUT of
BKIN7 Feedback input7 - Input Pin downstream
block , Refer to
Note1
Connect to
Feedback status BKOUT of
BKINERR7 - Input Pin
input7 downstream block
ERR, Refer to Note1
Connect to
BKOUT of
BKIN8 Feedback input8 - Input Pin downstream
block , Refer to
Note1
Connect to
Feedback status BKOUT of
BKINERR8 - Input Pin
input8 downstream block
ERR, Refer to Note1
PID operation
MV1 - Output Pin Downstream CSV
output value 1
PID operation
MV2 - Output Pin Downstream CSV
output value 2
PID operation
MV3 - Output Pin Downstream CSV
output value 3
PID operation
MV4 - Output Pin Downstream CSV
output value 4
PID operation
MV5 - Output Pin Downstream CSV
output value 5
PID operation
MV6 - Output Pin Downstream CSV
output value 6
Output Pin PID operation
MV7 - Output Pin Downstream CSV
output value 7
PID operation
MV8 - Output Pin Downstream CSV
output value 8
Connect to the
BKIN of Upstream
Feedback output Block, Related
BKOUT - Output Pin
value parameter:
BK_OPT
Refer to Note1
Connect to the
BKOUTER Feedback status BKINERR of
- Output Pin
R value Upstream Block
Refer to Note1
SV for loop Operation
SV SV TRUE Refer to 2.1.3
closed control Parameter
Suppress
Alarm module alarm, Operation
AOF TRUE Refer to 2.1.6
Enable and On=prohibit to Parameter
Suppress display alarm.
FLAG Flag - Output Pin Refer to 2.1.6
OOS mode Set as ON at the
OOS setting switch Operation first time of
SWOOS TRUE
Settings (ON= OOS Parameter function block
mode) downloading
246
Function Block Reference
BKINn and BKINERRn connect the corresponding BKOUT, BKOUTERR of the nth downstream
salve loop.
BKOUT, BKOUTERR connect the corresponding BKIN, BKINERR of upstream master loop.
It is mainly used in cascade control of a master loop distributing output to several salve loops.
When the amount of cascade modes of salve loops is greater than 0, the salve loop newly added
to the cascade mode will receive the cascade output of master loop directly, which means the set
value input jumping.
When the amount of cascade modes of salve loops is 0, the salve loop newly added to the
cascade mode will have the function of bumpless transfer, which means the set value is bumpless.
If switched in at the same time, the one with the lower order is prior.
247
Function Block Reference
Panel
Application
Name Parameter Initial Value Value Range
Instruction
Name
248
Function Block Reference
Panel
Application
Name Parameter Initial Value Value Range
Instruction
Name
Read-only,
MV3 MV3 0.000 [MVSCL,MVSCH] Operation
output value 3
Read-only,
MV4 MV4 0.000 [MVSCL,MVSCH] Operation
output value 4
Read-only,
MV5 MV5 0.000 [MVSCL,MVSCH] Operation
output value 5
Read-only,
MV6 MV6 0.000 [MVSCL,MVSCH] Operation
output value 6
Read-only,
MV7 MV7 0.000 [MVSCL,MVSCH] Operation
output value 7
Read-only,
MV8 MV8 0.000 [MVSCL,MVSCH] Operation
output value 8
Read-only, H
H Limit MVSCH1 100.000 [MVSCL,MVSCH] value setting of
Output 1 loop MV
Scale Read-only, L
L Limit MVSCL1 0.000 [MVSCL,MVSCH] value setting of
loop MV
Read-only, H
H Limit MVSCH2 100.000 [MVSCL,MVSCH] value setting of
Output 2 loop MV
Scale Read-only, L
L Limit MVSCL2 0.000 [MVSCL,MVSCH] value setting of
loop MV
Range1 Read-only, H
H Limit MVSCH3 100.000 [MVSCL,MVSCH] value setting of
Output 3 loop MV
Scale Read-only, L
L Limit MVSCL3 0.000 [MVSCL,MVSCH] value setting of
loop MV
Read-only, H
H Limit MVSCH4 100.000 [MVSCL,MVSCH] value setting of
Output 4 loop MV
Scale Read-only, L
L Limit MVSCL4 0.000 [MVSCL,MVSCH] value setting of
loop MV
Read-only, H
Range2 H Limit MVSCH5 100.000 [MVSCL,MVSCH] value setting of
Output 5 loop MV
Scale Read-only, L
L Limit MVSCL5 0.000 [MVSCL,MVSCH] value setting of
loop MV
Read-only, H
H Limit MVSCH6 100.000 [MVSCL,MVSCH] value setting of
Output 6 loop MV
Scale Read-only, L
L Limit MVSCL6 0.000 [MVSCL,MVSCH] value setting of
loop MV
249
Function Block Reference
Panel
Application
Name Parameter Initial Value Value Range
Instruction
Name
Read-only, H
H Limit MVSCH7 100.000 [MVSCL,MVSCH] value setting of
Output 7 loop MV
Scale Read-only, L
L Limit MVSCL7 0.000 [MVSCL,MVSCH] value setting of
loop MV
Read-only, H
H Limit MVSCH8 100.000 [MVSCL,MVSCH] value setting of
Output 8 loop MV
Scale Read-only, L
L Limit MVSCL8 0.000 [MVSCL,MVSCH] value setting of
loop MV
D/R Selecting direct
Direct Action
Action SWPN1 √ ON/OFF action is
(selected)
enabled.
Output 1
Reverse Selecting
Action SWPN1 - ON/OFF reverse action
(selected) is enabled.
Selecting direct
Direct Action
SWPN2 √ ON/OFF action is
(selected)
enabled.
Output 2
Reverse Selecting
Action SWPN2 - ON/OFF reverse action
(selected) is enabled.
Selecting direct
Direct Action
SWPN3 √ ON/OFF action is
(selected)
enabled.
Output 3
Reverse Selecting
Action SWPN3 - ON/OFF reverse action
(selected) is enabled.
Selecting direct
Direct Action
SWPN4 √ ON/OFF action is
(selected)
enabled.
Output 4
Reverse Selecting
Action SWPN4 - ON/OFF reverse action
(selected) is enabled.
Selecting direct
Direct Action
SWPN5 √ ON/OFF action is
(selected)
enabled.
Output 5
Reverse Selecting
Action SWPN5 - ON/OFF reverse action
(selected) is enabled.
Selecting direct
Direct Action
SWPN6 √ ON/OFF action is
(selected)
enabled.
Output 6
Reverse Selecting
Action SWPN6 - ON/OFF reverse action
(selected) is enabled.
Selecting direct
Direct Action
SWPN7 √ ON/OFF action is
(selected)
enabled.
Output 7
Reverse Selecting
Action SWPN7 - ON/OFF reverse action
(selected) is enabled.
250
Function Block Reference
Panel
Application
Name Parameter Initial Value Value Range
Instruction
Name
Selecting direct
Direct Action
SWPN8 √ ON/OFF action is
(selected)
enabled.
Output 8
Reverse Selecting
Action SWPN8 - ON/OFF reverse action
(selected) is enabled.
2.17.3 Flag
Table 2-62 Flag
Flag Instruction
D0 Disabled
D25 Alarm Suppression (AOF)
To control the water level, as shown below, the rotation speeds of two pumps should be same to
avoid back flow for the output header pipe caused by the different rotation speeds. And the two
pumps can be switched between same rotation setting mode and separately setting mode, and it
can be shown and operated in the diagram.
The single AI and double AO adjusting control means that the one PID loop controls 2 adjusting
valves or handhelds at the same time. It is often applied when 2 adjusting valves or handhelds are
required synchronized actions.
Its programming, which is shown in the figure below, can be achieved by applying function blocks
such as PIDEX, FOUT and MANUAL, etc. And the data display and operation of the host computer
interface can be achieved by the tags of function blocks.
251
Function Block Reference
SVSCL, SVSCH, SVEU: the same as the input PV range unit (0~600KPa)
The ranges of SVL and SVH should be the same as SV when the SV limit function is not
required.
MVL, MVH: are set in 0~100 when the MV output limit function is not required
Notice:
The signal distribution function is mainly applied for distributing the setting output of a major loop
252
Function Block Reference
253
Function Block Reference
SPO function block switch the digital input signal to pulse output signal. The output pulse is
controlled by the input signal and pulse select time. When the lasting time of input signal is less or
equals to the change time of designated pulse width, output the first pulse. Otherwise, output the
second pulse.
SPO function block is simple function block, and its runtime is 12µs.
Table 3-1 Software Pulse Sequence Output Function Block Parameter Instruction
Application
Name Description Upload Properties
Reference
Digital input signal.
IN and TPLS work
together to control
the output signal, Connected to
Input pin IN - Input pin
which is one of the digital signal.
two pulse signal with
same cycle and
different pulse width.
Output cycle pulse
Output pin OUT - Output pin -
signal.
Pulse cycle (in
Set in the
second). The cycle Operation
Basic TPLS TRUE parameter
is related to the parameter
Parameters Properties.
cycle of program.
Pulse select time (in
second). The Set in the
Operation
TSW interval of the two TRUE parameter
Operation parameter
output signal is Properties.
parameter decided by TSW.
Set in the
Pulse width for first Operation
TPW1 TRUE parameter
pulse (in second). parameter
Properties.
Pulse width for Set in the
Operation
TPW2 second pulse (in TRUE parameter
parameter
second). Properties.
254
Function Block Reference
The output pulse is controlled by the input signal and pulse select time, the relation between of
output signal and input signal is described following.
When IN=ON, and the lasting time of input signal is less or equals to the choosing time of
pulse, the output width is TPW1.
When IN=ON, and the lasting time of input signal is greater then the choosing time of
pulse, the output width is TPW2.
When the pulse choosing time equals to 0, the width of output pulse is TPW1, TPW2
does not work.
When TPW1, TPW2 and TPW ARE LESS THAN 0, force TPW1=1, TPW2=0 and
TPW=0.
When TPW1 and TPW2 are more then TPLS, TPW1 and TPW2 equal to TPLS.
When TPLS are more than 0, but less than the period of current program, TPLS equals
to the period of current program.
The timing sequence figures of output signal are shown as follow, please refer to Figure 3-1 to
Figure3-4, and the “n” in the figure is a nature number.
255
Function Block Reference
DSCA function block can count the status change times of input digital. It can count positive jump,
negative jump or both of input digital by the setting of statistic mode “MODE”.
DSCA function block is simple function block, and its running time is 4µs. The parameters of DSCA
function block is described in Digital Status C.
Application
Name Description Upload Properties
Reference
Basic IN Switch Input - Input pin -
Parameters
Switch for
Statistics
input pin STARTUP Start/Stop: - Input pin -
OFF=Stop,
ON=Start
Reset Signal:
RST - Input pin -
ON=Reset
256
Function Block Reference
Application
Name Description Upload Properties
Reference
Output for Change
Time. Detail
output
OUT description of - Output pin -
pin
OUT is shown
below this table.
Statistics Mode:
0=Amount of
configur Positive Hopping, Set in the
ation 1=Amount of configuration configuration
MODE -
paramet Negative Hopping, parameter Properties.
er 2=Amount of
Positive
Hopping/Negative
3.2.2 Application Example
To count the ON/OFF times of the field electromagnetic valve, and display on the diagram, as
shown in below.
The digital signals are “1” and “0”. In application, the statistics such as counting and accumulation
should be performed for the digital change times. It is often used for counting the ON/OFF times of
field valve and electric machine.
Its programming is shown below and can be achieved via DSCA. The statistics data of the host
computer displayed data can be monitored via custom tag.
257
Function Block Reference
STARTUP: ON
MODE: 2
DT: 1
No alarm setting
SSTA function block accelerates the time when the digital status is ON or OFF. Statistic mode
MODE sets to accelerate which status and the output acceleration time can be set in 4 formats:
second, minute, hour and day.
SSTA function block is simple function block, and its running time is 11µs.
Table 3-4 Switch status time accumulation function block parameter instruction
Application
Name Description Upload Properties
Reference
Basic IN Switch Input - Input pin -
Parameters
Start/Stop Switch
for Accumulation:
STARTUP - Input pin -
ON=Start,
input pin OFF=Stop
Valid while
Reset Signal: Positive
RST - Input pin
ON=Reset transition-sen
sing
Accumulative
Time Output.
output pin OUT Detail description - Output pin -
of OUT is shown
below this table.
258
Function Block Reference
Application
Name Description Upload Properties
Reference
operation Set in the
Accumulation operation
paramete INITVAL TRUE function block
Initial Value parameter
r Properties.
Select Switch for
Accumulation
Mode
configurat
Mode=[0~3], On Set in the
ion configuration
MODE Status Time - parameter
paramete parameter
Accumulation Properties.
r
Mode=[4~7], Off
Status Time
Accumulation
Description of OUT:
When STARTUP=OFF, this function block stop to statistics. And the OUT will keep the
statistics of the last week.
When RST changing from OFF to ON, the OUT will be equal to INITVAL and the inner
count of function block will be set as INITVAL.
When the master controller cold startup, the OUT will be equal to INITVAL and STARTUP
will be OFF and the inner count of function block will be set as 0.
Choices of MODE:
MODE=0
MODE=1
MODE=2
MODE=3
259
Function Block Reference
MODE=4
MODE=5
MODE=6
MODE=7
To count the running time of the field pump as shown below, and display in the flow chart. The
digital signals are 1 and 0. The switch status time should be accumulated, displayed and counted.
Its programming is shown below and can be achieved via SSTA. The host computer interface can
display data and monitor the statistic data via custom tag.
260
Function Block Reference
STARTUP: ON
MODE: 0
QOR-8 function block restricts or operates 8inout BOOL type variables. QOR_8 function block is
simple function block, and its running time is 6µs.
The parameters of QOR_8 function block is described in 8 input QOR function block.
Application
Name Description Upload Properties
Reference
Basic input pin IN1 Switch Input1 - Input pin -
Parameter
IN2 Switch Input2 - Input pin -
261
Function Block Reference
Application
Name Description Upload Properties
Reference
s IN3 Switch Input3 - Input pin -
IN4 Switch Input4 - Input pin -
IN5 Switch Input5 - Input pin -
IN6 Switch Input6 - Input pin -
IN7 Switch Input7 - Input pin -
IN8 Switch Input8 - Input pin -
Detail description
OUT of OUT is shown - Output pin -
output pin below this table.
Amount of ON
ONNUM - Output pin -
That Has Inputted.
Operation Mode:
configuration configuration
MODE ON=Greater and - -
parameter parameter
Equal; OFF=Equal
Set in the
operation Limit or Operation operation
NUM - function block
parameter Number. [0~8] parameter
Properties.
MODE=ON
When the number of function block variable ON is more than or equals to restricted or
operated number NUM, output is ON, otherwise, OFF.
MODE=OFF
When the number of function block variable ON equals to restrict or operated number
NUM, output is ON, otherwise, OFF. ONNUM is the number of function block actual input
ON.
To determine the number of digital value, when the number of closed digital value is greater than
or equal to the set number, output (BOOL) is ON, or it is OFF.
262
Function Block Reference
NUM: 5
MODE: ON
Note: When MODE=ON, working mode is ”greater than or equal to”. When MODE=OFF, working
mode is ”equal to”.
FIRST function block figures out the first digital serial number jumps from OFF to ON among 16
digital input. The priority of input signals is: when IN1 and IN2 jump from OFF to ON at the same
time, output the serial number of IN1.
QOR_8 function block is simple function block, and its running time is 12µs.
Application
Name Description Upload Properties
Reference
Basic Input Pin IN1 Switch Input1 - Input pin -
Parameters
IN2 Switch Input2 - Input pin -
IN3 Switch Input3 - Input pin -
IN4 Switch Input4 - Input pin -
IN5 Switch Input5 - Input pin -
IN6 Switch Input6 - Input pin -
IN7 Switch Input7 - Input pin -
263
Function Block Reference
Application
Name Description Upload Properties
Reference
IN8 Switch Input8 - Input pin -
IN9 Switch Input9 - Input pin -
IN10 Switch Input10 - Input pin -
IN11 Switch Input11 - Input pin -
IN12 Switch Input12 - Input pin -
IN13 Switch Input13 - Input pin -
IN14 Switch Input14 - Input pin -
IN15 Switch Input15 - Input pin -
IN16 Switch Input16 - Input pin -
Output “Reset
Switch”
(ON=Reset
Switch).
Output restore
switch RST can
only restore
Valid while
output when the
RST - Input pin Positive
input is not ON,
transition-sensing
when RST jumps,
OUT=0, CI=OFF,
eliminate input
jump status in
interior records. (It
is thought there is
no input jump.)
“Hold” only
relates to
whether output
first out value
and whether
Hold (ON: pause generate first
generating first out alarm, but
HOLD out value, OFF: - Input pin not relates to
restore generating other output
first out value) parameters and
will not
influence the
output of
QOROUT, CI,
and PACKOUT.
Serial Number of
Output Input Switch
Pin OUT - Output pin -
Value Which First
from OFF To ON.
When the number
of input digital ON
Restriction and is more than
QOROUT output of the 16 - Output pin NUM, set
input digitals. QOROUT=ON,
otherwise,
QOROUT=OFF.
264
Function Block Reference
Application
Name Description Upload Properties
Reference
Indication That
Input Switch
CI Value Hopping: - Output pin -
OFF=No Hopping,
ON=Hopping
PACKOUT is the
package output of
input signals, that
Package Inputs is, to compress 16
and Output It. The BOOL type input
PACKOUT data type of - Output pin signals to 16
PACKOUT is integer output.
UNIT. IN16 is the highest
and IN1 is the
lowest.
Note:
When the output digital does not change, output OUT=0, CI=OFF.
When the output digital changes from OFF to ON, output OUT is the first digital serial
number that jumps from OFF to ON(1~16) and CI parameter ON. When there is no input
signal jumps in this period, but several inputs jump at the same time, output OUT is the
smallest serial number.
BLINK function block generates the output signals of pulse. When both input are ON, it blinks all
the time.
BLINK function block is simple function block, and its running time is 1µs.
265
Function Block Reference
Application
Name Description Upload Properties
Reference
Input IN1 Switch Input1 - input pin -
pin IN2 Switch Input2 - input pin -
Table 3-11 Blink function block input and output true value table
DGAP function block and PID function block are different in control mode: PID function block
outputs a series signal to control the equipments like valve; DGAP function block outputs the
digital signal to control discrete equipments like switch valve.
This function block has two work modes. When MODE=OFF, the function block is in 2 modes and
2 statuses work mode; when MODE=ON, the function block is in 2 modes and 3 statuses work
mode. In addition, this function block supports functions like measuring value alarm, error alarm,
manual operation mode, hold mode and setting vale tracing measuring value.
DGAP function block is complex function block, and its running time is 20µs.
266
Function Block Reference
267
Function Block Reference
PV L Alarm Operation
PVL TRUE Refer to 2.1.2
Value Parameter
PV LL Alarm Operation
PVLL TRUE Refer to 2.1.2
Value Parameter
Positive Error Operation
DVH TRUE -
Alarm Limit Parameter
Negative
Operation
DVL Error Alarm TRUE -
Parameter
Limit
Error Alarm
Operation
DVHYS Hysteresis TRUE -
Parameter
Value
PV Alarm
Operation
PVHYS Hysteresis TRUE Refer to 2.1.2
Parameter
Value
Operation
GAP Gap Width TRUE -
Gap Parameter
Settings Gap Hysteresis Operation
GAPHYS TRUE -
Value Parameter
SV Track
Switch in
Manual Mode:
SWSVTR=ON,
Configuration
SV Track SWSVTR SV Tracks PV; - -
Parameter
SWSVTR
=OFF, SV
Does not Track
PV
Module Alarm
Suppress
Alarm Operation
AOF ON=Alarm TRUE Refer to 2.1.6
Enable Parameter
Display
Disabled
268
Function Block Reference
When MODE=OFF, the function block is in 2 positions and 2 statuses work mode. The function
block outputs OUTINC and OUTDEC statuses by comparing error EI (EI=SV - PV) and gap GAP
between set value SV and process value PV.
When EI descends to the low limit of GAP in non-sensitive area, OUTINC=ON, OUTDEC=OFF.
When EI=GAP/2, OUTDEC keep the value of last week, and OUTINC=OFF.
When EI ascends to the high limit of GAP in non-sensitive area, OUTINC=OFF, OUTDEC=ON.
When EI=-GAP/2, OUTDEC=OFF and OUTDEC keep the value of last week.
When EI returns to non-sensitive area (-GAP/2< EI < GAP/2), OUTINC and OUTDEC maintains
the original values. That is, when EI ascends from the low limit of GAP in non-sensitive area to
non-sensitive area, OUTINC=ON, OUTDEC=OFF; when EI descends from the high limit of GAP in
non-sensitive area to non-sensitive area, OUTINC=OFF, OUTDEC=ON.
The input and output relationships of function block are shown as follows:
269
Function Block Reference
When MODE=ON, the function block is in 2 positions and 3 statuses work mode. The function
block outputs OUTINC and OUTDEC statuses by comparing error EI (EI = SV – PV) and gap GAP
between set value SV and process value PV, gap GAP and gap hysteresis GAPHYS.
When EI=(GAP/2+GAPHYS), OUTDEC keep the value of last week and OUTINC=OFF.
When EI=-(GAP/2+GAPHYS), OUTDEC=OFF and OUTDEC keep the value of last week.
The input and output relationships of function block are shown as follows:
270
Function Block Reference
The function block set positive error limit alarm dvh, negative error limit alarm dvl and error alarm
hysteresis DVHYS.
Positive error limit alarm: when error EI is more than or equals to positive error limit dvh, in the flag,
set positive error limit alarm symbol.
When error is less than DVH-DVHYS, in the flag, eliminate positive error limited alarm symbol.
Negative error limit alarm; when error EI is less than or equals to -DVL, in the flag, set negative
error limit alarm symbol. When error is more than -(DVL-DVHYS), in he flag, eliminate negative
error limit alarm symbol.
When the limit of set value SVSCH is less than or equals to SVSCL, limit threshold overturn alarm.
When PVHH -PVHYS <= PVH or PVH - PVHYS <= PVL + PVHYS or PVL - PVHYS <= PVLL,
alarm limit threshold overturn alarm.
In manual operation mode, function block does not operate switch control, and OUTINC and
OUTDEC can be set.
271
Function Block Reference
When the function block is under string mode, BKOUT equals to set value.
When the function block is under non-string mode, BKOUT equals to process value
Function Block
Panel Parameter Initial Value
Parameter Application Instruction
Name Value Range
Name
PV PV HH Alarm Value. When the PVHH
HH PVHH 100.000 -
Alarm alarm is selected, this is effective.
272
Function Block Reference
Function Block
Panel Parameter Initial Value
Parameter Application Instruction
Name Value Range
Name
PV high Alarm Value. PV high Alarm
H PVH 90.000 - Value. When the PVH alarm is selected,
this is effective.
PV low Alarm Value. When the PV low
L PVL 10.000 -
alarm is selected, this is effective.
PV LL Alarm Value. When the PVLL
LL PVLL 0.000 -
alarm is selected, this is effective.
HYS PVHYS 0.000 - Hysteresis of PV alarm.
EI EI 0.000 - Read only, EI=PV-SV
When this is selected, the positive
PEI - 100.000 -
deviation is effective.
EI Alarm
When this is selected, the negative
NEI - 100.000 -
deviation is effective.
DVHYS DVHYS 0.000 - -
MODE=OFF, the function block work in
BISTATE MODE - -
Work BISTRATE mode.
Mode MODE=ON, the function block work in
TRISTATE MODE √ -
TRISTATE mode.
Track SWSVTR √ - SWSVTR=ON, then SV track PV.
SV Track
Settings SWSVTR=OFF, then SV will not track
Not Track SWSVTR - -
PV.
GAP GAP 20.000 - -
GAP
HYS GAPHYS 0.000 - -
OUTINC OUTINC - - positive output
Output
OUTDEC OUTDEC - - negative output
3.7.3 Flag
Table 3-14 Flag
Flag Instruction
D0 Disabled
D1 Manual (MAN)
D2 Automatic (AUTO)
D3 Cascade (CAS)
D4 PV HH Alarm (PVHH)
D5 PV High Limit Alarm (PVH)
D6 PV Low Limit Alarm (PVL)
D7 PV LL Alarm (PVLL)
D8 PEI Alarm (PEI)
D9 NEI alarm(NEI)
D10 Alarm for Range High/Low Limit Reversal (REVSCL)
D11 Alarm for Config Error (CFGERR)
D13 Alarm Suppression (AOF)
273
Function Block Reference
Flag Instruction
D14 Error
PULPOS function block compares two analog input signals---set value and feedback value of
process parameter (process value) and output two BOOL type output according to the result.
When the process value is less than set value, generate positive output pulse; when it is more
than the set value, generate negative output pulse.
PULPOS function block is simple function block, and its running time is 16µs.
274
Function Block Reference
Each pulse period of function block outputs positive and negative pulse according to comparing
result of error and dead zone.
When error EI is in the limit of dead zone [-DB, DB], there is no pulse output signal.
When EI<-DB, generate the negative pulse.
When setting FSR=0 and RSR=0, then interior system precision is 0.0000001.
275
Function Block Reference
MOTOR function block enables control and interlock protect to a single equipment by last level
sequence control command or operators by penal.
MOTOR function block is complex function block, and its running time is 20µs.
Application
Name Description Upload Properties
Reference
Basic Mode 0=Pulse, 1=Pulse Configurati
Parameters Setting OUTTYPE Sequence, 2=Long - on -
SignalNote2 Parameter
Configurati
SETTYPE Run ModeNote1 - on -
Parameter
Reverse Stop
Command Respond
Mode, valid in
manual mode and
When in manual
automatic mode.
and auto mode
0=In the process of
and lock mode,
operating output,
the system
system does not Configurati
responds to
REVTYPE respond to negative - on
input negative
stop command. Parameter
command and is
1=In the process of
irreverent to
operating output,
REVTYPE
system responds to
setting.
negative stop
command and
output stop
command.
276
Function Block Reference
Application
Name Description Upload Properties
Reference
Whether to Confirm
Running Fault.
Set OPFLACK=OFF,
running fault does
not need to be
confirmed and is not
considered as
restricted condition
of new command
input.
Operation
OPFLACK Set OPFLACK=ON, TRUE -
Parameter
running fault needs
to be confirmed and
is considered as
restricted condition
of new command
input and is effective
to interlock
command and
manual/auto
command.
Whether
Auto-Remove
Running Fault.
Set AUTOCLR=ON,
running fault alarm
OPFL will be
eliminated
automatically after
Operation
AUTOCLR status feedback TRUE -
Parameter
signal is restored.
Set AUTOCLR=OFF,
running fault alarm
OPFL will be
eliminated only after
panel confirmation
after status feedback
signal is restored.
Whether To Confirm
Trip Fault.
Set TRIPACK=OFF,
TRIP will not need to
confirmed and be
used as restricted
condition of new Operation
TRIPACK TRUE -
command input. Parameter
Set TRIPACK=ON,
TRIP will need to
confirmed and used
as restricted
condition of new
command input.
277
Function Block Reference
Application
Name Description Upload Properties
Reference
Shield Alarm When
Input Command.
Set IGNORALM
=ON, FAIL, TRIP,
FAULT and OPFL
will not be used as
restricted condition
of new command
input.
IGNORAL Operation
Set IGNORALM TRUE -
M Parameter
=OFF, FAIL, TRIP,
FAULT and OPFL
will be used as
restricted condition
of new command
input. And this is
valid only in
automatic and
manual mode.
Slight Feedback
When Output
Instruction.
Set IGNORSTA=ON,
current output does
not judge feedback
Operation
IGNORSTA status and DRIVE is TRUE -
Parameter
completely output.
Set
IGNORSTA=OFF,
current output
judges feedback
status.
Width of Output
Pulse (Unit: S)
Output pulse width.
Time When single pulse Operation
Settings TPW TRUE TPW<TOC
and pulse list are Parameter
output, define the
width of high level of
output pulse.
Equipment Travel
Time (Unit: S)
Equipment runtime.
When the command
is output and
corresponding
output feedback TPW and TPLS
Operation
TOC after TOC time, TRUE are associate
Parameter
operation fault OPFL parameters.
appears. (When
status feedback is
ignored,
IGNORSTA=ON,
operation fault does
not appear.)
278
Function Block Reference
Application
Name Description Upload Properties
Reference
Output Pulse Cycle
(Unit: S)
Pulse period.
If TPLS<TPW,
Pulse period defined Operation
TPLS TRUE TPW=TPLS
when pulse list is Parameter
(TPLS<TOC)
output. When set
TPLS<TPW,
TPLS=TPW.
Setting Interval of
Operation
TWAIT Button Pop-Up (Unit: TRUE -
Parameter
S)
Extended Input Pin Run Status Measuring Point
RUNSTA - Input Pin
Parameters Feedback DI
Stop Status Measuring Point
STOPSTA - Input Pin
Feedback DI
Upstream
AUTRUN Auto-start Command - Input Pin
Output
Upstream
AUTSTOP Auto-stop Command - Input Pin
Output
Interlock Startup Upstream
EMRUN - Input Pin
Command Interlock Input
Interlock Stop Upstream
EMSTOP - Input Pin
Command Interlock Input
Upstream
PROTECT Protect - Input Pin
Output
On-site Control
Upstream
TOLOC Switch - Input Pin
Output
(ON=On-site)Note3
Program Input
Confirm Signal
Eliminate the Upstream
PACK - Input Pin
running alarm by Output
panel or program
input signal PACK.
Program Manual and
Upstream
PSWAM Auto Control Digital - Input Pin
Output
InputNote4
Start Command
Enable Signal
When RUNPRM
Upstream
RUNPRM =ON, interlock run, - Input Pin
Output
auto run and manual
run can output
startup command.
Stop Command
Enable Signal
When STOPRM
=ON, interlock stop, Upstream
STOPRM - Input Pin
auto stop and Output
manual stop can
output stop
command.
Select MAN/AUTO
Upstream
FBOPT Control Source - Input Pin
Output
(OFF=Panel)Note4
279
Function Block Reference
Application
Name Description Upload Properties
Reference
Connect to
DI Electrical Fault
FAULT - Input Pin Measuring Point
Output (ON=Fault)
DI
Run Instruction
RUN - Output Pin Output DO
Output Output
Pin Stop Instruction
STOP - Output Pin Output DO
Output
Operation
SWFIX Fix Command - -
Parameter
MAN Startup Operation
MANRUN - -
Command Parameter
Operation MAN Stop Operation
Paramete MANSTOP - -
Command Parameter
r
MAN/AUTO witch:
Operation
SWAM ON=Auto, - -
Parameter
OFF=ManualNote4
Acknowledgement Operation
ACK - -
Signal Parameter
Equipment Fault
(ON=Fault) When
run status feedback
RUNSTA and stop
Monitoring
FAIL status feedback - -
Parameter
STOPSTA are both
ON, feedback fault
alarm FAIL will be
started.
Running Fault Monitoring
OPFL - -
(ON=Fault)Note5 Parameter
Trip Indication Monitoring
TRIP Note6 - -
(ON=Trip) Parameter
On-site Control Monitoring
LOC - -
Status Indication Parameter
Equipment Run
Monitoring
STARUN Status Indication - -
Parameter
(ON=Run)
Equipment Stop
Monitoring
STASTOP Status Indication - -
Parameter
(ON=Prohibited)
Equipment Mode Monitoring
MODE Note3 - -
(Observe) Parameter
Run Command
Monitoring
RUNFLAG Output Process - -
Parameter
(Observe)
Stop Command
STOPFLA Monitoring
Output Process - -
G Parameter
(Observe)
Alarm Suppress Module Operation
AOF TRUE -
Enabled Alarm Parameter
and
Suppress FLAG Flag Code - Output Pin -
OOS
In OOS Status Operation
SETTING SWOOS TRUE -
(ON=Prohibited) Parameter
S
280
Function Block Reference
When status feedback is not ignored IGNORSTA=OFF, the restore outputs command
when corresponding status feedback reaches.
When status feedback is ignored IGNORSTA=ON, the status feedback does not
influence the command output.
1=consistent mode
Input command jumps and checks and has memory. Output command will not restore
with input command.
When status feedback is not ignored IGNORSTA=OFF, the restore outputs command
when corresponding status feedback reaches.
When status feedback is ignored IGNORSTA=ON, the status feedback does not
influence the command output.
2=lock mode
Input command jumps and checks and has memory. Output command will not restore
with input command.
Whether the status feedback is ignored or not, the status feedback does not influence
the command output.
When the system is not on the process of command output and there is no running fault, and the
feedback of RUNSTA and STOPSTA are OFF, start up power-failure alarm POWOFF.
281
Function Block Reference
Function block mode and priority: OOS>on-site> close protection >interlock>manual /auto
selection
OOS(MODE=1)
When SWOOS=ON, function block is in OOS status and does not respond to command output.
The output maintains.
On-site(MODE=2)
When function block is not in OOS status and TOLOC=ON, function block is in on-site mode.
Output command restores and is not available. Function block is not restricted by switch.
Close protection(MODE=3)
When function block is not in OOS status or on-site status, input close protection commands,
function block turns to close protection mode, output stop command. Close protection is not
restricted by switch or feedback signal or alarm.
When Input Pin PROTECT jumps from OFF to ON, trigger one stops command output.
When function block is not in OOS status and on-site status, input interlock startup or interlock
stop command, function block turns to interlock mode. Interlock command input adopts positive
transmission check.
282
Function Block Reference
When both interlock startup, interlock stop commands are inputted, the system does not respond
to interlock command, and will generate DBEMCMD alarm.
When interlock startup command is inputted first and interlock stop command is inputted in
effective time of interlock startup command, execute interlock startup command first and then
interlock stop command after interlock startup command is inputted. And vise versa.
When function block is not in all statuses above, it is in manual /auto selection mode. Auto mode
output command is decided by AUTRUN and AUTSTOP while manual mode is by MANRUN and
MANSTOP. Manual/auto selection command input adopts positive transmission check. When
startup and stop commands are inputted at the same time, system does not respond.
When interlock startup EMRUN is continuously ON, manual stop and auto stop command disable.
When interlock stop EM STOP is continuously ON, manual startup and auto startup command
disable.
When interlock startup command is inputted first and interlock stop command is inputted in
effective time of interlock startup command, respond to stop command according to parameter
REVTYPE. Otherwise, system does not respond to startup command.
When OOS, on-site, close protection, interlock are not generated, the system turns to manual
/auto mode.
283
Function Block Reference
not.
IGNORALM=OFF, not respond to the new command if FAIL alarm exists, OPEL is limited by
OPFLACK.
Set OPFLACK=OFF, and running fault needs no comfirmation, and is not a limiting condition for
inputing new command.
Set OPFLACK=ON, and running fault needs comfirmation, and is a limiting condition for inputing
new command, valid for interlock command and manual/auto commands.
When the status feedback IGNORSTA=OFF is not ignored, and no responding feedback signal
are received in runtime TOC after outputting the command, start up running fault alarm OPFL.
In inching mode, when the lasting time of input command is less than runtime, no running fault will
be generated.
In inching and consistent mode, when running fault OPFL occurs, restore output commands RUN,
STOP.
In lock mode, when status feedback is not ignored and running fault OPFL occurs, restore output
commands RUN, STOP. Otherwise (IGNORSTA=ON), do not judge running fault and RUN, STOP
are completely output according to set OUTTYPE mode.
When there is OPFL alarm, if new command is effective, eliminate OPFL alarm.
When equipment is in running status and there is no effective stop command, run status feedback
disappears, and trip alarm TRIP is generated.
In lock mode, when status feedback IGNORSTA=OFF is not ignored and there is error still after
runtime reaches after trip alarm, restore and output RUN and RUNFLAG.
In lock mode, when status feedback IGNORSTA=ON is ignored, trip alarm does not influence
output RUN and RUNFLAG.
When there is TRIP alarm, if new command is effective, eliminate TRIP alarm.
284
Function Block Reference
285
Function Block Reference
3.9.3 Flag
Table 3-18 Flag list
286
Function Block Reference
To achieve the field-pump start and stop control as shown in Figure 3-17, and can be operated on
flow chart. When pump running fault (if after running time, the status feedback and control output
are different, open the running fault alarm) occurs, no need to acknowledge. When pump trip
occurs, acknowledge first and execute other operation.
Dual-DI dual-DO pump refers to that the start and stop of filed pump device is controlled by two
DO signals, the pump status is shown by dual-DI signal feedbacks. It is often used to control start
and stop of high power pump.
Details of program are shown below. It applies MOTOR motor control function block, and the
upper computer interface can control DO via function block tag.
Function block and example instructions are shown in the table below:
287
Function Block Reference
FBOPT: ON
PSWAM: OFF
OPFLACK: OFF
AUTOCLR: ON
TRIPACK: ON
IGNORSTA: OFF
If pulse control is required, in configuration parameter OUTTYPE=0, SETTYPE=1,
REVTYPE=1 and STPOUT=OFF;
If long signal control is required, in configuration parameter OUTTYPE=2,
SETTYPE=1, REVTYPE=1, STPOUT=OFF; when long signal control is applied and
running time has reached, no matter the feedback arrives or not, output is OFF.
Note: the settings of FBOPT and PSWAM can avoid wrong operation for Auto button the panel.
Other settings should be applied for auto control.
Alarm Settings:
FAIL(Device Fault) alarm, when all function block switches are ON, FAIL outputs
alarm (FAIL=ON);
OPFL (running fault) alarm, when the status feedback of function block is different
with its output, OPFL outputs alarm (OPFL=ON);
TRIP(trip indication) alarm, if there is no stop output action, the open feedback
changes from ON to OFF, TRIP outputs alarm (TRIP=ON);
Set the operation parameter IGNORALM (input shield alarm) of basic parameter as
not shield (IGNORALM=OFF), the input instruction is not influenced by alarm signals
FAIL and OPFL.
Note: whether to acknowledge fault is determined by the settings of operation parameter
OPFLACK. When IGNORSTA=ON, OPFL does not output alarm.
VALVE function block enables control and interlock protect to a single equipment by last level
sequence control command or operator by panel.
VALVE function block is complex function block, and its running time is 20µs.
288
Function Block Reference
Application
Name Description Upload Properties
Reference
289
Function Block Reference
Application
Name Description Upload Properties
Reference
Whether Auto-Remove
Running Fault:
Set AUTOCLR=ON, running
fault alarm OPFL will be
eliminated automatically after
status feedback signal is Operation
AUTOCLR TRUE -
restored. Parameter
Set AUTOCLR=OFF, running
fault alarm OPFL will be
eliminated only after panel
confirmation after status
feedback signal is restored.
Whether to Confirm Trip Fault:
When TRIPACK=OFF, then
the trip fault do not need to be
confirmed and do not use as
input condition of new
command. Operation
TRIPACK TRUE -
When TRIPACK=ON, then Parameter
the trip fault:
need to be confirmed
use as input condition of new
interlock command and
Man/auto command.
Input Command Shield Alarm.
When IGNORALM=ON, then
FAIL, TRIP, FAULT, OPFL will
not use as input condition of
IGNORAL new command. Operation
TRUE -
M When IGNORALM=OFF, then Parameter
FAIL, TRIP, FAULT, OPFL will
use as input condition of new
interlock command and
Man/auto command.
Ignore Feedback That Output
Instruction.
When status feedback is
ignored and IGNORSTA=ON,
an OPN command or CLS
command will output
depending on OUTTYPE Operation
IGNORSTA TRUE -
setting. Parameter
When status feedback is not
ignored and
IGNORSTA=OFF, the restore
outputs command when
corresponding status
feedback reaches.
Time Output pulse width. When
Setting single pulse and pulse list are Operation
TPW TRUE -
s output, define the width of Parameter
high-level of output pulse.
290
Function Block Reference
Application
Name Description Upload Properties
Reference
Devise Travel Time (Unit: S)
When the command is output
and corresponding output
feedback after TOC time,
Operation
TOC operation fault OPFL appears. TRUE -
Parameter
(When status feedback is
ignored, IGNORSTA=ON,
operation fault does not
appear.)
Output Pulse Cycle (Unit: S)
Pulse period defined when Operation
TPLS TRUE -
pulse list is output. When set Parameter
TPLS<TPW, TPLS=TPW.
Setting Interval of Button Operation
TWAIT TRUE -
Pop-Up (Unit: S) Parameter
Extended Input Measuring
OPNSTA Open Bit Feedback - Input Pin
Parameters pin Point DI
Measuring
CLSSTA Close Bit Feedback - Input Pin
Point DI
Upstream
AUTOPN Auto-Open Command - Input Pin
Output
Upstream
AUTCLS Auto-Close Command - Input Pin
Output
Upstream
AUTSTOP Auto-Stop Command - Input Pin
Output
Upstream
EMOPN Interlock Open Command - Input Pin Interlock
Signal
Upstream
EMCLS Interlock Close Command - Input Pin Interlock
Signal
Upstream
PROTECT Protect - Input Pin
Output
Control Switch with on The Upstream
TOLOC - Input Pin
Spot (ON=on the Spot) Output
Confirm Signal of Program
Input
Upstream
PACK Eliminate the running alarm or - Input Pin
Output
trip alarm by panel or program
input signal PACK.
Open-Output Enable Signal
Open permitted signal. When
OPNPRM=ON, interlock Upstream
OPNPRM - Input Pin
open, auto open and manual Output
open can output open
command.
Close- Output Enable Signal
Close permitted command.
When CLSPRM=ON, interlock Upstream
CLSPRM - Input Pin
close, auto close and manual Output
close can output close
command.
Control Switch Input of Upstream
PSWAM - Input Pin
Software Man/Auto Output
291
Function Block Reference
Application
Name Description Upload Properties
Reference
Select Man/Auto Control
Upstream
FBOPT Source - Input Pin
Output
(OFF=Panel Control)
OPN Output the Open Instruction - Output Pin Output DO
Output
pin CLS Output the Close Instruction - Output Pin Output DO
STOP Output the Stop Instruction - Output Pin Output DO
Operation
SWFIX Command of Listing - -
Parameter
Operation
MANOPN Manual Open Command - -
Parameter
Operation
MANCLS Manual Close Command - -
Operati Parameter
on pin Operation
MANSTOP Manual Stop Command - -
Parameter
Man/Auto Switch: Operation
SWAM - -
ON=Auto, OFF=Man Parameter
Operation
ACK Confirm Signal - -
Parameter
Device Fault
When open status feedback
Monitoring
FAIL OPNSTA and close status - -
Parameter
feedback CLSSTA are both
ON, feedback fault FAIL=ON.
Monitoring
OPFL Running Fault (ON=Fault) - -
Parameter
Monitoring
TRIP Trip Indication (ON=Trip) - -
Parameter
Monitoring
LOC Indication of Device Open All - -
Parameter
Monitoring
STAOPN Indication of Device Close All - -
Status Parameter
Indication of Device Stop in Monitoring
STACLS - -
the Middle Parameter
Monitoring
STASTOP Device Mode (Observe) - -
Parameter
Monitoring
MODE Running Fault (ON=Fault) - -
Parameter
Output Process of Monitoring
OPNFLAG - -
Open-Command (Observe) Parameter
Output Process of Monitoring
CLSFLAG - -
Close-Command (Observe) Parameter
STOPFLA Output Process of Monitoring
- -
G Stop-Command (Observe) Parameter
Alarm Operation
AOF Suppress Module Alarm TRUE -
Enable Parameter
d and
Suppre FLAG Flag Code - Output Pin -
ss
OOS
with OOS Status Operation
Setting SWOOS TRUE -
(ON=Prohibited) Parameter
s
292
Function Block Reference
0= inching mode
When status feedback is not ignored and IGNORSTA=OFF, the restore outputs
command when corresponding status feedback reaches.
When status feedback is ignored and IGNORSTA=ON, the status feedback does not
influence the command output.
1=consistent mode
Input command jumps and checks and has memory. Output command will not restore
with input command.
When status feedback is not ignored and IGNORSTA=OFF, the restore outputs
command when corresponding status feedback reaches.
When status feedback is ignored and IGNORSTA=ON, the status feedback does not
influence the command output.
Function block status and priority: OOS>on-site> close protection >interlock>manual /auto
selection
293
Function Block Reference
OOS(MODE=1)
When SWOOS=ON, function block is in OOS status and does not respond to command output.
The output maintains.
On-site(MODE=2)
When function block is not in OOS status and TOLOC=ON, function block is in on-site mode.
Output command restores and is not available. Function block is not restricted by switch.
When function block is not in OOS status or on-site status, input close protection commands,
function block turns to close protection mode. Close protection mode is not restricted by switch or
feedback signal or alarm.
When Input Pin PROTECT jumps from OFF to ON, the trigger one stops command output.
Interlock(MODE=4)
When function block is not in OOS status or on-site status, input interlock open or interlock close
command, function block turns to interlock mode. Interlock command input adopts positive
transmission check.
When both interlock open, interlock stop commands are inputted, the system does not respond
interlock command, and will generate DBEMCMD alarm.
When interlock open command is inputted first and interlock stop command is inputted in effective
time of interlock open command, execute interlock open command first and then interlock stop
command after interlock open command is over. And vise versa.
Precedence level of manual stop is more than auto-open, auto-close, auto-stop, manual open and
manual close.
If interlock command EMOPN or EMCLS is ON, then manual stop command disables.
When function block is not in all statuses above, it is in manual /auto selection mode. Automatic
status instruction includes AUTOPN, AUTCLS, and AUTSTOP. Manual status output instruction
294
Function Block Reference
If interlock open EMOPN hold is continuously ON, then manual close and auto close command
disables.
If interlock-close EMCLS hold is continuously ON, then manual open and auto open command
disables.
4) Manual/Auto Switch
When OOS, on-site, close protection, interlock are not generated, the system turns to manual
/auto mode.
5) Running Fault
When the status feedback IGNORSTA=OFF is not ignored, and no responding feedback signal
are received in runtime TOC after outputting the command, start up running fault alarm OPFL.
In inching mode, when the lasting time of input command is less than runtime, no running fault will
be generated.
In inching and consistent mode, when running fault OPFL occurs, restore output commands RUN,
STOP.
When there is OPFL alarm, if new command is effective, eliminate OPFL alarm.
Trip Alarm
When there is no open command, generate TRIP when open feedback reaches or close feedback
undoes.
When there is no close command, generate TRIP when close feedback reaches or open feedback
295
Function Block Reference
undoes.
When there is TRIP alarm, then new command is valid and the input of new command will
eliminate TRIP alarm.
Function
Panel Parameter Block Initial Value
Application Instruction
Name Parameter Value Range
Name
Read only, OUTTYPE=0, Set in the
Pulse OUTTYPE √ -
parameter Properties.
OUT
TYP Pulse Read only, OUTTYPE=1, Set in the
OUTTYPE - -
E Serial parameter Properties.
Read only, OUTTYPE=2, Set in the
Continuous OUTTYPE - -
parameter Properties.
Run Read only, SETTYPT=0, Set in the
Inching SETTYPE - -
ning parameter Properties.
Mod Read only, SETTYPE=1, Set in the
e Continuous SETTYPE √ -
parameter Properties.
0=In the process of operating output,
Not
REVTYPE - - system does not respond to negative stop
Response
REV command.
TYP 1=In the process of operating output,
E Output REVTYPE √ - system responds to negative stop command
Mod and output negative stop command.
e
2=In the process of operating output,
Stop REVTYPE - - system responds to negative stop command
and is considered as stop command.
296
Function Block Reference
Function
Panel Parameter Block Initial Value
Application Instruction
Name Parameter Value Range
Name
When single pulse and pulse list are output,
TPW(s) TPW 5.000 ≥0 define the width of high-level of output
pulse.
When the command is output and
corresponding output feedback after TOC
time, operation fault OPFL appears. (When
TOC(s) TOC 20.000 ≥0
status feedback is ignored,
IGNORSTA=ON, operation fault does not
appear.)
Read only, Pulse period defined when pulse
TPLS(s) TPLS 10.000 - list is output. When set TPLS<TPW,
TPLS=TPW.
The
Out OPNPRM RUNPRM button is - Start Command Enable Signal
put pressed.
Per
miss The
ion CLSPRM STOPPRM button is - Stop Command Enable Signal
pressed.
The
button is The button pressed means STPOUT=ON,
STP Enable STPOUT -
not and stop command is output.
OUT pressed.
Setti
ngs The
The button pressed means STPOUT=OF
Disable STPOUT button is -
and stop command will not be output.
pressed.
TW
AIT Read only, Setting Interval of Button
TWAIT(s) TWAIT 1.000 ≥0
Setti Pop-Up, Set in the parameter Properties.
ng
Man Read only, FBOPT=OFF, Set in the
Panel FBOPT √ -
ual/ parameter Properties.
Auto
_CS Read only, FBOPT=ON, Set in the
swit Program FBOPT - -
parameter Properties.
ch
OPN MANOPN - - Manual Open Command
Ope
CLS MANCLS - - Manual Close Command
ratio
n
Butt STP MANSTOP - - Manual Stop Command
on
ACK ACK - - Confirm Signal
3.10.4 Flag
Table 3-21 Flag list
297
Function Block Reference
To achieve the field-pump on, off and stop control as shown Figure 3-22, and can be operated on
flow chart. When pump running fault (if after running time, the status feedback and control output
are different, open the running fault alarm) occurs, no need to acknowledge. When pump trip
occurs, acknowledge first and execute other operation.
Dual-DI three DO pump refers to that the on, off and stop of filed pump device is controlled by
three DO signals, the pump status is shown by dual-DI signal feedbacks.
Details of program are shown below. It applies VALVE valve control function block, and the upper
computer interface can control DO via function block tag.
298
Function Block Reference
Function block and example instructions are shown in the table below:
006 VALVE002 Function Block Tag Valve Control Function Supervision Tag
Block Tag
FBOPT: ON
PSWAM: OFF
OPFLACK: OFF
AUTOCLR: ON
TRIPACK: OFF
IGNORSTA: ON
If pulse control is required, in configuration parameter OUTTYPE=2, SETTYPE=1,
REVTYPE=1 and STPOUT=ON;
If long signal control is required, in configuration parameter OUTTYPE=2,
SETTYPE=1, REVTYPE=1, STPOUT=ON; when long signal control is applied and
running time has reached, no matter the feedback arrives or not, output is OFF.
Note: the settings of FBOPT and PSWAM can avoid wrong operation for Auto button on the panel.
Other settings should be applied for auto control.
Alarm Settings:
299
Function Block Reference
FAIL(Device Fault) alarm, when all function block switches are ON, FAIL outputs
alarm (FAIL=ON);
OPFL (running fault) alarm, when the status feedback of function block is different
with its output, OPFL outputs alarm (OPFL=ON);
TRIP(trip indication) alarm, if there is no stop output action, the open feedback
changes from ON to OFF, TRIP outputs alarm (TRIP=ON);
Set the operation parameter IGNORALM (input shield alarm) of basic parameter as
not shield (IGNORALM=OFF), the input instruction is not influenced by alarm signals
FAIL and OPFL.
Note: whether to acknowledge fault is determined by the settings of operation parameter
OPFLACK. When IGNORSTA=ON, OPFL does not output alarm.
In double- execution institution system, two control stations can be in auto mode. Automatically
control signals control corresponding execution institution though corresponding control station
and two institutions and assistant equipments change under the control of automatically control
signals.
When one side of institution cannot generate the equivalent force of another one as some fault,
proper operation will reduce control output of default side and the other side will compensate the
reduced force. That will reduce interfere to the process.
The balance control function block realizes its function with manual operator function block
together.
BALANCE function block is complex function block, and its running time is 10µs.
Application
Name Description Upload Properties
Reference
Basic Output Limits Output A High Operation Value range is
MVH1 TRUE
Parameters Limit Parameter [SCL, SCH].
300
Function Block Reference
Application
Name Description Upload Properties
Reference
Output A Low Operation Value range is
MVL1 TRUE
Limit Parameter [SCL,SCH]
Output B High Operation Value range is
MVH2 TRUE
Limit Parameter [SCL,SCH]
Output B Low Operation Value range is
MVL2 TRUE
Limit Parameter [SCL,SCH]
Because of
integral, the
integral item
Integral High Operation is big when EI
MAX TRUE
Limit Parameter is big. So the
value range of
the integral is
limited.
Integral Limits
Because of
integral, the
integral item
Integral Low Operation is big when EI
MIN TRUE
Limit Parameter is big. So the
value range of
the integral is
limited.
Configurati
Range High
SCH - on -
Limit
Parameter
Configurati
Range Low
SCL - on -
Limit
Parameter
Configurati
Engineering
EU - on -
Unit
Parameter
Range Display
Settings Decimal Digits
Configurati
CSV Decimal of the input in
CSVDLEN - on
Digits [0,5] the panel, and
Parameter
the default
value is 3.
Display
Decimal Digits
Configurati
MV Decimal of the input in
MVDLEN - on
Digits [0,5] the panel, and
Parameter
the default
value is 3.
Extended Input Pin Balance Input The upper is
CSV - Input Pin
Parameters Value MV.
Connect to
Output A BKOUTERR
Track Switch of the
SWTR1 - Input Pin
(ON=Tracking MANUAL
) function block
A.
Connect to
BKOUTERR
Track Input of the
TV1 - Input Pin
Value A MANUAL
function block
A.
301
Function Block Reference
Application
Name Description Upload Properties
Reference
Connect to
Track Switch BKOUTERR
for Output B of the
SWTR2 - Input Pin
(ON=Tracking MANUAL
) function block
B.
Connect to
BKOUTERR
Track Input of the
TV2 - Input Pin
Value B MANUAL
function block
B.
Output A. When
Connects SWTR1=ON
input terminal and
Output Pin of A manual SWTR2=ON
MV1 - Output Pin
operator then
function block MV1=TV1
[MVL1, and
MVH1]. MV2=TV2.
When
SWTR1=ON
and
SWTR2=OFF,
then
MV1=TV1
and
MV2=2CSV –
MV1.
OutputB When
connects SWTR1=OFF
input terminal and
of B manual SWTR2=ON,
MV2 - Output Pin then
operator
function block MV1=2CSV –
[MVL1, MV2 and
MVH1]. MV2=TV2.
When
SWTR1=OFF
and
SWTR2=OFF,
then
MV1=CSV +
BIAS and
MV2=CSV –
BIAS.
Connect to
BKIN of upper
function block.
When
SWTR1= ON
Feedback
BKOUT - Output Pin and
Output
SWTR2=ON,
then BKOUT=
(TV1+TV2)/2.
Else
BKOUT=CSV.
302
Function Block Reference
Application
Name Description Upload Properties
Reference
Connect to
BKIN of upper
function block.
When
Output
SWTR1= ON
BKOUTERR Feedback - Output Pin
SWTR2=ON,
Status
then BKOUT=
(TV1+TV2)/2.
Else
BKOUT=CSV.
In the OOS
OOS Status Operation
SWOOS TRUE -
SETTINGS (ON=Prohibit Parameter
ed)
Alarm
Suppress Operation
Enabled and AOF TRUE -
Module Alarm Parameter
Suppress
Man-Set Operation
BIAS - -
Biasing Value Parameter
Adjust the
speed of
Operation
GAIN Integral Gain TRUE integral
Parameter
accumulation
through GAIN.
When EI is
less than EI
Deadband,
the integral
Parameter item will not
Settings be
accumulated
EI Deadband Operation which means
DB_A TRUE
A Parameter that the
difference
between
target value
and current
value is in the
limit of
deadband.
EI Deadband Operation
DB_B TRUE -
B Parameter
Expand Configurati
HORLIM Range High - on -
Extend Range Limit Parameter
Settings Expand Configurati
LORLIM Range Low - on -
Limit Parameter
303
Function Block Reference
Function
Block Application
Panel Parameter Name Initial Value Value Range
Parameter Instruction
Name
Track Input Input A(TV1) TV1 0.0000 - -
Value Input B(TV2) TV2 0.0000 - -
EI Deadband DB_A DB_A 0.0000 - -
Value DB_B DB_B 0.0000 - -
Integral Limits MAX MAX 100.0000 - -
304
Function Block Reference
Function
Block Application
Panel Parameter Name Initial Value Value Range
Parameter Instruction
Name
MIN MIN –100.0000 - -
BIAS BIAS 0.0000 - -
Bias and Gain
GAIN GAIN 1.0000 - -
MVH1 MVH1 100.0000 [SCL,SCH] -
MV1 Limits
MVL1 MVL1 0.0000 [SCL,SCH] -
MVH2 MVH2 100.0000 [SCL,SCH] -
MV2 Limits
MVL2 MVL2 0.0000 [SCL,SCH] -
3.11.3 Flag
Table 3-25 Flag list
Supervision
Flag Code Instruction
Assign
D0 Enable(SWOOS) Tag Disable (OOS)
D1 Enable(AOF) Alarm Suppression(AOF)
D2 Disable Track Input 1 (TR1)
D3 Disable Track Input 2 (TR2)
D4 Disable High Limit Alarm for Input 1 (MVH1)
D5 Disable Low Limit Alarm for Input 1 (MVL1)
D6 Disable High Limit Alarm for Input 2 (MVH2)
D7 Disable Low Limit Alarm for Input 2 (MVL2)
DIO-11M function block enables control and interlock protect to single DI feedback/ single DO
output equipment by last level sequence control command or operator by panel.
DIO-11M function block is complex function block, and its running time is 20µs.
Application
Name Description Upload Properties
Reference
Basic Mode Device Runtime Operation
TOC TRUE -
Parameters Setting (Unit: s) Parameter
Whether to Confirm
Operation
OPFLACK Running Fault TRUE -
Parameter
(ON=Yes)
Whether to
Eliminate Operation
AUTOCLR TRUE -
Operation Failure Parameter
Auto(ON=Auto)
Output Command
Ignore Operation
IGNORSTA TRUE -
Feedback(OFF=N Parameter
O)
305
Function Block Reference
Application
Name Description Upload Properties
Reference
Output Safety
Mode
Operation
SAFE_OPT Selection(OFF=Not TRUE -
Parameter
Reset Output,
ON=Reset Output)
Extended Status Feedback
Parameters ACK (ON=Run - Input Pin Measuring Point DI
OFF=Stop)
Command Input
PCMD (ON=Start - Input Pin Upstream Output
OFF=Stop)
Interlock Startup Upstream Interlock
EMSTART - Input Pin
Command Input
Interlock Stop Upstream Interlock
EMSTOP - Input Pin
Command Input
Program Manual
Input Pin PSWAM and Auto Control - Input Pin Upstream Output
Digital Input
Start Command
RUNPRM - Input Pin Upstream Output
Enable Signal
Stop Command
STOPRM - Input Pin Upstream Output
Enable Signal
Manual-automatic
Control Source
FBOPT - Input Pin Upstream Output
Switch(OFF=Panel
)
Program Failure
PACK - Input Pin Upstream Output
Confirm
Output
DRIVE Driver Output - Output Pin Output DO
Pin
Alarm Suppress Module Operation
AOF TRUE -
Enabled Alarm Parameter
and
Suppres FLAG Flag - Output Pin -
s
OOS
In OOS Status Operation
SETTIN SWOOS TRUE -
(ON=Prohibited) Parameter
GS
Manual Command
Operation
MCMD (ON=Start - -
Parameter
Operatio OFF=Stop)
n Manual-automatic
Paramet Operation
SWAM Switch(ON=Auto - -
er Parameter
OFF=Manual)
Operation
MACK Manual Confirm - -
Parameter
Status Running Fault Monitoring
OPFL - -
(ON=Fault) Parameter
Device Running
Status Monitoring
STARUN - -
Indication(ON=Run Parameter
)
Device Stop Status
Monitoring
STASTOP Indication(ON=Pro - -
Parameter
hibited)
306
Function Block Reference
Application
Name Description Upload Properties
Reference
Device Monitoring
MODE - -
Mode(Observe) Parameter
Startup Command
Monitoring
RUNFLAG Output - -
Parameter
Process(Observe)
Stop Command
Monitoring
STOPFLAG Output - -
Parameter
Process(Observe)
3.12.2 Logic Time Sequencing
Function block status
OOS(MODE=1)
When SWOOS=ON, function block is in OOS status and does not respond to command output.
The output maintains.
When function block is not in OOS status, and input interlock startup or interlock stop command,
function block turns to interlock mode. Interlock command input adopts positive transmission
check.
When both interlock startup, interlock stop commands are inputted, the system does not respond
interlock command, and will generate DBEMCMD alarm.
When interlock startup command is inputted first and interlock stop command is inputted in
effective time of interlock startup command, execute interlock startup command first and then
interlock stop command after interlock startup command is over. And vise versa.
The validity of interlock command is restricted by start/stop enable (RUNPRM, STOPRM), running
fault OPFL. Running fault limit can be shielded by OPFLACK,
Attention:
When function block is not in all statuses above, it is in manual /auto selection mode.
Manual status output instruction is by MCMD. When MCMD=ON, then DRIVE=ON. When
MCMD=OFF, then DRIVE=OFF.
307
Function Block Reference
Automatic status output instruction is decided by PCMD. When PCMD=ON then DRIVE=ON.
When PCMD=OFF, then DRIVE=OFF.
When interlock startup EMSTART is continuously ON, then manual stop and auto stop command
disables.
When interlock stop EMSTOP is continuously ON, then manual startup and auto startup command
is disabled.
Manual/Auto Switch
When OOS and interlock are not generated, the system works in manual /auto mode.
Running Fault
When the status feedback IGNORSTA=ON is ignored, there is no running fault. The DRIVE output
maintains.
When the status feedback IGNORSTA=ON is not ignored, and no responding feedback signal are
received in runtime TOC after outputting the command, start up running fault alarm OPFL. When
SAFE_OPT=ON, DRIVE=OFF.
When there is OPFL alarm, new command is not effective. And when OPFL alarm is eliminated,
new command will be effective again.
Alarm Confirmation
Shield Alarm
IGNORALM=ON, respond to the new command no matter FAIL and OPEL alarms exist or not.
IGNORALM=OFF, not respond to the new command when FAIL alarm exists, OPEL is limited by
OPFLACK.
308
Function Block Reference
Set OPFLACK=OFF, running fault does not need to be confirmed and is not considered as
restricted condition of new command input.
Set OPFLACK=ON, running fault needs to be confirmed and is considered as restricted condition
of new command input and is effective to interlock command and manual/auto command.
Set AUTOCLR=ON, running fault alarm OPFL will be eliminated automatically after status
feedback signal is restored.
Set AUTOCLR=OFF, running fault alarm OPFL will be eliminated only after panel confirmation
after status feedback signal is restored.
Set IGNORSTA=ON, current output does not judge feedback status and DRIVE is completely
output.
Parameter
Panel Parameter Name Initial Value Value Range Application Instruction
Name
Eliminate the running
alarm by panel or
Alarm Eliminated PACK OFF -
program input signal
PACK.
Output Start Enable RUNPRM ON - -
Enable/Disable Stop Enable STOPRM ON - -
Time of Course(s) TOC 20.0000 - -
309
Function Block Reference
3.12.4 Flag
Table 3-28 Flag list
Supervision
Flag Description
Assignment
D0 Enable (SWOOS) Tag Disable (OOS)
D1 - -
D2 - -
D3 Disable Interlock Startup (EMSTART)
D4 Disable Interlock Stop (EMSTOP)
D5 Disable Manual (MAN)
D6 Enable (SWAM) Auto(AUTO)
D7 - -
D8 - -
D9 Disable Running Fault (OPFL)
D10 - -
D11 Disable Device Run Status (STARUN)
D12 Disable Device Stop Status (STASTOP)
D13 - -
D14 Disable Startup Command Output Process (RUNPRO)
D15 Disable Stop Command Output Process (STOPRO)
D16 Disable Interlock Startup Condition Indication (EMSTACON)
D17 Disable Interlock Stop Condition Indication (EMSTPCON)
D18 Enable (AOF) Alarm Suppression (AOF)
D19 - -
Enable
D20 Startup Permission Indication (RUNPRM)
(RUNPRM)
Enable
D21 Stop Permission Indication (STOPRM)
(STOPRM)
To achieve the field-pump transducer start and stop control as shown in Figure 3-24, and can be
operated on flow chart. When pump running fault (if after running time, the status feedback and
control output are different, open the running fault alarm) occurs, no need to acknowledge. When
pump trip occurs, acknowledge first and execute other operation.
One DI one DO pump refers to that the on, off and stop of filed pump device is controlled by one
DO signal, the pump status is shown by dual-DI signal feedbacks. It is often used to control start
and stop of pump transducer.
310
Function Block Reference
Details of program are shown below. It applies DIO-11M function block, and the upper computer
interface can control DO via function block tag.
Function block and example instructions are shown in the table below:
FBOPT: ON
PSWAM: OFF
OPFLACK: OFF
AUTOCLR: ON
TRIPACK: OFF
IGNORSTA: ON
SAFE_OPT: OFF
Note: the settings of FBOPT and PSWAM can avoid wrong operation for Auto button on the panel.
311
Function Block Reference
Alarm Settings:
OPFL (running fault) alarm, when the status feedback of function block is different
with its output, OPFL outputs alarm (OPFL=ON);
If SAFE_OPT=ON, OPFL (running fault) alarm generates, and function block
DRIVE=OFF;
DIO-11V function block enables control and interlock protect to single DI feedback/single DO
output equipment by last level sequence control command or operator by panel.
DIO-11V function block is complex function block, and its running time is 20µs.
312
Function Block Reference
313
Function Block Reference
OOS(MODE=1)
When SWOOS=ON, function block is in OOS status and does not respond to command output.
The output maintains.
When function block is not in OOS status, and input interlock open or interlock close command,
function block turns to interlock mode. Interlock command input adopts positive transmission
check.
When both interlock open, interlock close commands are inputted, the system does not respond
interlock command, and will generate DBEMCMD alarm.
When interlock open command is inputted first and interlock close command is inputted in
effective time of interlock open command, execute interlock open command first and then interlock
close command after interlock open command is over. And vise versa.
When function block is not in all statuses above, it is in manual /auto selection mode.
314
Function Block Reference
Manual status output instruction is by MCMD. When MCMD=ON, then DO=ON. When MCMD=
OFF, then DO=OFF.
Automatic status output instruction is decided by PCMD. When PCMD=ON then DO=ON. When
PCMD=OFF, then DO=OFF.
If interlock open EMOPN is continuously ON, then manual close and auto close command
disables.
If interlock close EMCLS is continuously ON, then manual open and auto open command
disables.
2. Manual/Auto Switch
When OOS and interlock are not generated, the system turns to manual /auto mode.
3. Running Fault
When the status feedback IGNORSTA=ON is ignored, there is no running fault. The DO output
maintains.
When the status feedback IGNORSTA=ON is not ignored, and no responding feedback signal are
received in runtime TOC after outputting the command, start up running fault alarm OPFL. When
SAFE_OPT=ON, DO=OFF.
When there is OPFL alarm, new command is not effective. And when OPFL alarm is eliminated,
new command will be effective again.
4. Alarm Confirmation
5. Shield Alarm
IGNORALM=ON, respond to the new command no matter FAIL and OPEL alarms exist or not.
315
Function Block Reference
IGNORALM=OFF, not respond to the new command when FAIL alarm exists, OPEL is limited by
OPFLACK.
Set OPFLACK=OFF, running fault does not need to be confirmed and is not considered as
restricted condition of new command input.
Set OPFLACK=ON, running fault needs to be confirmed and is considered as restricted condition
of new command input and is effective to interlock command and manual/auto command.
Set AUTOCLR=ON, running fault alarm OPFL will be eliminated automatically after status
feedback signal is restored.
Set AUTOCLR=OFF, running fault alarm OPFL will be eliminated only after panel confirmation
after status feedback signal is restored.
Set IGNORSTA=ON, current output does not judge feedback status and DRIVE is completely
output.
The mode can be used to control air open valve. When valid input command is ON, i.e.
open command, output is ON, the air open valve is open. When valid input command is
OFF, i.e. closed command, output is OFF, the air open valve is closed.
The mode can be used to control air closed valve. When valid input command is ON, i.e.
open command, output is OFF, the air closed valve is open. When valid input command
is OFF, i.e. closed command, output is ON, the air closed valve is closed.
Cold Startup
No matter in air open or closed mode, function block outputs OFF when cold starting
controller.
316
Function Block Reference
Parameter
Panel Parameter Name Initial Value Value Range Application Instruction
Name
Eliminate the running
alarm by panel or
Alarm Eliminated PACK OFF -
program input signal
PACK.
Output On Enable OPNPRM ON - -
Enable/Disable Off Enable CLSPRM ON - -
Time of Course(s) TOC 20.0000 - -
3.13.4 Flag
Table 3-32 Flag list
Supervision
Flag Description
Assignment
D0 Enable (SWOOS) Tag Disable (OOS)
D1 - -
D2 - -
D3 Disable Interlock Open (EMOPNSTA)
D4 Disable Interlock Close (EMCLSSTA)
D5 Disable Manual (MAN)
D6 Enable (SWAM) Auto(AUTO)
D7 - -
D8 - -
D9 Disable Running Fault (OPFL)
D10 - -
D11 Disable Device Open Status (STAOPN)
D12 Disable Device Close Status (STACLS)
317
Function Block Reference
Supervision
Flag Description
Assignment
D13 - -
D14 Disable Open Command Output Process (OPNPRO)
D15 Disable Close Command Output Process (CLSPRO)
D16 Disable Interlock Open Condition Indication (EMOPNCON)
D17 Disable Interlock Close Condition Indication (EMCLSCON)
D18 Enable (AOF) Alarm Suppression (AOF)
D19 - -
Enable
D20 Open Permission Indication (OPNPRM_B)
(OPNPRM)
Enable
D21 Close Permission Indication (CLSPRM_B)_
(CLSPRM)
To achieve the field-valve switch control as shown in Figure 3-26, and can be operated on flow
chart. When valve running fault (if after running time, the status feedback and control output are
different, generate the running fault alarm) occurs, no need to acknowledge.
One DI one DO valve refers to that the filed valve device is controlled by one DO signal, the valve
status is shown by one DI signal feedbacks.
Details of program are shown below. It applies DIO-11V function block, and the upper computer
interface can control DO via function block tag.
318
Function Block Reference
Function block and example instructions are shown in the table below:
FBOPT: ON
PSWAM: OFF
OPFLACK: OFF
AUTOCLR: ON
IGNORSTA: OFF
SAFE_OPT: OFF
Note: the settings of FBOPT and PSWAM can avoid wrong operation for Auto button on the panel.
Other settings should be applied for auto control.
Alarm Settings:
OPFL :ON
If SAFE_OPT=ON, OPFL (running fault) alarm generates, and function block
DO=OFF;
Note: whether to acknowledge fault is determined by the settings of operation parameter
OPFLACK. When IGNORSTA=ON, OPFL does not output alarm.
3.14 Dual-DI and Single DO Start & Stop Function Block (DIO-21M)
DIO-21M function block enables control and interlock protect to dual-DI feedback/single DO output
equipment by last level sequence control command or operator by panel.
DIO-21M function block is complex function block, and its running time is 20µs.
319
Function Block Reference
Application
Name Description Upload Properties
Reference
Device Runtime Operation
TOC TRUE -
(Unit: s) Parameter
Whether to
Operation
OPFLACK Confirm Running TRUE -
Parameter
Fault (ON=Yes)
Whether to
Eliminate Operation
AUTOCLR TRUE -
Operation Failure Parameter
Auto(ON=Auto)
Input Command
Basic Mode Operation
IGNORALM Shield TRUE -
Parameters Setting Parameter
Alarm(OFF=NO)
Output Command
Ignore Operation
IGNORSTA TRUE -
Feedback(OFF=N Parameter
O)
Output Safety
Mode
Selection(OFF=N Operation
SAFE_OPT TRUE -
ot Reset Output Parameter
ON=Reset
Output)
Extended Input Pin Run Status Measuring
RUNSTA - Input Pin
Parameters Feedback Point DI
Stop Status Measuring
STOPSTA - Input Pin
Feedback Point DI
Command Input
Upstream
PCMD (ON=Start - Input Pin
Output
OFF=Stop)
Upstream
Interlock Startup
EMSTART - Input Pin Interlock
Command
Input
Upstream
Interlock Stop
EMSTOP - Input Pin Interlock
Command
Input
Program Manual
Upstream
PSWAM and Auto Control - Input Pin
Output
Digital Input
Start Command Upstream
RUNPRM - Input Pin
Enable Signal Output
Stop Command Upstream
STOPRM - Input Pin
Enable Signal Output
320
Function Block Reference
Application
Name Description Upload Properties
Reference
Manual-automatic
Control Source Upstream
FBOPT - Input Pin
Switch(OFF=Pan Output
el)
Program Input Upstream
PACK - Input Pin
Confirm Signal Output
Output Pin DRIVE Driver Output - Output Pin Output DO
Alarm Suppress Module Operation
AOF TRUE -
Enabled Alarm Parameter
and
Suppress FLAG Flag - Output Pin -
OOS In OOS Status Operation
SWOOS TRUE -
SETTINGS (ON=Prohibited) Parameter
Manual
Command Operation
MCMD - -
(ON=Start Parameter
OFF=Stop)
Operation
Parameter Manual-automatic
Operation
SWAM Switch(ON=Auto - -
Parameter
OFF=Manual)
Operation
MACK Manual Confirm - -
Parameter
Device Monitoring
FAIL - -
Fault(ON=Fault) Parameter
Running Fault Monitoring
OPFL - -
(ON=Fault) Parameter
Device Running
Status Monitoring
STARUN - -
Indication(ON=Ru Parameter
n)
Device Stop
Status Status Monitoring
STASTOP - -
Indication(ON=Pr Parameter
ohibited)
Device Monitoring
MODE - -
Mode(Observe) Parameter
Startup Command
Monitoring
RUNFLAG Output - -
Parameter
Process(Observe)
Stop Command
Monitoring
STOPFLAG Output - -
Parameter
Process(Observe)
3.14.2 Logical Control
Function block status
OOS(MODE=1)
When SWOOS=ON, function block is in OOS status and does not respond to command output.
The output maintains.
321
Function Block Reference
When function block is not in OOS status, and input interlock startup or interlock stop command,
function block turns to interlock mode. Interlock command input adopts positive transmission
check.
When both interlock startup, interlock stop commands are inputted, the system does not respond
interlock command, and will generate DBEMCMD alarm.
When interlock startup command is inputted first and interlock stop command is inputted in
effective time of interlock startup command, execute interlock startup command first and then
interlock stop command after interlock startup command is over. And vise versa.
The validity of interlock command is restricted by start/stop enable (RUNPRM, STOPRM), device
fault FAIL and running fault OPFL. Running fault limit can be shielded by OPFLACK, FAIL and
OPFL limit can be shielded by IGNORALM.
Attention:
When function block is not in all statuses above, it is in manual /auto selection mode.
Manual status output instruction is by MCMD. When MCMD=ON, then DRIVE=ON. When
MCMD=OFF, then DRIVE=OFF.
Automatic status output instruction is decided by PCMD. When PCMD=ON then DRIVE=ON.
When PCMD=OFF, then DRIVE=OFF.
If interlock startup EMSTART is continuously ON, then manual stop and auto stop command
disables.
If interlock stop EMSTOP is continuously ON, then manual startup and auto startup command
disables.
The validity of man/auto command is restricted by start/stop enable (RUNPRM, STOPRM), device
fault FAIL and running fault OPFL. Running fault limit can be shielded by OPFLACK. FAIL and
OPFL limit can be shielded by IGNORAM.
Manual/Auto Switch
When OOS and interlock are not generated, the system turns to manual /auto mode.
322
Function Block Reference
Running Fault
When the status feedback IGNORSTA=ON is ignored, there is no running fault. The DRIVE output
maintains.
When the status feedback IGNORSTA=OFF is not ignored, and no responding feedback signal
are received in runtime TOC after outputting the command, start up running fault alarm OPFL.
When SAFE_OPT=ON, DRIVE=OFF.
When there is OPFL alarm, new command is not effective. And when OPFL alarm is eliminated,
new command will be effective again.
Feedback Fault
When run status feedback RUNSTA and stop status feedback STOPSTA are both ON, feedback
fault alarm FAIL will be started.
When it is not outputting instruction and has no running fault, if RUNSTA and STOPSTA are OFF
together, set the power off alarm as POWOFF.
Alarm Confirmation
Shield Alarm
IGNORALM=ON, respond to the new command no matter FAIL and OPEL alarms exist or not.
IGNORALM=OFF, not respond to the new command when FAIL alarm exists, OPEL is limited by
OPFLACK.
Set OPFLACK=OFF, running fault does not need to be confirmed and is not considered as
restricted condition of new command input.
Set OPFLACK=ON, running fault needs to be confirmed and is considered as restricted condition
of new command input and is effective to interlock command and manual/auto command.
Set AUTOCLR=ON, running fault alarm OPFL will be eliminated automatically after status
feedback signal is restored.
Set AUTOCLR=OFF, running fault alarm OPFL will be eliminated only after panel confirmation
323
Function Block Reference
Set IGNORSTA=ON, current output does not judge feedback status and DRIVE is completely
output.
Initial
Panel Parameter Name Parameter Name Value Range Application Instruction
Value
Eliminate the running
alarm by panel or
Alarm Eliminated PACK OFF -
program input signal
PACK.
Output Start Enable RUNPRM ON - -
Enable/Disable Stop Enable STOPRM ON - -
Time of Course(s) TOC 20.0000 - -
3.14.4 Flag
Table 3-36 Flag list
Supervision
Flag Description
Assignment
D0 Enable (SWOOS) Tag Disable (OOS)
D1 - -
D2 - -
D3 Disable Interlock Startup (EMSTART)
D4 Disable Interlock Stop (EMSTOP)
D5 Disable Manual (MAN)
324
Function Block Reference
Supervision
Flag Description
Assignment
D6 Enable (SWAM) Auto(AUTO)
D7 Disable Power off Alarm (POWOFF)
D8 - -
D9 Disable Running Fault (OPFL)
D10 Disable Device Fault (FAIL)
D11 Disable Device Run Status (STARUN)
D12 Disable Device Stop Status (STASTOP)
D13 - -
D14 Disable Startup Command Output Process (RUNPRO)
D15 Disable Stop Command Output Process (STOPRO)
D16 Disable Interlock Startup Condition Indication (EMSTACON)
D17 Disable Interlock Stop Condition Indication (EMSTPCON)
D18 Enable (AOF) Alarm Suppression (AOF)
D19 - -
Enable
D20 Startup Permission Indication (RUNPRM)
(RUNPRM)
Enable
D21 Stop Permission Indication (STOPRM)_
(STOPRM)
To achieve the field-pump start and stop control as shown in Figure 3-28, and can be operated on
flow chart. When pump running fault (if after running time, the status feedback and control output
are different, generate the running fault alarm) occurs, no need to acknowledge.
Dual-DI one DO pump refers to that the filed pump device is controlled by one DO signal, the
pump status is shown by dual-DI signal feedbacks. It is often used to control start and stop of
pump.
Details of program are shown below. It applies DIO-21M function block, and the upper computer
interface can control DO via function block tag.
325
Function Block Reference
Function block and example instructions are shown in the table below:
004 MOTOR002 Function Block Tag Pump Control Function Supervision Tag
Block Tag
FBOPT: ON
PSWAM: OFF
OPFLACK: OFF
AUTOCLR: ON
IGNORSTA: ON
SAFE_OPT: OFF
Note: the settings of FBOPT and PSWAM can avoid wrong operation for Auto button on the panel.
Other settings should be applied for auto control.
Alarm Settings:
OPFL (running fault) alarm, when the status feedback of function block is different with its
output, OPFL outputs alarm (OPFL=ON);
326
Function Block Reference
DIO-21V function block enables control and interlock protect to dual-DI feedback/single DO output
equipment by last level sequence control command or operator by panel.
DIO-21V function block is complex function block, and its running time is 20µs.
Application
Name Description Upload Properties
Reference
Device Runtime Operation
TOC TRUE -
(Unit: s) Parameter
Whether to
Operation
OPFLACK Confirm Running TRUE -
Parameter
Fault (ON=Yes)
Whether to
Eliminate Operation
AUTOCLR TRUE -
Operation Failure Parameter
Auto(ON=Auto)
Input Command
Basic Mode Operation
IGNORALM Shield TRUE -
Parameters Setting Parameter
Alarm(OFF=NO)
Output Command
Ignore Operation
IGNORSTA TRUE -
Feedback(OFF=N Parameter
O)
Output Safety
Mode
Selection(OFF=N Operation
SAFE_OPT TRUE -
ot Reset Output Parameter
ON=Reset
Output)
Extended Input Pin Open Status Measuring
OPNSTA - Input Pin
Parameters Feedback Point DI
Close Status Measuring
CLSSTA - Input Pin
Feedback Point DI
Command Input
Upstream
PCMD (ON=Start - Input Pin
Output
OFF=Stop)
Upstream
Interlock Open
EMOPN - Input Pin Interlock
Command
Input
327
Function Block Reference
Application
Name Description Upload Properties
Reference
Upstream
Interlock Close
EMCLS - Input Pin Interlock
Command
Input
Program Manual
Upstream
PSWAM and Auto Control - Input Pin
Output
Digital Input
Open Permission Upstream
OPNPRM - Input Pin
Signal Output
Close Permission Upstream
CLSPRM - Input Pin
Signal Output
Manual-automatic
Control Source Upstream
FBOPT - Input Pin
Switch(OFF=Pan Output
el)
Program Input Upstream
PACK - Input Pin
Confirm Signal Output
Output, Reset as
Output Pin DO OFF When - Output Pin Output DO
Download Offline
Alarm Suppress Module Operation
AOF TRUE -
Enabled and Alarm Parameter
Suppress FLAG Flag - Output Pin -
OOS In OOS Status Operation
SWOOS TRUE -
SETTINGS (ON=Prohibited) Parameter
Manual
Command Operation
MCMD - -
(ON=Start Parameter
OFF=Stop)
Operation
Parameter Manual-automatic
Operation
SWAM Switch(ON=Auto - -
Parameter
OFF=Manual)
Operation
MACK Manual Confirm - -
Parameter
Device Monitoring
FAIL - -
Fault(ON=Fault) Parameter
Running Fault Monitoring
OPFL - -
(ON=Fault) Parameter
Device Running
Status Monitoring
STAOPN - -
Indication(ON=Op Parameter
en)
Device Stop
Status Status Monitoring
STACLS - -
Indication(ON=Cl Parameter
ose)
Device Monitoring
MODE - -
Mode(Observe) Parameter
Open Command
Monitoring
OPNFLAG Output - -
Parameter
Process(Observe)
Close Command
Monitoring
CLSFLAG Output - -
Parameter
Process(Observe)
328
Function Block Reference
Application
Name Description Upload Properties
Reference
Set by the
Output Invert air open
Configurati
Configuratio Switch (ON: air and closed
IVO - on
n Parameter closed; OFF: air features of
Parameter
open) controlled
valve
3.15.2 Logical Control
Function block status
OOS(MODE=1)
When SWOOS=ON, function block is in OOS status and does not respond to command output.
The output maintains.
When function block is not in OOS status, and input interlock open or interlock close command,
function block turns to interlock mode. Interlock command input adopts positive transmission
check.
When both interlock open, interlock close commands are inputted, the system does not respond to
interlock command, and will generate DBEMCMD alarm.
When interlock open command is inputted first and interlock close command is inputted in
effective time of interlock open command, execute interlock open command first and then interlock
close command after interlock open command is over. And vise versa.
The validity of interlock command is restricted by open/close enable (OPNPRM, CLSPRM), device
fault FAIL and running fault OPFL. Running fault limit can be shielded by OPFLACK, FAIL and
OPFL limit can be shielded by IGNORALM.
Attention:
When function block is not in all statuses above, it is in manual /auto selection mode.
Manual status output instruction is decided by MCMD. When MCMD=ON, then DO=ON. When
MCMD=OFF, then DO=OFF.
Automatic status output instruction is decided by PCMD. When PCMD=ON then DO=ON. When
PCMD=OFF, then DO=OFF.
329
Function Block Reference
If interlock open EMOPN is continuously ON, then manual close and auto close command
disables.
If interlock close EMCLS is continuously ON, then manual open and auto open command
disables.
Manual/Auto Switch
When OOS and interlock are not generated, the system turns to manual /auto mode.
Running Fault
When the status feedback IGNORSTA=ON is ignored, there is no running fault. The DO output
maintains.
When the status feedback IGNORSTA=OFF is not ignored, and no responding feedback signal
are received in runtime TOC after outputting the command, start up running fault alarm OPFL.
When SAFE_OPT=ON, DO=OFF.
When there is OPFL alarm, new command is not effective. And when OPFL alarm is eliminated,
new command will be effective again.
Feedback Fault
When open status feedback OPNSTA and close status feedback CLSSTA are both ON, feedback
fault alarm FAIL will be started.
When it is not outputting instruction and has no running fault, if OPNSTA and CLSSTA are OFF
together, set the power off alarm as POWOFF.
Alarm Confirmation
330
Function Block Reference
Shield Alarm
IGNORALM=ON, respond to the new command no matter FAIL and OPEL alarms exist or not.
IGNORALM=OFF, not respond to the new command when FAIL alarm exists, OPEL is limited by
OPFLACK.
Set OPFLACK=OFF, running fault does not need to be confirmed and is not considered as
restricted condition of new command input.
Set OPFLACK=ON, running fault needs to be confirmed and is considered as restricted condition
of new command input and is effective to interlock command and manual/auto command.
Set AUTOCLR=ON, valve check fault alarm OPFL will be eliminated automatically after status
feedback signal is restored.
Set AUTOCLR=OFF, valve check fault alarm OPFL will be eliminated only after panel confirmation
after status feedback signal is restored.
Set IGNORSTA=ON, current output does not judge feedback status and DRIVE is completely
output.
The mode can be used to control air open valve. When valid input command is ON, i.e.
open command, output is ON, the air open valve is open. When valid input command is
OFF, i.e. closed command, output is OFF, the air open valve is closed.
The mode can be used to control air closed valve. When valid input command is ON, i.e.
open command, output is OFF, the air closed valve is open. When valid input command
is OFF, i.e. closed command, output is ON, the air closed valve is closed.
Cold Startup
No matter in air open or closed mode, function block outputs OFF when cold starting controller.
331
Function Block Reference
Parameter
Panel Parameter Name Initial Value Value Range Application Instruction
Name
Eliminate the running
alarm by panel or
Alarm Eliminated PACK OFF -
program input signal
PACK.
Output On Enable OPNPRM ON - -
Enable/Disable Off Enable CLSPRM ON - -
Time of Course(s) TOC 20.0000 - -
3.15.4 Flag
Table 3-40 Flag list
332
Function Block Reference
To achieve the field-valve start and stop control as shown in Figure 3-30, and can be operated on
flow chart. When valve running fault (if after running time, the status feedback and control output
are different, generate the running fault alarm) occurs, no need to acknowledge.
Dual-DI one DO valve refers to that the filed valve device is controlled by one DO signal, the pump
status is shown by dual-DI signal feedbacks.
Details of program are shown below. It applies DIO-21V function block, and the upper computer
interface can control DO via function block tag.
333
Function Block Reference
Function block and example instructions are shown in the table below:
FBOPT: ON
PSWAM: OFF
OPFLACK: OFF
AUTOCLR: ON
IGNORSTA: OFF
SAFE_OPT: OFF
Note: the settings of FBOPT and PSWAM can avoid wrong operation for Auto button on the panel.
Other settings should be applied for auto control.
Alarm Settings:
FAIL (device fault) alarm, when all function block switch status are ON, FAIL output alarm
(FAIL=ON);
OPFL (running fault) alarm, when the status feedback of function block is different with its
output, OPFL outputs alarm (OPFL=ON);
If SAFE_OPT=ON, OPFL (running fault) alarm generates, and function block DO=OFF.
When the operation parameter IGNORALM in basic parameter (input shield parameter)
is set as not shield (IGNORALM=OFF); when it is set as shield, FAIL, OPFL do not
generate alarms.
334
Function Block Reference
DI-2M function block enables dual-DI feedback start/stop valve observe alarm.
DI-2M function block is complex function block, and its running time is 20µs.
If power-failure check is required, when RUNSTA and STOPSTA are both OFF., it is in action
process within the runtime (TOC) and power-failure alarm POWOFF will be generated while it is
out of the runtime (TOC).
335
Function Block Reference
Panel Parameter Name Parameter Name Initial Value Value Range Application Instruction
Time of Course(s) TOC 20.0000 - -
3.16.3 Flag
Table 3-44 Flag list
336
Function Block Reference
DI-2V function block enables dual-DI feedback switch valve observe alarm.
DI-2V function block is complex function block, and its running time is 20µs.
When OPNSTA and CLSSTA are both OFF, it is in action process within the runtime (TOC) and
power-failure alarm POWOFF will be generated while it is out of the runtime (TOC).
337
Function Block Reference
panel parameter name parameter name Initial Value Value Range Application Instruction
Time of Course(s) TOC 20.0000 - -
3.17.3 Flag
Table 3-47 Flag list
338
Function Block Reference
To determine the fault alarm and power-off alarm of a pair input switch valves status.
Switch valve status detection is used to detect whether the valve switch status is normal. This part
focuses on two-input switch valve detect alarm. The alarm content includes fault alarm and
power-off alarm(note: valve running fault alarm is not included).
Via valve control module the running fault detect can be achieved. Details please refer to program
guide of “one DI one DO valve” “dual-DI one DO valve” “dual-DI dual-DO valve”, etc.
Details of program are shown below. It applies DI-2V function block, and the upper computer
interface can achieve valve detect alarm via function block tag.
Function block and example instructions are shown in the table below:
003 ALM_12 Function Block Function Block Tag of Valve Supervision Tag
Detect Alarm
TOC: 20
SWPWF: ON
Note: DI-2V is mainly used to achieve valve detect alarm of upper computer (including valve fault
and valve power-off), and may invoke FAIL and POWEROFF from the upper computer to achieve
dynamic alarm.
339
Function Block Reference
INTERLOCK function block is complex function block, and its running time is 15µs.
340
Function Block Reference
parameter
panel parameter name Initial Value Value Range Application Instruction
name
Open condition EMOPN OFF - -
Close EMCLS OFF - -
Actions ACT OFF - -
Open Output OPN OFF - -
Close Output CLS OFF - -
Opening KOPN 100.0000 - -
Closing KCLS 0.0000 - -
3.18.3 Logic Time Sequencing
341
Function Block Reference
Condition Output
SW EMOPN EMCLS OPN CLS MV
ON ON OFF ON OFF =KOPN
ON OFF ON OFF ON =KCLS
ON ON ON ON ON =KCLS
ON OFF OFF OFF OFF MV will hold on.
OFF - - OFF OFF MV will hold on.
The value of 1DO and the value of ACT are both decided by OPN and CLS.
Condition Output
OPN CLS 1DO ACT
ON OFF ON ON
OFF ON OFF ON
OFF OFF Hold OFF
ON ON Hold ON
3.18.4 Flag
Table 3-53 Flag list
Flag Description
D0 Tag Disable (OOS)
D8 Alarm Suppression(AOF)
DSET_DI_EP function block outputs a BOOL type data, which will be used in downstream function
blocks. Operator can operates it directly. Each function block output can be set as the following
types: hold type, pulse type and flip type.
DSET_DI_EP function block is complex function block, and its running time is 30µs.
342
Function Block Reference
When SWOOS=OFF and TR=ON, function block is in track status and output value=TV,
When SWOOS=OFF and TR=OFF, function block is in auto status and in this case:
Hold Type
OUT=IN;
Pulse Type
If a positive transmission is made in IN, OUT outputs a pulse with lasting time of TP, and IN=OFF
at the same time.
Flip Type
If a positive transmission is made in IN, OUT will be reversed. For example, OUT=OFF after the
positive transmission if OUT turns to ON at first, and IN= OFF at the same time.
343
Function Block Reference
Parameter Application
Panel Parameter Name Initial Value Value Range
Name Instruction
TV TV OFF - -
OUT TR OFF - -
Hold Type
0=Hold
Mode Pulse Type MODE - -
Type
Flip Type
3.19.4 Flag
Table 3-56 Flag list
To achieve the field-pump stop pump control as shown in Figure 3-33, and can be operated on
344
Function Block Reference
flow chart.
One DO strop pump control refers to that the filed pump device is controlled by one DO signal and
only can achieve stop pump control. Pump start is performed in filed or electric room. Pump status
is only used for monitoring and has nothing to do with stop logic. It is often used for the stop pump
control of filed pump.
Details of program are shown below. It applies DSET_DI_EP function block, and the upper
computer interface can control DO via function block tag.
Function block and example instructions are shown in the table below:
Pulse Control:
TP: 3.000
MODE:1
MODE:0
345
Function Block Reference
DIO-01V function block enables control and interlock protect to single DO output equipment by last
level sequence control command or operator by panel.
DIO-01V function block is complex function block, and its running time is 20µs.
Application
Name Description Upload Properties
Reference
Command Input (ON=Open,
PCMD - Input Pin Upstream Output
OFF=Close)
Upstream Interlock
EMOPN Interlock Open Command - Input Pin
Input
Upstream Interlock
EMCLS Interlock Close Command - Input Pin
Input
Input Pin
Program Manual and Auto
PSWAM - Input Pin Upstream Output
Control Digital Input
Manual-automatic Control
FBOPT - Input Pin Upstream Output
Source Switch(OFF=Panel)
OPNPRM Open Permission Signal - Input Pin Upstream Output
CLSPRM Close Permission Signal - Input Pin Upstream Output
Output, reset as OFF when
Output Pin DO - Output Pin Output DO
download offline
OOS Operation
SWOOS In OOS Status TRUE -
SETTINGS Parameter
Manual Command Operation
MCMD - -
(ON=Open, OFF=Close) Parameter
Operation Manual-automatic
Operation
Parameter SWAM Switch(ON=Auto - -
Parameter
OFF=Manual)
Monitoring
MODE Device Mode(Observe) - -
Parameter
Alarm Operation
AOF Shield Module Alarm TRUE -
Enabled and Parameter
Shield FLAG Flag - Output Pin -
Set by the air open
Configurati
Configuratio Output Invert Switch (ON: air and closed
IVO - on
n Parameter closed; OFF: air open) features of
Parameter
controlled valve
3.20.2 Logic Time Sequencing
Function block status
346
Function Block Reference
OOS(MODE=1)
When SWOOS=ON, function block is in OOS status. Algorithm will not be executed and output
can be assigned in debug window.
When function block is not in OOS status, and input interlock open or interlock close command,
function block turns to interlock mode. Interlock command input adopts positive transmission
check.
When both interlock open, interlock close commands are inputted, the system does not respond
interlock command, and will generate DBEMCMD alarm.
When interlock open command is inputted first and interlock close command is inputted in
effective time of interlock open command, execute interlock open command first and then interlock
close command after interlock open command is over. And vise versa.
When function block is not in all statuses above, it is in manual /auto selection mode. Automatic
status output instruction is decided by PCMD and manual status output instruction is by MCMD.
If interlock open EMOPN is continuously ON, then manual close and auto close command
disables.
If interlock close EMCLS is continuously ON, then manual open and auto open command
disables.
Manual/auto switch
When OOS and interlock are not generated, the system turns to manual /auto mode.
347
Function Block Reference
The mode can be used to control air open valve. When valid input command is ON, i.e.
open command, output is ON, the air open valve is open. When valid input command is
OFF, i.e. closed command, output is OFF, the air open valve is closed.
The mode can be used to control air closed valve. When valid input command is ON, i.e.
open command, output is OFF, the air closed valve is open. When valid input command
is OFF, i.e. closed command, output is ON, the air closed valve is closed.
Cold Startup
No matter in air open or closed mode, function block outputs OFF when cold starting controller.
Panel Parameter Name Parameter Name Initial Value Value Range Application Instruction
ON
RUNPRM ON - -
Output Enable
Enable/Disable OFF
STOPRM ON - -
Enable
3.20.4 Flag
Table 3-60 Flag list
348
Function Block Reference
To achieve the field-electricmagnetic valve switch control as shown in Figure 3-35, and can be
operated on flow chart.
One DO valve refers to that the filed valve device is controlled by one DO signal and has no
related valve status feedback.
Details of program are shown below. It applies DIO-01V function block, and the upper computer
interface can control DO via function block tag.
349
Function Block Reference
Function block and example instructions are shown in the table below:
FBOPT: ON
PSWAM: OFF
Note: Note: the settings above can avoid wrong operation for Auto button on the panel. Other
settings should be applied for auto control.
LOCK16 function block interlocks 16 channels of input BOOL data so that only one of current 16
corresponding outputs can be output. Block cascade function is also available.
LOCK16 function block is simple function block, and its running time is 15µs.
350
Function Block Reference
Application
Name Description Upload Properties
Reference
351
Function Block Reference
Application
Name Description Upload Properties
Reference
IN9 Input 9 - Input Pin -
IN10 Input 10 - Input Pin -
IN11 Input 11 - Input Pin -
IN12 Input 12 - Input Pin -
IN13 Input 13 - Input Pin -
IN14 Input 14 - Input Pin -
IN15 Input 15 - Input Pin -
IN16 Input 16 - Input Pin -
Outpu OUT1 Output 1 - Output Pin -
t Pin OUT2 Output 2 - Output Pin -
OUT3 Output 3 - Output Pin -
OUT4 Output 4 - Output Pin -
OUT5 Output 5 - Output Pin -
OUT6 Output 6 - Output Pin -
OUT7 Output 7 - Output Pin -
OUT8 Output 8 - Output Pin -
OUT9 Output 9 - Output Pin -
OUT10 Output 10 - Output Pin -
OUT11 Output 11 - Output Pin -
OUT12 Output 12 - Output Pin -
OUT13 Output 13 - Output Pin -
OUT14 Output 14 - Output Pin -
OUT15 Output 15 - Output Pin -
OUT16 Output 16 - Output Pin -
Output 1 was interlocked
LOCK1 - Output Pin -
(ON=Locked)
Output 2 was interlocked
LOCK2 - Output Pin -
(ON=Locked)
Output 3 was interlocked
LOCK3 - Output Pin -
(ON=Locked)
Output 4 was interlocked
LOCK4 - Output Pin -
(ON=Locked)
Output 5 was interlocked
LOCK5 - Output Pin -
(ON=Locked)
Output 6 was interlocked
LOCK6 - Output Pin -
(ON=Locked)
Output 7 was interlocked
LOCK7 - Output Pin -
(ON=Locked)
Output 8 was interlocked
LOCK8 - Output Pin -
(ON=Locked)
Output 9 was interlocked
LOCK9 - Output Pin -
(ON=Locked)
Output 10 was interlocked
LOCK10 - Output Pin -
(ON=Locked)
Output 11 was interlocked
LOCK11 - Output Pin -
(ON=Locked)
Output 12 was interlocked
LOCK12 - Output Pin -
(ON=Locked)
352
Function Block Reference
Application
Name Description Upload Properties
Reference
Output 13 was interlocked
LOCK13 - Output Pin -
(ON=Locked)
Output 14 was interlocked
LOCK14 - Output Pin -
(ON=Locked)
Output 15 was interlocked
LOCK15 - Output Pin -
(ON=Locked)
Output 16 was interlocked
LOCK16 - Output Pin -
(ON=Locked)
Output Cascade Interlocked
LOCKNEXT (ON=Downstream Block was - Output Pin -
Locked)
NUMIND Current Channel ID - Output Pin -
3.21.2 Logic Time Sequencing
1. Shield interlock function
2. Digital interlock
When anyone of the 16 channels of input INn=ON, the corresponding output OUTn=ON,
LOCKn=OFF.
If two channels or more are ON at the same time, input would be invalid and the corresponding
output OUTn=OFF.
3. Cascade
When two LOCK16 blocks are cascaded, any channel can be output. The first block has a higher
priority than the follow-up.
This function can achieve the basic control and interlock protection for device of dual-DI feedback
and dual-DO output, and control and operate the single controlled device via sequence control
instruction of higher level or operator by panel.
353
Function Block Reference
354
Function Block Reference
355
Function Block Reference
OOS (MODE=1)
When SWOOS=ON, function block is in OOS status, not respond to commands output,
output hold.
When it is not OOS, enters into interlock mode when inputting interlock open/ close
commands. Interlock command input applies up jump check.
If interlock open/ close commands come together, not respond to interlock command,
generate DBEMCMD alarm.
If interlock open command comes first, while in its valid time interlock close command
comes too, perform interlock open first, and perform interlock close as soon as it comes.
If interlock close command comes first, while in its valid time interlock open command
comes too, perform interlock close first, and perform interlock open as soon as it comes.
Validity of interlock command input is limited by open/ close permit (OPNPRM,
CLSPRM), device fault FAIL and running fault OPFL. The running fault limit can be
shielded by OPFLACK, and FAIL and OPFL limits can be shielded by input command
shield alarm IGNORALM.
Attention:
Output OPN=ON and CLS=OFF when interlock start. Output OPN=OFF and
CLS=ON when interlock stop.
356
Function Block Reference
If interlock close EMCLS is continuously ON, then manual open and auto open
command disabled.
The validity of man/auto command is restricted by open/close enable (OPNPRM,
CLSPRM), device fault FAIL and running fault OPFL. Running fault limit can be shielded
by OPFLACK. FAIL and OPFL limit can be shielded by input command shield alarm
IGNORAM.
Manual/Auto Switch
When OOS and interlock are not generated, the system turns to manual /auto mode.
When it is not outputting instruction and has no running fault, if OPNSTA and CLSSTA are OFF
together, set the power off alarm as POWOFF.
Running Fault
When the status feedback IGNORSTA=ON is ignored, there is no running fault. OPN and CLS
maintain output.
When the status feedback IGNORSTA=OFF is not ignored, and no responding feedback signal
are received in runtime TOC after outputting the command, set running fault alarm OPFL. When
SAFE_OPT=ON, OPN=OFF, CLS=OFF.
When there is OPFL alarm, new command is not effective. And when OPFL alarm is eliminated,
new command input will be valid.
Feedback Fault
When open status feedback OPNSTA and close status feedback CLSSTA are both ON, feedback
fault alarm FAIL will be started.
Alarm Confirmation
Shield Alarm
357
Function Block Reference
Set OPFLACK=OFF, running fault does not need to be confirmed and is not considered as
restricted condition of new command input.
Set OPFLACK=ON, running fault needs to be confirmed and is considered as restricted condition
of new command input and is effective to interlock command and manual/auto command.
Set AUTOCLR=ON, valve check fault alarm OPFL will be eliminated automatically after status
feedback signal is restored.
Set AUTOCLR=OFF, valve check fault alarm OPFL will be eliminated only after panel confirmation
after status feedback signal is restored.
Set IGNORSTA=ON, current output does not judge feedback status and DRIVE is completely
output.
Output Reset
In manual mode, if interlink input command doesn’t exist, reset output via RST. This function can
support valve control of command lock, and reset output to save gas source after feedback
reached.
3.22.3 Panel Parameter
Paramet
Panel Parameter Initial Value Value Range Application Instruction
er
358
Function Block Reference
Paramet
Panel Parameter Initial Value Value Range Application Instruction
er
The running fault can be
Alarm Eliminate PACK OFF - eliminated via “Eliminate
Alarm” on panel.
OPNPR
Open Enable ON - -
Enable Output M
Close Enable CLSPRM ON - -
Runtime (TOC) (s) TOC 20.0000 - -
Reset output command
Reset RST OFF - in manual mode after
feedback reached.
3.22.4 Flag
Table 3-65 Flag
Monitoring
Flag Instruction
Assignment
Enable
D0 Tag Disable (OOS)
(SWOOS)
D1 - -
D2 - -
D3 Disable Interlock Open (EMOPNSTA)
D4 Disable Interlock Close (EMCLSSTA)
D5 Disable Manual ( (MAN)
D6 Enable (SWAM) Auto (AUTO)
D7 Disable Power off Alarm (POWOFF)
D8 - -
D9 Disable Running Fault (OPFL)
D10 Disable Device Fault (FAIL)
D11 Disable Device Open Status (STAOPN)
D12 Disable Device Close Status (STACLS)
D13 - -
D14 Disable Open Instruction Output Process (OPNPRO)
D15 Disable Close Instruction Output Process (CLSPRO)
D16 Disable Interlock Open Condition Indication (EMOPNCON)
D17 Disable Interlock Close Condition Indication (EMCLSCON)
D18 Enable (AOF) Alarm Suppression (AOF)
D19 - -
Enable
D20 Open Permission Indication (OPNPRM_B)
(OPNPRM)
Enable
D21 Close Permission Indication (CLSPRM_B)
(CLSPRM)
D23 Enable (ACK) Acknowledge (ACK)
D24 Disable Interlock Instruction Conflict (DBEMCMD)
D25 Disable Stop Instruction Output Process (STOPRO)
359
Function Block Reference
360
Function Block Reference
Integral function block can make integral action to the input, and used in cumulation calculation.
This function block is a complicated function block, the running time is 30μs.
Application
Name Name Upload Properties
Reference
Basic GAIN, Achieve
Gain Operation
Parameters GAIN Equivalent TRUE -
Settings Parameter
Coefficient
Value
Output Low Limit Operation
OUTL TRUE Range[INSCL,INSCH
Value Parameter
Output ]
Note2
Limits Value
Output High Limit Operation
OUTH TRUE Range[INSCL,INSCH
Value Parameter
]
Ranges Input High Limit Configuratio
INSCH - -
SettingsNote Value of Range n Parameter
1
Input Low Limit Configuratio
INSCL - -
Value of Range n Parameter
Configuratio
INEU Input Unit - -
n Parameter
Configuratio
OUTEU Output Unit - -
n Parameter
Used for Data
Displayed on
IN Decimal Digits Configuratio
INDLEN - Function Block Panel
[0,5] n Parameter
(Equal to 3 as
Default)
361
Function Block Reference
Application
Name Name Upload Properties
Reference
Used for Data
Displayed on
OUT Decimal Digits Configuratio
OUTDLEN - Function Block Panel
[0,5] n Parameter
(Equal to 3 as
Default)
Extended Calculation Input Connect to AI and
IN - Input Pin
Parameters Value function block
Connect the Error
Calculation Input state of previous
INERR Note3 - Input Pin
Value Status module. Can not
connect
Program Reset Connect to digital,
PRST - Input Pin
Switch(ON= Reset) Related RST_OPT
Program Pause Connect to digital,
PHOLD - Input Pin
Switch(ON=Keep) Related HOLD_OPT
Input Pin Select Reset
Control Source
(ON Connect to digital,
RST_OPT - Input Pin
=Program Control, Related PRST/RST
OFF=Panel
Note4
Control)
Select Pause
Control Source
HOLD_OP (ON=Program Related Parameter
- Input Pin
T Control, PHOLD/HOLD
OFF=Panel
Control)Note5
Calculation Output
OUT Note6 - Output Pin Related MODE
Value
Output Pin
Block Alarm,
ERR - Output Pin -
ERR=ON
Function Block
OOS Operation
SWOOS Disable(ON=Disabl TRUE -
Settings Parameter
e)
Panel Retention Operation
HOLD TRUE Related HOLD_OPT
(ON=Keep) Parameter
Panel Reset
Run (ON=Reset), keep
Control ON for a period Operation
RST TRUE Related RST_OPT
after executing Parameter
command, then
reset as OFF
Output Reach High Monitoring
Calculation FINISH -
Limit, FINISH= ON Parameter
Status
Monitor Preceding Reset Operation
OUT_LT TRUE -
Cumulation Value Parameter
Suppress Module
Alarm
Alarm AOF=ON,
Enabled Real-Time Alarm Operation
and AOF TRUE -
Do not Show; Parameter
Suppress AOF=OFF,
Real-Time Alarm
Show
362
Function Block Reference
Application
Name Name Upload Properties
Reference
Parameter Alarm
Enable (Set
Operation
ENALM parameter via TRUE -
Parameter
select the “Settings
“or not)
FLAG Flag Code - Output Pin Refer to 4.1.3
Input HH Alarm Operation
INHH TRUE -
Value Parameter
Input High Limit Operation
INH TRUE -
Alarm Value Parameter
Input Alarm Input Low Limit Operation
Settings INL TRUE -
Alarm Value Parameter
Input LL Alarm Operation
INLL TRUE -
Value Parameter
Input Operation
INHYS TRUE -
Hysteresis( 0.0) Parameter
Select Mode:
0=Amplitude Configuration set in
Mode Configuratio
Settings
MODE Limiting, 1=Auto -
n Parameter
the Program
Reset, 2=No Stop Properties
Note7
Cumulation
Note 1: Input High Limit Value must be more or equals to Input Low Limit Value. Otherwise, range
threshold overturn alarm occurs and ERR=ON.
Note 2: Output High Limit Value must be more or equals to Output Low Limit Value. Otherwise,
range threshold overturn alarm occurs and ERR=ON. When integral is less than low limit, the
program forces it to be equal to low limit and restart cumulation from the low limit. When output
value reaches the high limit, FINISH=ON.
Note 3: When INERR=ON surpasses half of times of status of function block, ERR=ON.
Note 4: When integral function block is in restore status, the output value equals to output low limit
and status statistic value will be reset. The priority of restore is higher than that of hold, that is,
restore when restore command occurs in hold status.
Note 5: When integral function block is in hold status, the output value and status statistic value
(run time of function block and time of INERR=ON) remain the same with last week. Only function
block is in neither hold nor restore status, start the cumulation.
Note 6: Output=output value of last period + input * run period * GAIN When cold-starting, do not
restore cumulation value.
Note 7: Users can choose to use integral limit function or not. When MODE=0, it is in integral limit
status mode and output value will be restricted in high limit when it reaches the high limit. When
MODE=1, it is in automatically restore status, output value will restore to the low limit when it
reaches the high limit. When MODE=2, it is in the stop status, cumulation output will continue until
it is overflowed when output value reaches the high limit.
363
Function Block Reference
364
Function Block Reference
365
Function Block Reference
This function block is a simple function block, the running time is 10μs.
Application
Name Name Upload Properties
Reference
Connect AI and
Input Pin IN Input Value - Input Pin
Function Block
Output Pin OUT Output Value - Output Pin -
Operation
GAIN Gain TRUE -
Operation Parameter
Parameter Derivative Time Constant Operation
TD TRUE -
(S) Parameter
This function block realizes nonlinear EI calculation. This function block is a simple function block,
the running time is 10μs.
366
Function Block Reference
EI calculation
EI=(IN1*K1+C1) - (IN2*K2+C2);
Output logic
When high limit alarm or low limit alarm occurs, block alarm ERR = ON.
367
Function Block Reference
Input High Limit Value must be more or equals to Input Low Limit Value. Otherwise,
range threshold overturn alarm occurs and ERR=ON.
This function block checks one- side high limit alarm and hysteresis judges the alarm. This
function block is a simple function block, the running time is 10μs.
Operation
INH H Limit Value TRUE -
Operation Parameter
Parameter Operation
HYS Hysteresis TRUE -
Parameter
368
Function Block Reference
This function checks one-side low limit alarm and hysteresis judges the alarm. This function block
is a simple function block, the running time is 10μs.
This function block checks high and low limit alarm of input point and alarm check has functions
like time-lapse and hysteresis. This function block is a simple function block, the running time is
10μs.
Table 4-3 H/L limit delay alarm function block parameter instruction
LALM
Note1
Low Limit Alarm - Output Pin
Associate SVH,TSH
and HYSH
369
Function Block Reference
Operation
SVH SV High Limit Value TRUE -
Parameter
Operation
SVL SV Low Limit Value TRUE -
Parameter
Ultra-High Limit Delayed Operation
TSH TRUE -
Operation Time, the unit is second Parameter
Parameter Ultra-Low Limit Delayed Operation
TSL TRUE -
Time, the unit is second Parameter
Operation
HYSH High Limit Hysteresis TRUE -
Parameter
Operation
HYSL Low Limit Hysteresis TRUE -
Parameter
When input value IN surpasses high limit SVH, and the lasting time surpasses TSH, high
limit alarm occurs (HALM=ON);
When input value IN is less than low limit SVH, and the lasting time surpasses TSL, low
limit alarm occurs (LALM=ON);
When high limit alarm occurs, it can be reset only when IN is less than SVH-HYSH;
When low limit alarm occurs, it can be reset only when IN is more than SVL+HYSL.
Note 2: When high limit alarm or low limit alarm occurs, ALM=ON, NOALM=OFF;
When neither of them occurs, ALM=OFF, NOALM=ON.
This function block has functions of first order lag processing, first order lead processing, lead-lag
processing and outputting values changing with set value according to choose switch. Lead mode
can responds to positive or negative jump or both of them. It processes pulse respond to input
value. In tracking mode, output value changes with input value. This function block is a simple
function block, the running time is 15μs.
Application
Name Name Upload Properties
Reference
370
Function Block Reference
Application
Name Name Upload Properties
Reference
Tracking
SWTRNote3 - Input Pin OUT Track IN
Switch(ON=Tracking)
Calculation Output Output
Output Pin OUT - -
Value Pin
Lag Time( 0.0) , the Operation
TLAG TRUE -
unit is second Parameter
Operation Leading Time( 0.0) , Operation
Parameter TLED TRUE -
the unit is second Parameter
Operation
GAIN Gain TRUE -
Parameter
Select Mode:
Configurat Configuration set in
Note1 0=First Order Lag,
MODE - ion the Program
1=First Order Leading,
Parameter Properties
2=Lead-Lag
Configuration Pulse Mode: 0=
Parameter Positive
Transition-Sensing, 1= Configurat Configuration set in
IMMODENote2 Negative - ion the Program
Transition-Sensing, 2= Parameter Properties
Positive/Negative
Transition-Sensing
lag mode
In lag mode:
GAIN
OUT * IN
1 TLAGs
In lag mode, its response graph is shown as follows:
371
Function Block Reference
In lead mode:
OUT = IN * TLEDs/ (1 + TLEDs)
In lead mode, its response curve is shown as follows:
372
Function Block Reference
In lead-lag mode:
GAIN(1 TLEDs)
OUT * IN
1 TLAGs
In lead-lag mode, its respond graph is shown as follows:
373
Function Block Reference
Note 2. In lead mode, there are three modes to choose: positive jump mode, negative jump mode
and positive/negative jump mode. In positive jump mode, output only responds to positive jump
signal. In negative jump mode, situation is the same. In positive/negative jump mode, output value
changes with the input value.
Users can transfer the three modes above to tracking mode by SWTR. In tracking mode, output
value changes with tracing value.
Modifying lead time or lag time will influence ascending (descending) curve. Thus, please
modify the time parameters in balanced process.
Pure lag function block simulates dynamic features of pure lag which is used to transfer delay and
distance rate lag. It has two modes: auto and trace. This function block is a simple function block,
the running time is 29μs.
Application
Name Name Upload Properties
Reference
Connect AI and
IN Calculation Input Value - Input Pin
Function Block
Input Pin OUT Track TV,
TV Tracking Value - Input Pin
associate SWTR
Tracking Selection Switch
SWTR
(ON=Tracking)
- Input Pin Associate TV
Output Pin OUT Calculation Output Value - Output Pin -
Operation Operation
TDED Pure Lag Time (Unit: S, >=0.0) TRUE -
Parameter Parameter
Note: When function block is in trace mode, pure lag fails and output value changes with tracing
value. When function block switches from trace mode to pure lag mode, implement pure lag
function. After going through pure lag time, current value of output hold will equal input value of
switch.
The precision and control period of function block is relevant to control period and pure lag time.
For example, control period is 50ms, pure lag time is 10s, 10/0.05/32=6.25, and thus the sampling
374
Function Block Reference
precision of every point is 7*0.05s=0.35s. That is, record once every 7 run periods and cut a
32-digit to save sampling data. If pure lag time is long, then sampling points are sparse and
precision becomes low.
When input value changes in set deadband, output 0. This function block is a simple function block,
the running time is 5μs.
When last period output OUT = IN * K1 and DB>IN >= DB - HYS in current period, OUT =
IN * K1;
When last period output OUT = IN * K2 and DB<IN <= -DB + HYS in current period, OUT
= IN * K2.
Otherwise, OUT = 0.
375
Function Block Reference
This function block can compensate the density to over heat steam and saturated steam. This
function block is a simple function block, the running time is 31μs.
376
Function Block Reference
Tips:
FLOW
1
0 SIGNAL
If pressure difference signal is processed, the formula is:
FLOW 1
0 SIGNAL
If flow and density is linear transformation:
FLOW 1
0 SIGNAL
Note1: 0 is designed density, SIGNAL is input value and FLOW is output value.
Mode 1 (MODE=0)
signal is flow signal of differential pressure flowmeter, and the value got is flow value
after compensation.
Mode 2 (MODE=2)
Adopt formula OUT 1 to compensate over heat steam. The input signal
0 IN
is differential pressure signal or flow signal which be measured by linear orifice or
flow value. This function block can also process over heat steam compensation of
flow (vortex flow) that the flow has directed proportion to density.
Mode 3 (MODE=3)
The input signal is flow signal of differential pressure flowmeter and the value got is
flow value after compensation.
377
Function Block Reference
Mode 4 (MODE=5)
Mode 5 (MODE=6)
Mode 6 (MODE=8)
When designed/work pressure exceeds design range, and MODE=1/4/7, ERR is ON,
and STA=1.
When the designed/work pressure is out of designed range, and MODE=3/5, ERR=ON.
When the designed pressure is out of designed range, STA=0x2. When the work
pressure is out of designed range, STA=0x4. When both are out of designed range,
STA=0x6.
When the designed/work temperature is out of designed range, and MODE= 6/8,
ERR=ON. When the designed temperature is out of designed range, STA=0x2. When
the work temperature is out of designed range, STA=0x4. When both are out of designed
378
Function Block Reference
range, STA=0x6.
This function block can compensate approximative ideal gas, and converse it to standard air
pressure (pressure: 0.1013223Mpa, temperature: 20 ).
This function block is a simple function block, the running time is 13μs.
P1V1 P0V0
T1 T0
There are 2 modes of this function block, Mode 1 applies to (but not limited to) using a volumetric
flow meter to measure the volume flow, the volume of gas flow is converted to standard conditions;
Mode 2 applies to (but not limited to) using the differential pressure flowmeter to measure the
volume flow, volume flow of the gas conversion to the standard conditions.
Mode 1(MODE=0)
379
Function Block Reference
Mode 2 (MODE=1)
Note 2: When pressure or temperature is out of the range, STA = 1, ERR = ON. When pressure
and temperature and MODE are in the range and when IN<0.0, OUT=0.0, ERR = ON, and STA =
4.
Limit the threshold of input and change rate. This function block is a simple function block, the
running time is 14μs.
380
Function Block Reference
Note 1: Limit function block has three modes: automation, tracing and holding.
In tracing mode, all limits are unavailable and all alarm information does not happen.
When it is switched to automatic mode, rate alarm does not happen in first period.
In holding mode, output value is maintained. Priority: tracking > holding > automation.
In automatic mode, when output change rate is less than set change rate, output
continues to change with set change rate until it equals to input value. Then it changes
with input value.
Note 2: Output value is in the range of high limit and low limit.
Note 3: In automatic mode, when high limit is less than low limit, output ERR=ON.
Filter function block filter processes the input with five filter methods: first order lag filter,
ButterWorth second order filter, moving average value filter, medium value filter and cumulation
average value. Choose filter mode by parameter MODE. This function block is a simple function
block, the running time is 35μs.
Application
Name Name Upload Properties
Reference
Connect AI and
Input Pin IN Calculation Input Value - Input Pin
Function Block
Calculation Output
Output Pin OUT - Output Pin -
Value
Operation Filter Time (>=0.0), the Operation
TI TRUE -
Parameter unit is second Parameter
381
Function Block Reference
Application
Name Name Upload Properties
Reference
In average value filter
Filter Mode: and middle value filter
0=First Order, modes, the input time
Configurati
1=Butterworth, is limited in 1~8.
MODENote1 - on
2=Moving Average, When it overruns, the
Configuration Parameter
3=Mid-Value, filter does not work
Parameter 4=Cumulation Average and output changes
with input value.
Filter Input Number Configurati
NUM with AV Filter and - on -
Mid-Value Filter [1~8] Parameter
filtered. OUT 1
* IN , its frequency is 2 / TI rad/s.
1 TIs (TIs) 2 / 2
382
Function Block Reference
When MODE=3, it is in middle value filter. Sort N input values and dismisses 1/3 big
and small values, and average 1/3 middle values, the result is output value. When
there are less than three input values, take the average value. Its sampling rule is
same with moving average value filter function block. When NUM is not three
multiple, take the integer of NUM/3.
When MODE=4, it is in cumulation average value filter mode to take average value
of input data input once every scan period in certain time. When it is not set time,
output the average value of data in last period of time. The maximum set time is
256*scan period.
SPV
Output= . SPV is cumulation value of input value in certain time.
TI
4.13.2 Application Example
A water level height measurement device is shown in the figure below. As the water level will
waves with the water level, the filter should be performed for the field gathering signals to reduce
the wave and get the PV. Thus the first order lag filter should be performed for the water level
signal of 4-20mA.
Its FBD programming is shown below and can be achieved by FILTER. Filter function block can
perform filter for input signal and has 5 filter methods: first order lag filter, ButterWorth second
low-pass filter, movement average filter, medium filter and accumulation average filter. The filter
mode can be chosen via the parameter MODE. The filter function of tag table is first order lag filter.
383
Function Block Reference
TI: 1s (take the control cycle as unit to update data when TI is less than the system
control cycle)
MODE: 0
Notice:
1. In application, the signal filter can be performed only when the user agree to.
2. Take the control cycle as unit to update the data when applying the FILTER movement
average filter and TI is less than the system control cycle.
3. When applying FILTER medium filter, take the average value when NUM is less than 3,
take the integer of NUM/3 when NUM is not the multiple of 3.
4. When applying FILTER average filter and medium filter, if NUM is not in the range of 1~8,
filter does not work, and the output is equal to input.
This function block works out cumulation value, average value, maximum and minimum values of
input value in certain period of time.
This function block is a simple function block, the running time is 11μs.
384
Function Block Reference
Note 1:
When MODE=0, choose cumulation mode, output OUT (K) = OUT (K-1) + IN (K)*TS.
TS is control period.
When MODE=1, choose average mode to get average value in certain period of
time started when RST=OFF.
When MODE=2, choose maximum value mode, and output OUT (K) = MAX (OUT
(K-1), IN (K));
When MODE=3, choose minimum value mode, and output OUT (K) = MIN (OUT
(K-1), IN (K));
Note 2: When SWTM=0, statistic time has second as unit; when SWTM=1, minute
as unit; when SWTM=2, hour as unit; and when SWTM=3, day as unit.
Note 3: When RST=OFF and HOLD=ON, statistic pauses. When HOLD=OFF,
continue the statistic until FINISH=ON.
This function block works compare operation with lag features. It compares input signal and set
385
Function Block Reference
value and decide output status of this period according to compare result and that of last period.
Main parameters are: REAL type input signal IN, output status OUT, input high limit HL and low
limit LL. This function block is a simple function block, the running time is 35μs.
Application
Name Name Upload Properties
Reference
Connect AI and
Input Pin IN Calculation Input Value - Input Pin
Function Block
OUTNote1 Calculation Output Value - Output Pin Related HL, LL
Output Pin Note2
ERR Block Alarm - Output Pin Related HL, LL
Operation
HL Input High Limit TRUE -
Operation Parameter
Parameter Operation
LL Input Low Limit TRUE -
Parameter
Note 1: When the output status of last period OUT (n-1)= OFF and IN >= HL, OUT = ON; When IN
<HL, OUT = OFF.
When the output status of last period OUT (n-1)= ON and IN <= LL, OUT = OFF;
When IN > LL, OUT = ON.
Note 2: When HL<LL, output remains with that of last period and ERR = ON.
Alarm process the difference of two input values. When input1 is bigger than input2, positive error
alarm happens and when it is smaller than input2, negative error alarm happens. Either of alarms
happens, error alarm=ON. This function block is a simple function block, the running time is 4μs.
386
Function Block Reference
Generate sine wave, square wave, saw tooth wave, triangle wave, random wave and pulse signal
according to user requirement. This function block is a simple function block, the running time is
45μs.
Application
Name Name Upload Properties
Reference
Input Pin START Begin to Produce Signal - Input Pin -
OUT Calculation Output Value - Output Pin -
Output Pin
ERR Block Alarm - Output Pin -
Operation
HOUTNote1 Output High Limit TRUE -
Parameter
Operation
LOUTNote1 Output Low Limit TRUE -
Operation Parameter
Parameter Operation
TCNote2 Cardiaco-Vascular Cycle ( 0.0)) TRUE -
Parameter
Operation
TPW Pulse Width (0.0) TRUE -
Parameter
Mode Selection:
Note 0=Sine Wave, 1=Square Wave, Configurati
Configuration MODE
1 2=Delta Wave, - on -
Parameter
3=Sawtooth Wave, 4=Random Parameter
Wave, 5=Pulse Wave
Note 1: When output high limit is smaller than low limit, HL=LL.
387
Function Block Reference
Note 3: When MODE set has errors, ERR=ON. When START=OFF and MODE=0, OUT=
(HOUT+LOUT)/2.0; Otherwise, OUT=LOUT.
Note 4: Output value is in the limit of HOUT and LOUT. When it is out of range, OUT=HOUT or
OUT=LOUT.
This function block calculates enthalpy of saturated water, steam and overheats Water enthalpy
c.This function block is a simple function block, the running time is 7μs.
Application
Name Name Upload Properties
Reference
PRESS Input Pressure (Unit: Mpa) - Input Pin -
Input Pin
TMPRT Input Temperature (Unit: ) - Input Pin -
Enthalpy Value Output (Unit:
OUT - Output Pin -
Kj/Kg)
Output Pin
ERR Block Alarm - Output Pin -
STANote2 Alarm Status - Output Pin Related ERR
Configurati
Configuration Note1
MODE Mode Selection [0,4] - on -
Parameter
Parameter
In this mode, input signal is temperature signal and output value is enthalpy of
saturated water under this temperature. When temperature is out of range of
(0.00~374.15) , ERR=ON.
In this mode, input signal is temperature signal and output value is enthalpy of
saturated water under this pressure. When pressure is out of range of
(0.0010~22.12) MPa, ERR=ON.
388
Function Block Reference
In this mode, input signal is temperature signal and output value is enthalpy of
saturated steam under this temperature. When temperature is out of range of
(0.00~374.15) , ERR=ON.
In this mode, input signal is temperature signal and output value is enthalpy of
saturated steam under this pressure. When pressure is out of range of
(0.0010~22.12) MPa, ERR=ON.
In this mode, input signal is temperature and pressure signals and the output value
is enthalpy of overheat steam under this temperature and pressure. When pressure
and temperature are out of rage of (0.10~10.5) MPa and (100~560) respectively,
ERR=ON. When pressure and temperature are not in overheat steam status,
ERR=ON.
When MODE=4 and pressure is in the range of (0.10~10.5) MPa and temperature in (100~560) ,
because scrambling of overheat steam density exits in non -overheat steam area, the five digit is 1,
otherwise, it is 0; when the mode has any error, the forth digit is 1, otherwise, it is 0.
When temperature is low than low limit, then the lowest digit is 1, otherwise, it is 0.
When temperature is higher than high limit, the first digit is 1, otherwise, it is 0.
When pressure is lower than low limit, the second digit is1, otherwise, it is 0.
When pressure is higher than high limit, the third digit is1, otherwise, it is 0.
This function block compensates volume flow and quality flow and measures energy flow. This
function block is a simple function block, the running time is 260μs.
389
Function Block Reference
390
Function Block Reference
391
Function Block Reference
Input required parameters in this mode: mol fraction, TF, PF, D_PIPE, D_ORIF,
ROW1, C, DISTEN (EXP is input if function block processes interior compensation)
1) Quality flow
C
qm 1 d 2 2p1
1 4 4
C ----flow efficient;
----diameter proportion, d ;
D
stoma;
d ----diameter of hole in throttling element, m;
kg/m3;
D ----pipe diameter, m.
392
Function Block Reference
real measurement
d, D----d is squre of flow. It is related with precision and overall precision, also
temperature should be considered.
p ----it is got by equipments. Its precision is influenced by making craft and install
specification.
Statistics
in the whole measurement range (0~ qmax ). Calculate Red (i ) of these points
steam, liquid
--isentropic index
p1 --absolute hydrostatic of throttling element upriver fetch pressure stoma plane.
393
Function Block Reference
plane
p2
The formula is applicable when 0.75 . Compensation methods above of the
p1
coefficient are set available. Its relevant coefficient will be input only when
compensation is selected.
2) Volume flow
qm
weight flow dividing density in standard status, i.e, v n , n -flow density in
n
standard status. The density can be calculated by absolute static pressure pn, mole
mass of gas Mm, thermodynamic temperature Tn, compression coefficient Zn and
pn M m
general gas constant Ra, i.e., n .
Tn Z n R a
3) Energy flow
E n q m * Hsnm .
n 1 Mj
Hsnm ( x j * )H j
j 0 M
Volume flow compensation transforms volume flow from work condition to standard
status 293.15K, 101.325Kpa. TUF, EMF, VSF measures volume flow which will
compensate to standard volume flow.
394
Function Block Reference
p f Tn Z n
Compensation formula v n v f
p nT f Z f
Vn, Tn, Pn, Zn----volume flow, absolute temperature, absolute pressure and
condensed coefficient in standard status respectively.
Vf, Tf, Pf, Zf----volume flow, absolute temperature, absolute pressure and
condensed coefficient in work status respectively.
Quality flow is transformed from volume flow and density in work status
qm v f * f .
Natural gas energy flow is standard volume flow multiplied with unit standard energy
of real gas which is sum of ingredient and multiple of high position energy.
E n v n * Hsnv
x
j 0
j * H j [t1 ,V (t 2 , p 2 )]
Hsnv
Z mix (t 2 , p 2 )
x j ----mol fraction of J
IN is volume flow signal. PF and TF are pressure and temperature in work status.
p f Tn Z n
q mn q mf
p nT f Z f
395
Function Block Reference
qm
Standard volume flow vn is got by formula: v n
n
x j ----mol fraction of j;
M j ----mol quality of j;
IN is quality flow signal and PF, TF are pressure and temperature in work status.
Note 2: The gas ingredients of natural gas should input firs. The value indicates mol fraction, and
the set is 0 when there is no ingredient.
Energy flow measurement adopts state standard GB/T11062-1998. It has restriction to gas
ingredients.
(CH4)>=0.5;
(C2H6)<=0.15;
(N2)<=0.3,
(CO2)<=0.15;
ALM_GAS, component sum alarm. When the summation of all component is in the range
of [SUML,SUMH](99.995-100.005 by default), ALM_GAS=ON, ERR=ON and stop
calculation until summation is in the range.
396
Function Block Reference
ALM_ITE, condensed coefficient calculation overrun alarm. When it surpasses set times,
ALM_ITE=ON. ERR=ON;
ALM_REVSCL, summation threshold overturn alarm. When set SUMH is smaller than
SUMH, generate alarm and block alarm ERR=ON.
The function block is mainly used to implement temperature and pressure compensation for gas
volume measured by float flowmeter, temperature and pressure compensation for volume flow of
wet gas measured by frequency type vortex flowmeter, analogy vortex flowmeter and differential
pressure flowmeter and calculation for volume of dry part of wet gas.
This function block is a simple function block, the running time is 450μs.
Application
Name Name Upload Properties
Reference
Basic IN Input Signal - Input Pin -
Parameters
Gas Temperature
TMPRT1 in the Operating - Input Pin -
Mode (Unit: )
Input Pin Gas Pressure in
PRESS1 the Operating - Input Pin -
Mode (Unit: Mpa)
Relative Humidity
HUMID1 in the Operating - Input Pin -
Mode [[0,1]
Input Signal Type:
0=Frequency Type
Configuratio Vortex Street,
Configuration
n Parameter MODENote1 1=Analog Type - -
Parameter
Vortex Street,
2=Difference
Pressure, 3=Bob
Design
Configuration
TMPRT0 Temperature - -
Parameter
[-25,100]
Design Pressure Configuration
PRESS0 - -
(Unit: Mpa) Parameter
397
Function Block Reference
Application
Name Name Upload Properties
Reference
Relative Humidity
Configuration
HUMID0 in the Design - -
Parameter
Status [0,1]
Vortex Street
Flowmeter Meter Configuration
K - -
Coefficient (Unit: Parameter
P/M^3)
Azote Mole Operation
N2 TRUE -
Fraction Parameter
Oxygen Mole Operation
O2 TRUE -
Fraction Parameter
Operation Argon Mole Operation
Parameter Ar TRUE -
Fraction Parameter
Carbon Dioxide Operation
CO2 TRUE -
Mole Fraction Parameter
Water Mole Operation
H2O TRUE -
Fraction Parameter
Output Volume Related
QVNote1 - Output Pin
Fluid (Unit: M^3/H) MODE
Output Volume
Note1 Flow which It is Dry Related
QVG - Output Pin
Part of Wet Gas MODE
Output Pin (Unit: M^3/H)
Related
Function Block
ERRNote2 - Output Pin ITE_LIM,
Illegality Alarm
SUMH, SUM
FLAG Flag Code - Output Pin -
Extended Restrict Frequency
Parameters for Default
Configuration
ITE_LIM Compressibility - -
Parameter
Iterative
Computation
In this work mode, when input signal type is frequency vortex street flowmeter,
calculate the volume flow and convert it from the current status to the standard
status (101.325kpa, 20 ).
The compensation formula is:
398
Function Block Reference
f p f Tn Z n
qvn
K p nT f Z f
relevant with shape of vortex and reynolds number. However, S r can be regarded
The flow of dry part of the wet air is obtained by converting the volume flow from
work status to standard status and then deducting steam pressure.
The compensation is:
p f f p sf max Tn Z n f p f f p sf max Tn Z n
q vg q vf
pn Tf Z f K pn Tf Z f
399
Function Block Reference
When calculate this part flow, it require relative humidity (HUMID 1) in operating
mode.
Carry-out bit of flow calculation of dry part in wet gas is QVG.
p f Td Z d
q vd q vf
pd T f Z f
400
Function Block Reference
When operative mode and design mode (temperature, pressure, relative humidity,
coefficient of compressibility) differ, must carry out compensating.
Compensating algorithm:
p f f p sf max Td Z d
q vd qVf
p d d p sd max Tf Z f
Among:
qVf --volume flow of gas (meter indication value) in the operative mode.m3/h;
p sd max --moist team pressure of wet air in design mode. Unit same pd ;
IN is volume flow indication value of flowmeter; input TMPRT1; input PRESS1; input
HUMID1;
Set TMPRT0; set PRESS0; set HUMID0;
QVG is volume flow output value of dry part of wet gas which is calculating gain.
When input signal type is throttling flow meter, carry out density compensating for
departure of reality usage and designed operating mode.
401
Function Block Reference
f
qd qf
d
qd --set scale of meter with designed operative mode, it is meter value, m3/h;
IN is volume flow signal of throttling flow meter; input TMPRT1, PRESS1, HUMID1;
Set HUMID0, TMPRT0, PRESS0.
p f f p sf max Z n Tn d
q vg' q v ;
pn Tf Z f f
q vg' --flow actual value of dry part in wet gas NTP, Nm3/h;
qv --meter value of volume flow in the wet gas operative mode, m3/h;
402
Function Block Reference
IN is volume flow signal of throttling flow meter; input TMPRT1, PRESS1, HUMID1;
Set HUMID0, TMPRT0, PRESS0.
p f Tn
q v q vf
p nT f
When input signal are not 0, 1, 2, 3, set D5 of flag code to alarm, and set Block
alarm ERR=ON.,
Alarm with iterative computation of coefficient of compressibility overrun When
calculate coefficient of compressibility, if iterative computation excess ITE_LIM, then
set D6 of flag code to alarm, and set Block alarm ERR=ON.
When all component general of wet gas are not [SUML, SUMH], set D4 bit of flag
code to alarm, and set Block alarm ERR=ON.
When measure temperature is not in the -25 ~100 , set D7 bit of flag code to
alarm, and set Block alarm ERR=ON.
403
Function Block Reference
If input relative humidity are not [0, a] in operative mode, then set D8 bit of flag code
to alarm, and set Block alarm ERR=ON.
Note 3: Water component content of wet gas ask user supply. Default of each gas component is
gas in the standard dry air. When happen function block ERR alarm (except coefficient of
compressibility iterative computation overrun), inner flow computation is shielded, and output is
held.
This function block is a complicated function block, the running time is 25μs.
Application
Name Name Upload Properties
Reference
st
Basic X Axis X Axes Input 1 Operation
X1Note1 TRUE -
Parameters Coordinate Coordinate Parameter
Setting X Axes Input 2
nd
Operation
X2 TRUE -
Coordinate Parameter
rd
X Axes Input 3 Operation
X3 TRUE -
Coordinate Parameter
X Axes Input 4th Operation
X4 TRUE -
Coordinate Parameter
X Axes Input 5th Operation
X5 TRUE -
Coordinate Parameter
X Axes Input 6th Operation
X6 TRUE -
Coordinate Parameter
X Axes Input 7th Operation
X7 TRUE -
Coordinate Parameter
X Axes Input 8th Operation
X8 TRUE -
Coordinate Parameter
X Axes Input 9th Operation
X9 TRUE -
Coordinate Parameter
X Axes Input Operation
X10 TRUE -
10th Coordinate Parameter
404
Function Block Reference
Application
Name Name Upload Properties
Reference
X Axes Input Operation
X11 TRUE -
11th Coordinate Parameter
X Axes Input Operation
X12 TRUE -
12th Coordinate Parameter
X Axes Input Operation
X13 TRUE -
13th Coordinate Parameter
X Axes Input Operation
X14 TRUE -
14th Coordinate Parameter
X Axes Input Operation
X15 TRUE -
15th Coordinate Parameter
X Axes Input Operation
X16 TRUE -
16th Coordinate Parameter
X Axes Input Operation
X17 TRUE -
17th Coordinate Parameter
X Axes Input Operation
X18 TRUE -
18th Coordinate Parameter
X Axes Input Operation
X19 TRUE -
19th Coordinate Parameter
X Axes Input Operation
X20 TRUE -
20th Coordinate Parameter
X Axes Input Operation
X21 st TRUE -
21 Coordinate Parameter
st
Y Axis Y Axes Input 1 Operation
Y1 TRUE -
Coordinate Coordinate Parameter
Setting Y Axes Input 2
nd
Operation
Y2 TRUE -
Coordinate Parameter
rd
Y Axes Input 3 Operation
Y3 TRUE -
Coordinate Parameter
Y Axes Input 4th Operation
Y4 TRUE -
Coordinate Parameter
Y Axes Input 5th Operation
Y5 TRUE -
Coordinate Parameter
Y Axes Input 6th Operation
Y6 TRUE -
Coordinate Parameter
Y Axes Input 7th Operation
Y7 TRUE -
Coordinate Parameter
Y Axes Input 8th Operation
Y8 TRUE -
Coordinate Parameter
Y Axes Input 9th Operation
Y9 TRUE -
Coordinate Parameter
Y Axes Input Operation
Y10 TRUE -
10th Coordinate Parameter
Y Axes Input Operation
Y11 TRUE -
11th Coordinate Parameter
Y Axes Input Operation
Y12 TRUE -
12th Coordinate Parameter
Y Axes Input Operation
Y13 TRUE -
13th Coordinate Parameter
Y Axes Input Operation
Y14 TRUE -
14th Coordinate Parameter
Y Axes Input Operation
Y15 TRUE -
15th Coordinate Parameter
405
Function Block Reference
Application
Name Name Upload Properties
Reference
Y Axes Input Operation
Y16 TRUE -
16th Coordinate Parameter
Y Axes Input Operation
Y17 TRUE -
17th Coordinate Parameter
Y Axes Input Operation
Y18 TRUE -
18th Coordinate Parameter
Y Axes Input Operation
Y19 TRUE -
19th Coordinate Parameter
Y Axes Input Operation
Y20 TRUE -
20th Coordinate Parameter
Y Axes Input Operation
Y21 st TRUE -
21 Coordinate Parameter
Not
Segment SEGUSE Used Operation
e3 TRUE -
Settings Segment[1,20] Parameter
Configurati
Input Range
INSCH - on -
High Value
Parameter
Configurati
Input Range
INSCL - on -
Low Value
Parameter
Configurati
Output Range
OUTSCH - on -
High Value
Parameter
Configurati
Output Range
OUTSCL - on -
Low Value
Parameter
Used for Data
Range Configurati Displayed on
Settings Input Decimal
INDLEN - on Function Block
Digits[0,5]
Parameter Panel (Equal to
3 as Default)
Input Configurati
INEU Engineering - on -
Unit Parameter
Output Configurati
OUTEU Engineering - on -
Unit Parameter
Used for Data
Output Configurati Displayed on
OUTDLEN Engineering - on Function Block
Unit[0,5] Parameter Panel (Equal to
3 as Default)
Extended Input Pin IN Input Variable - Input Pin -
Parameters Note2
OUT Output Variable - Output Pin Related MODE
Note1
Output Pin ERR Block Alarm - Output Pin -
Function Block
STA - Output Pin -
Status
OFF=Incline
Operation
Mode settings MODE Mode TRUE -
Parameter
ON=Jump Mode
Status Is OOS Operation
OOS settings SWOOS TRUE -
(ON= Forbid) Parameter
406
Function Block Reference
Application
Name Name Upload Properties
Reference
Suppress
Module Alarm
AOF=ON,
Real-Time
Alarm Operation
AOF Alarm Do not TRUE -
Enabled and Parameter
Show;
Suppress AOF=OFF,
Real-Time
Alarm Show
FLAG Flag Code - Output Pin Refer to 4.21.3
Note 1: Input X coordinate value X1 and X2 must put in order from small to large. Otherwise bring
ERR (ERR=ON) alarm. STAindicate low-bit of arrange error.
Note 2: The program first judge segment number of IN which in X axes 20th coordinate, then carry
out interpolating calculation.
Y [i 1] Y [i ]
OUT Y [i] ( IN X [i ]) *
X [i 1] X [i ]
If IN<X1, then output Y1; if IN>X21, then output Y21.
If IN=X[i], then OUT=Y[i].
Note 3: The amount of interval segment can be configured, allowed range is 1~20. Parameter
illegality detecting is only used in the segment.
407
Function Block Reference
Function Block
Initial Value
Panel Parameter Name Parameter Application Instruction
Value Range
Name
X,Y(1-16) Parameter SEGUSE SEGUSE 1 [1,20] Seguse of Broken Line
Read-only, can be set in the
Function Block Properties
STA STA 0 -
window or in the program
settings
Set MODE = OFF in the
Function Block Properties
Ramp MODE Selected - window, select the "Ramp"
slope or function block panel
button settings
408
Function Block Reference
Function Block
Initial Value
Panel Parameter Name Parameter Application Instruction
Value Range
Name
MODE = ON is set in the
Function Block Properties
Not
Jump MODE - window set for the transition
selected
or "Jump" button is selected
in the function panel
Not be set when the set box
set gray. Can be set to the
X-axis coordinate number
and the number of
X1 X1 0.0000 -
segments, if the number of
segments is set to N, you
can set the X-axis
coordinate for N +1
X2 X2 1.0000 - With X1
X3 X3 0.0000 - With X1
X4 X4 0.0000 - With X1
X5 X5 0.0000 - With X1
X6 X6 0.0000 - With X1
X7 X7 0.0000 - With X1
X8 X8 0.0000 - With X1
Y-axis coordinates can be
set, but the entry into force
of the Y-axis coordinate
number and the number of
Y1 Y1 0.0000 -
segments, if the number of
segments is set to N, the
entry into force of the Y-axis
coordinate for N +1
Y2 Y2 0.0000 - With Y1
Y3 Y3 0.0000 - With Y1
Y4 Y4 0.0000 - With Y1
Y5 Y5 0.0000 - With Y1
Y6 Y6 0.0000 - With Y1
Y7 Y7 0.0000 - With Y1
Y8 Y8 0.0000 - With Y1
X9 X9 0.0000 - With X1
X10 X10 0.0000 - With X1
X11 X11 0.0000 - With X1
X12 X12 0.0000 - With X1
X13 X13 0.0000 - With X1
X14 X14 0.0000 - With X1
X15 X15 0.0000 - With X1
X16 X16 0.0000 - With X1
Y9 Y9 0.0000 - With Y1
Y10 Y10 0.0000 - With Y1
Y11 Y11 0.0000 - With Y1
Y12 Y12 0.0000 - With Y1
409
Function Block Reference
Function Block
Initial Value
Panel Parameter Name Parameter Application Instruction
Value Range
Name
Y13 Y13 0.0000 - With Y1
Y14 Y14 0.0000 - With Y1
Y15 Y15 0.0000 - With Y1
Y16 Y16 0.0000 - With Y1
X17 X17 0.0000 - With X1
X18 X18 0.0000 - With X1
X19 X19 0.0000 - With X1
X20 X20 0.0000 - With X1
X21 X21 0.0000 - With X1
X,Y(17-21) Y17 Y17 0.0000 - With Y1
Y18 Y18 0.0000 - With Y1
Y19 Y19 0.0000 - With Y1
Y20 Y20 0.0000 - With Y1
Y21 Y21 0.0000 - With Y1
4.21.3 Flag
Table 4-27 Flag List
The densities of saturated steam and saturated water will change a lot with the modification of
drum pressure, thus the pressure compensation should be performed to the drum water level.
Water measuring methods include single-room balance vessel measurement and double-room
balance vessel measurement, the former is used more often, and this part takes it as an example.
410
Function Block Reference
FIX function block parameter settings (set in the function block properties interface).
THRSELX function block parameter settings (set in the function block properties
interface).
This function block can display signals from I/O and other function blocks and has functions of rate
alarm and error alarm.
This function block is a Complicated function block, the running time is 30μs.
411
Function Block Reference
412
Function Block Reference
413
Function Block Reference
Note 1: High high high limit happens and the relationship of input and alarm is shown as follows:
This function block has indication function of rate alarm; when positive change
rate>=PRIN, generate positive rate alarm; when negative change rate>=NRIN,
generate negative rate alarm.
414
Function Block Reference
This function block has error alarm function; when input value is bigger than SV and
error absolute value >=positive error alarm, generate positive error alarm; when
input value is smaller than SV and error absolute value >=negative error alarm,
generate negative error alarm.
415
Function Block Reference
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Parameter Value
Name
Alarm Input HHH Alarm Value (the
Preference 100.00
Limits HHH INHHH [INSCH,INSCL] option selected alarm, otherwise
00
(%) invalid)
Input HH Alarm Value (the option
95.000
HH INHH [INSCH,INSCL] selected alarm, otherwise
0
invalid)
Input H Alarm Value (the option
90.000
H INH [INSCH,INSCL] selected alarm, otherwise
0
invalid)
416
Function Block Reference
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Parameter Value
Name
Read-only, can be set in the
Function Block Properties
HYS INHYS 0.0000 Not less than0
window or in the program
settings
Input L Alarm Value (the option
10.000
L INL [INSCH,INSCL] selected alarm, otherwise
0
invalid)
Input LL Alarm Value (the option
LL INLL 5.0000 [INSCH,INSCL] selected alarm, otherwise
invalid)
Input LLL Alarm Value (the
LLL INLL 0.0000 [INSCH,INSCL] option selected alarm, otherwise
invalid)
Positive Deviation Alarm Value
PDE 100.00
PDEV Not less than0 (the option selected alarm,
V 00
EI otherwise invalid)
Alarm Negative Rate Alarm Value (the
NDE 100.00
(%) NDEV Not less than0 option selected alarm, otherwise
V 00
invalid)
EI EI 0.0000 - -
Positive Rate Alarm Value (the
PRI 100.00
Veloci PRIN Not less than0 option selected alarm, otherwise
N 00
ty invalid)
Alarm Negative Rate Alarm Value (the
(%) NRI 100.00
NRIN Not less than0 option selected alarm, otherwise
N 00
invalid)
4.22.3 Flag
Table 4-33 Flag list
This function block curve outputs values by time and changes with set value of time sequence
417
Function Block Reference
program.
This function block is a simple function block, the running time is 20μs.
Application
Name Name Upload Properties
Reference
Basic Operation
T0 Time Dot 0 TRUE -
Parameters Parameter
Operation
T1 Time Dot 1 TRUE -
Parameter
Operation
T2 Time Dot 2 TRUE -
Parameter
Operation
T3 Time Dot 3 TRUE -
Parameter
Operation
T4 Time Dot 4 TRUE -
Parameter
Operation
T5 Time Dot 5 TRUE -
Parameter
Operation
Time T6 Time Dot 6 TRUE -
Parameter
Point
Settings Operation
T7 Time Dot 7 TRUE -
Parameter
Operation
T8 Time Dot 8 TRUE -
Parameter
Operation
T9 Time Dot 9 TRUE -
Parameter
Operation
T10 Time Dot 10 TRUE -
Parameter
Operation
T11 Time Dot 11 TRUE -
Parameter
Operation
T12 Time Dot 12 TRUE -
Parameter
Operation
T13 Time Dot 13 TRUE -
Parameter
Output Operation
Y0 Output Value 0 TRUE -
Value Parameter
Settings Operation
Y1 Output Value 1 TRUE -
Parameter
Operation
Y2 Output Value 2 TRUE -
Parameter
Operation
Y3 Output Value 3 TRUE -
Parameter
Operation
Y4 Output Value 4 TRUE -
Parameter
Operation
Y5 Output Value 5 TRUE -
Parameter
418
Function Block Reference
Application
Name Name Upload Properties
Reference
Operation
Y6 Output Value 6 TRUE -
Parameter
Operation
Y7 Output Value 7 TRUE -
Parameter
Operation
Y8 Output Value 8 TRUE -
Parameter
Operation
Y9 Output Value 9 TRUE -
Parameter
Output Value Operation
Y10 TRUE -
10 Parameter
Output Value Operation
Y11 TRUE -
11 Parameter
Output Value Operation
Y12 TRUE -
12 Parameter
Output Value Operation
Y13 TRUE -
13 Parameter
Segment SEGU Used Segment Operation
- -
Settings SE Number [1,13] Parameter
CASI
Cascade Input - Input Pin Related SEGUSE
NNote3
Cascade Input
CASN
Segment - Input Pin -
UM
Number
Cascade
Input Pin
CAST Tracking
- Input Pin -
R (OFF=Tracking
)
HOLD
Note2 Maintain - Input Pin -
Output FINIS
End Symbol - Output Pin -
Pin H
Indicate
Present
PEND - Output Pin -
Segment
Reach
N
ERR
ote4 Block Alarm - Output Pin Related T0-T13
End
End Mode:
Mode MOD Configuration
OFF=Retention - -
Settings ENote5 Parameter
; ON=Reset
419
Function Block Reference
When RST = OFF, output value OUT starts from Y0 and changes to Y1 in T1-T0 in
slope; PEND outputs a pulse signal, PNUM=CASNUM + 1; then changes to Y2 in
T2-T1 in slope, PNUM = CASNUM +2; at last changes to Y13, PNUM = CASNUM +
13, FINISH = ON.
In outputting but not restoring period, HOLD=ON, and output is maintained and
interior timing pauses; HOLD=OFF, output changes with former rule.
When more than thirteen interval segment are required, adopt two function blocks
trip mode.
Upriver function block PNUM inputs to lower function block CASNUM;
Upriver function block FINISH inputs to lower function block CASTR;
Upriver function block OUT inputs to lower function block CASIN; same set is
required in upriver function block [T13,Y13] and lower function block [T0,Y0].
Through SEGUSE parameters configuration setting the used segues. For example
SEGUSE=5, use the front five interzone segues.
Note 4: In the amount of SEGUSE set interval segment, if time axes is not sorted from small to big,
generate alarm.
When MODE=OFF, output value maintains after the end of interval is output.
When MODE=ON, output value restores to Y[0] after the end of interval is output.
When the amount of interval segment is changed, restore and restart.
This function processes simple operation. In "content” of text calculation function block, take
mathematical and logic operation to function block. It supports ST language and function.
The width of line should be restricted to 50 and the amount of lines should be restricted to 1000.
This function block is a simple function block, the running time is 5μs.
420
Function Block Reference
Application
Name Name Upload Properties
Reference
User-defined
REAL1 - Input Pin -
Floating-point Date
User-defined
REAL2 - Input Pin -
Floating-point Date
Input Pin
User-defined
REAL3 - Input Pin -
Floating-point Date
User-defined
REAL4 - Input Pin -
Floating-point Date
User-defined Boolean Operation
BOOL1 TRUE -
Date Parameter
User-defined Boolean Operation
BOOL2 TRUE -
Date Parameter
User-defined Boolean Operation
BOOL3 TRUE -
Date Parameter
User-defined Boolean Operation
BOOL4 TRUE -
Date Parameter
User-defined Integral Operation
INT1 TRUE -
Date Parameter
User-defined Integral Operation
INT2 TRUE -
Operation Date Parameter
Parameter User-defined Integral Operation
INT3 TRUE -
Date Parameter
User-defined Integral Operation
INT4 TRUE -
Date Parameter
User-defined Operation
REAL5 TRUE -
Floating-point Date Parameter
User-defined Operation
REAL6 TRUE -
Floating-point Date Parameter
User-defined Operation
REAL7 TRUE -
Floating-point Date Parameter
User-defined Operation
REAL8 TRUE -
Floating-point Date Parameter
Output
N User-defined
Parameter REAL9 - Output Pin -
ote1 Floating-point Date
Note 1: The Input Pins, operation parameters and output parameters should be used to variables
on program. For example, when BOOL1=ON, REAL9=REAL1+REAL5; when BOOL1=OFF,
REAL9=0, the program is show as follow.
421
Function Block Reference
Tip:
Example 1
To achieve the pressure drop of ATR burner nozzle, to figure out a normalized
pressure drop and a low alarm PDAL-67019 (0.15 MPa) to show that the ART buner
nozzle is not operated basing on the design parameter and to monitor mechanical
integrity of mixture between ART buner nozzle and the oxygen and air.
The formula is:
2
6298 O 2 inlet P 0.0969 273 230
Normalised dP Measured dP
Measured O 2 flowrate 2.79 273 O 2 inlet T
422
Function Block Reference
423
Function Block Reference
Example 2
To gather and show a temperature signal of 4-20mA and alarm generated when the
change rate is higher than 5℃ in 1s. Analog rate change alarm is used when the
curve is required for temperature control, and the error alarm is used when the error
alarm is needed for the monitor measuring point. Functions such as small-signal
excision, filter, linear transition, H/L limit alarm, output hold, velocity alarm, SV alarm
and break point alarm (which cannot be used for straight line), etc. can be achieved
via PVIEX.
424
Function Block Reference
Its programming is shown below. The general AI tag can invoke I/O tag directly, and
the monitoring display and velocity change alarm of host computer can be achieved
by the channel properties settings of the tag.
PVIEX can be used when the display and change rate alarm of the temperature
signal after calculation process is required.
M: 5
N: 1
Cycle of program page: 200ms (data sampling cycle TS=M*program page running
cycle; velocity detect cycle TC=N*data sampling cycle TS)
PRIN: 5
NRIN: 5
425
Function Block Reference
This function block through alias manner access or modify dates, the dates is other functions”.
This function block is a simple function block, the running time is 5μs.
Application
Name Name Upload Properties
Reference
IN_D(IN_D=
Input Pin Input Pin - Input Pin -
ON,effective)
1. In "Alias List” of ACTION function block, announce the tag of programming, and modify the
function name in the ”name” page. For example, reference the VALVE, PD_SI and
MANUAL function blocks, the VALVE is named VALVE 1, the PD_SI is named PD_SI1,
and MANUAL is named MANUAL1, which are shown as follows.
426
Function Block Reference
Tip:
The tag can be excerpted after aliasing, and it can be excerpted 200 at most, and
supports global function block.
2. Parameters conforming to the parameter naming rules can be set in “Custom Parameter”
tab. The name should be started by letter, and contain letters, numbers and underline.
Other characters are illegal. If the names of new parameter and alias in custom
parameter list or “Alias List” are repeated, a prompt of repeated name will pop up and
create new parameter failed. Custom parameter cannot be input/ output pins.
427
Function Block Reference
Tips:
The width of line should be restricted to 50 and the amount of lines should be
restricted to 1000.
The function block supports creating custom parameters of float, integer (6 types) and BOOL, and
perform ST coding via parameter, and achieve control logic.
The function block supports array set by controller, such as float, integer, BOOL, and supports
timer set by controller, such as minute, second and 100 milliseconds.
This block can execute linear conversion for the input data, low cutting, filter calculation, rate alarm,
error alarm, high and low limit alarm, output holding, etc.
This function block is a Complicated function block, the running time is 50μs.
428
Function Block Reference
Output General
Pin ALM alarm - Output Pin -
output
General
NOAL
normal - Output Pin -
M
output
Turning
Alarm Monitoring
FLEX Point Alarm - -
Parameter
indication
Positive
PRINI Monitoring
rate alarm - -
ND Parameter
indication
Negative
NRINI Monitoring
rate alarm - -
ND Parameter
indication
Positive
PDEV deviation Monitoring
- -
IND alarm Parameter
indication
Negative
NDEV deviation Monitoring
- -
IND alarm Parameter
indication
Input HHH
HHHI Monitoring
alarm - -
ND Parameter
indication
Input HH
HHIN Monitoring
limit alarm - -
D Parameter
indication
429
Function Block Reference
430
Function Block Reference
431
Function Block Reference
Note:
1. Low Cut
Execute the low cutting for the input IN in the range from INSCL to INSCH. When
the mode is started (SWLCUT= ON) and the percentage of input IN in the range
from INSCL to INSCH is less than LCUT, change signal to the low limitl.
2. Filter
432
Function Block Reference
The signal after the low cutting can be filter calculated to the OUT. The filter mode is
a first-order filter.
3. linear conversion
The functional block can execute linear conversion calculation to the OUT, PV=
GAIN*OUT+ BIAS; the GAIN means the gain value, and the BIAS means the bias
value.
Judge the high and low alarm for the PV value which is linear converted.
Only when PV exceeds alarm limit and maintains for TLAG, the alarm will be generated.
The alarm has the function of alarm hysteresis. The alarm will be eliminated after the PV
value out the alarm hysteresis range.
5. Output holding
When the input signal quality INERR= ON, the output PV will hold the value in last
period. The signal quality information is comprised in the multicast flag.
6. Rate alarm
Rate detecting period TC= detecting period multiple N*data sampling period TS;
When the differential value which the current value minors the original value of the rate
detecting period is greater than and equal to PRIN, then the positive rate alarm will be
generated, and the positive rate alarm will be eliminated when the differential value is
433
Function Block Reference
When the differential value which the original value minors the current value of the rate
detecting period is greater than and equal to NRIN, then the negative rate alarm will be
generated, and the negative rate alarm will be eliminated when the differential value is
less than NRIN -RHYS.
When the input SV is over SVH, then SV will be limited within the SVH, and the high limit
alarm of the setting value will be generated.
When the input SV is under SVH, then SV will be limited within the SVL, and the low limit
alarm of the setting value will be generated.
8. EI alarm
When PV is greater than SV, and the error absolute value is greater than and equal to
positive error alarm value PDEV, the positive deviation alarm indication will be
generated.
When PV is less than SV, and the error absolute value is greater than and equal to
negative error alarm value NDEV, the negative deviation alarm indication will be
generated.
When turning point is appeared in the variation curve of PV, then the alarm will be
generated.
When judging the turning point alarm, 3 sampling data values are needed, current
rate value DPV, last period rate value DDEI, and before last period rate value
DDEI_LT.
When (DPV-DDEI) * (DDEI-DDEI_LT) < 0.0, the turning point alarm will be
generated.
The turning point alarm detecting is related to the signal quality. When the noise bar
is large, filtering will be needed. When the signal period changes slowly, the
sampling period multiple TP can be adjusted.
Alarm output indication: general alarm output ALM, the normal output NOALM.
434
Function Block Reference
Function Block
Panel Parameter Name Parameter Initial Value Value Range Application Instruction
Name
Alarm Input the HHH limit alarm value
Preference Limit HHH INHHH 100.0000 [INSCH,INSCL] (the option selected alarm,
Settin otherwise invalid)
435
Function Block Reference
Function Block
Panel Parameter Name Parameter Initial Value Value Range Application Instruction
Name
gs(%) Input the HH limit alarm value
HH INHH 95.0000 [INSCH,INSCL] (the option selected alarm,
otherwise invalid)
Input the H limit alarm value
H INH 90.0000 [INSCH,INSCL] (the option selected alarm,
otherwise invalid)
HYS INHYS 0.0000 ≥0 H/L limit alarm Hysteresis
Input the L limit alarm value
L INL 10.0000 [INSCH,INSCL] (the option selected alarm,
otherwise invalid)
Input the LL limit alarm value
LL INLL 5.0000 [INSCH,INSCL] (the option selected alarm,
otherwise invalid)
Input the LLL limit alarm value
LLL INLLL 0.0000 [INSCH,INSCL] (the option selected alarm,
otherwise invalid)
TLA
TLAG 0.0000 - H/L alarm delay time
G
Positive error alarm value (the
option selected PDEV valid,
PEI PDEV 100.0000 -
otherwise invalid
EI )
Limit
Negative error alarm value (the
Settin
option selected NDEV valid,
gs(%) NEI NDEV 100.000 -
otherwise invalid
)
EI EI 0.0000 - Read-only. EI=PV-SV
SV maximum (the option
selected SVH valid, otherwise
H SVH 100.0000 [INSCH,INSCL]
invalid
Set
Limit
Value SV minimum (the option
selected SVL valid, otherwise
L SVL 0.0000 [INSCH,INSCL]
invalid
)
Rate Positive rate alarm value (the
Alarm DMV option selected PRIN valid,
PRIN 100.0000 ≥0
Set H otherwise invalid
)
Negative rate alarm value (the
DMV option selected NRIN valid,
NRIN 100.0000 ≥0
L otherwise invalid
)
Rate alarm initial value,
Read-only, can be set in the
Initia
PVP 0.0000 - Function Block Properties
l
window or in the program
settings
HYS RHYS 0.0000 ≥0 Rate alarm Hysteresis
Turni Turning Point Alarm Indication,
ng Check the" Turning Point
Point FLEX OFF - Alarm" effective, and then click
Alar the "alarm reset" button to
m complete the setup.
436
Function Block Reference
Function Block
Panel Parameter Name Parameter Initial Value Value Range Application Instruction
Name
Turning Point Alarm Reset,
Alar
Check the" Alarm Reset"
m
RSTFLEX OFF - effective, and then click the
Res
"alarm reset" button to
et
complete the setup.
Sam
pling
M 20 [1,65535] Sampling cycle multiple
Cyd
e
Mulit
ple
of
rate Rate observation period
N 1 [1,31]
dete multiple
ction
cvde
Rate (N)
Alarm
Set Rate
Sam Read-only, can be set in the
pling Function Block Properties
TS 0.0000 -
Cyd window or in the program
e settings
(TS)
Others
Rate
Dete Read-only, can be set in the
cting Function Block Properties
TC 0.0000 -
Cyd window or in the program
e(TC settings
)
GAI The gain value of linearity
Linear GAOM 1.0000 -
N conversion
Conv
ersion The bias value of linearity
BIAS BIAS 0.0000 -
conversion
Fiter
Filter
Time
Proce TFLT 0.0000 - -
(TFL
ss
T)
Low cut switch (the option
Low
SWL SWLCUT 0.0000 - selected SWLCUT valid,
Cut
CUT otherwise invalid)
4.26.3 Flag
Table 4-47 Flag list
437
Function Block Reference
This extended linearization chart function block can realize the calculation function of the
linearization chart with 3-channel output. This function block is a Complicated function block, the
running time is 25μs.
438
Function Block Reference
439
Function Block Reference
440
Function Block Reference
441
Function Block Reference
442
Function Block Reference
Extended Configurati
PB
Parameters Shield MV - on -
MV
Parameter
PB Configurati
Output OU Output 1 Shield - on -
Suppres T1 Parameter
s PB Configurati
Settings OU Output 2 Shield - on -
T2 Parameter
PB Configurati
OU Output 3 Shield - on -
T3 Parameter
IN1 Input variable 1 - Input Pin -
MV Input variable MV - Input Pin -
Input Pin
PV Input variable PV - Input Pin -
SV Input variable SV - Input Pin -
OU
Output variable 1 - Output Pin Related MODE
T1
OU
Output variable 2 - Output Pin Related MODE
T2
OU
Output variable 3 - Output Pin Related MODE
Output T3
Pin ER
Block alarm - Output Pin -
R
ST
Block state - Output Pin -
A
FL
Flag - Output Pin Refer to 4.27.3
AG
443
Function Block Reference
Note:
Input X coordinate value X1 to X21 must put in order from small to large, otherwise ERR
alarm will be generated and STA indicate low-bit of arrange error.
The program first judge segment number of IN which in X axes 20th coordinate, then
carry out interpolating calculation. The algorithm is shown below:
If IN is value between X[i] and X [i+1]: (The same to the OUT1, OUT2, OUT3, the Y axis
coordinate value is respectively YA[i], YB[i], YC[i])
Y [i 1] Y [i ]
OUT Y [i ] ( IN X [i ]) *
X [i 1] X [i ]
The amount of interval segment can be configured, allowed range is 1~20. Parameter
illegality detecting is only used in the segment.
444
Function Block Reference
445
Function Block Reference
446
Function Block Reference
447
Function Block Reference
448
Function Block Reference
449
Function Block Reference
Supervising
Flag Instruction
Assign
Enable
D0 Tag Disable (OOS)
(SWOOS)
D1 Disable Configuration error alarm(CFGERR)
D2 Enable (AOF) Alarm Suppression (AOF)
This function block is a simple function block, the running time is 30μs.
450
Function Block Reference
.MODE=OFF
HHH = SV + 3 * BIAS
HH = SV + 2 * BIAS
H = SV + BIAS
L = SV - BIAS
LL = SV - 2 *BIAS
LLL = SV - 3 * BIAS
MODE=ON
The extended integral function block can make integral action to the input, and used in
accumulation calculation.
This function block is a Complicated function block, the running time is 30μs.
451
Function Block Reference
Calculatio
n Finish Calculation Operation
FOUT TRUE Output limit value
Value finish value Parameter
Settings
Input Configuration
INSCH - -
maximum Parameter
Input span Configuration
INSCL - -
minimum Parameter
Basic Configuration
INEU Input unit - -
Parameters Parameter
OUTSC Output Configuration
- -
H maximum Parameter
OUTSC Output Configuration
Range - -
L minimum Parameter
Settings
Configuration
OUTEU Output unit - -
Parameter
Used for Data
IN decimal Configuration Displayed on Function
INDLEN -
digits[0,5] Parameter Block Panel (Equal to 3
as Default)
Used for Data
OUTDL OUTdecimal Configuration Displayed on Function
-
EN digits[0,5] Parameter Block Panel (Equal to 3
as Default)
Value
Extended Range[INSCL,INSCH],
Parameters IN Input value - Input Pin
Connect to AI and
function block
Program reset
Input Pin PRST - Input Pin -
input
Keep input of
PHOLD - Input Pin -
program
Startup input
PSTART - Input Pin -
of program
Value
Output OUTNote1 Output value - Output Pin Range[OUTSCL,OUTS
Pin CH]
ERR Block alarm - Output Pin -
Function
block
OOS Operation
SWOOS forbidden TRUE -
Settings Parameter
(ON=forbidde
n)
452
Function Block Reference
453
Function Block Reference
454
Function Block Reference
t
OUTPUT INPUT
1
*
1
dt CUMULATION INITIAL(t0)
t0 TIME COEFFICIENT EQUIVALENT COEFFICIENT
User can choose whether to execute integral limit function or not. When MODE =0, it is in
the integral limit status. The output value will be restricted in the cumulation finish value
(FOUT) when it reaches .FOUT
When MODE=1, it is in automatically reset status. The output value will reset
automatically and cumulate from the calculation value after reset (ROUT) when it
reaches FOUT, TFINISH automatically plus 1 for every cumulation.
When HOLD =ON or PHOLD makes a positive transmission, then RUN =OFF, and the
current integral function block is in the holding mode and set HOLD =OFF after holding
for a period, at same time preparing for next command.
When START =ON or PSTART makes a positive transmission, then RUN =ON, and the
current integral function block is in the running mode and set START =OFF after holding
for a period, at same time preparing for next command..
When the function block is in the holding status (RUN=OFF), the output value maintain
current value still.
455
Function Block Reference
It is used in span converting. For example, input IN is the flow, measure the flow of a
diesel oil. The density of the diesel oil is 0.86kg/L and the input unit is L/h. After
cumulation, the unit of the cumulation value is t. The parameter needs to be set to
KFCT=1/0.86*1000=1162.79, TFCT =3600.
4.29.2 Function Block Panel Parameter
Function
Block Initial Value
Panel Parameter Name Application Instruction
Parameter Value Range
Name
456
Function Block Reference
Function
Block Initial Value
Panel Parameter Name Application Instruction
Parameter Value Range
Name
Input HH limit alarm value (the
100.000 [INSCL,IN
HH INHH option selected alarm, otherwise
0 SCH]
invalid)
Input H limit alarm value(the
[INSCL,IN
Alarm H INH 90.0000 option selected alarm, otherwise
SCH]
Limit invalid)
Settings( Input L limit alarm value (the
[INSCL,IN
%) L INL 10.0000 option selected alarm, otherwise
SCH]
invalid)
Input LL limit alarm value (the
[INSCL,IN
LL INLL 0.0000 option selected alarm, otherwise
SCH]
invalid)
HYS INHYS 0.0000 - Alarm hysteresis value
Comp 100.000
FOUT - -
letive 0
Read-only, can be set in the
Error
Preference Function Block Properties window
Value OUTDEV1 0.0000 -
or in the program settings
1
Accumul
ative Read-only, can be set in the
Completi Error
Function Block Properties window
ve Value Value OUTDEV2 0.0000 -
or in the program settings
2
Reset Previo
POUT 0.0000 - -
Setting( us
%) Rest ROUT 0.0000 - -
Time TFCT 1.0000 - -
Coefficie
nt Coeffi
KFCT 1.0000 - -
cient
Low
Signal
Others Cut
Excise LCUT 0.0000 - -
Value
Settings(
%)
Manual and auto of function
Manu
Mode block, Optional manual or
al,Aut SWAM Auto -
Set automatic control, click the
o
appropriate button to set
Integral mode selection, the
Limit MODE_OPT OFF - check is to select the integration
mode for limiting
Integral mode selection, the
Mode Auto MODE_OPT OFF - check is to select the integration
mode for auto reset
Alway
s
Integral mode selection, the
MODE_OPT ON - check is to select the integration
Cumu
late mode for cumulation incessdantly
457
Function Block Reference
Function
Block Initial Value
Panel Parameter Name Application Instruction
Parameter Value Range
Name
Calculation increase/decrease,
Inc SWID ON - the check is to select the increase
Accumul integration
ative
Direction Calculation increase/decrease,
Dec SWID OFF - the check is to select the
decrease integration
4.29.3 Flag
Table 4-52 Flag list
The flow accumulation is used to check the instant flow of some fluid and gas in pipe and to count
the sum of a period of time. The flow signal FT_2103 (range: 0~7000, unit: kg/h) need to be
accumulated, and the unit of accumulated value is t.
Y TAG
_92 FQ
CUM
TAG
_91
F
458
Function Block Reference
Its programming is shown below and can be achieved via INTERGRALX, which can perform
integral and accumulation calculation for input and functions such as hold, reset, small signal
cutting, input alarm function and cold-boot reset for accumulated value.
INEU: the range conforms to the technical requirements and cannot be set as infinity.
OUTEU: the range conforms to the technical requirements and cannot be set as infinity.
MODE_OPT: 2
KFCT: 1000
TFCT: 3600
The two levels H/L limit alarms of IN can be set for INTERGRALX
This function block is an ideal gas compensation function block, which can compensate
approximate ideal gas in the setting mode.
This function block is a simple function block, the running time is 13μs.
459
Function Block Reference
Application
Name Name Upload Properties
Reference
IN Calculate input value - Input Pin Connect AI
Air pressure in working
Input Pin PRESS - Input Pin -
(unit: MPa)
Temperature in working
TMPRT - Input Pin -
(unit: degree. C.)
OUT Calculate output value - Output Pin Related MODE
Note .
This function block follows the below ideal gas balance equation:
P1V1 P0V0
T1 T0
mode 1(MODE=0)
Mode 1 is applied in (Not limited to) the measuring of volume flow using the volume
flowmeter.
460
Function Block Reference
Mode 2 is applied in (Not limited to) the measuring of volume flow using the
differential pressure flowmeter. Volume flow is transferred to the value in the setting
condition. Mode 2 is applied when the signal is the flow signal.
Mode 3 is applied in (Not limited to) the measuring of volume flow using the
differential pressure flowmeter. Volume flow is transferred to the value in the setting
condition. Mode 2 is applied when the signal is the flow signal.
Mode 3 is applied when the sent-up signal is the differential pressure signal.
Use a flowmeter to measure the flow of a technical gas (steam), its designed temperature is 250℃,
designed pressure is 1.05MPa (gauge pressure); its measured pressure is PT_0101: range is
0~4MPa, measured temperature is TE_0102: range is 0~500℃, flow is FT_0101: range is
0~7000Nm3/h (has been extracted the root in the transducer), the compensated flow us the
customized analog value FIB0101: range is 0~7000Nm3/h. It is needed to be performed the ideal
gas compensation and superheated steam flow compensation.
The density of gas changes wit the pressure and temperature. If the field devices have not
provided compensation for speed or volume types of flowmeters, the temperature and pressure
compensation is needed to be performed. The compensation varies with different gas mediums.
Generally, there are ideal gas gas flow compensation, superheated steam and saturated steam
flow compensation, special gas flow compensation. The definitions of various gas types:
Ideal gas: refers to the gas, in any pressure and temperature, its status conforms to
P*V/T=constant value. Generally, gas difficult to be liquefied, such as H2, N2, O2, are ideal
gas, which requires temperature and pressure compensation. If the medium temperature
461
Function Block Reference
is always near designed temperature (like normal temperature) and not often changed, it
only requires pressure compensation.
Superheanted steam: when the temperature of steam with current pressure is higher
than the boiling temperature of liquid phase with the pressure, the steam is in
superheated status and requires temperature and pressure compensation.
Saturated steam: when the molecule number entering into space in a unit time is equal to
the molecule number returning to the liquid, the evaporation and condensation are in
status of dynamic balance. The evaporation and condensation is performing, while
density of steam molecule in space stops increase. At that time, it is the saturated status.
Special gas, such as air (it can be processed as ideal gas if the precision is not highly
required), natural gas and ammonia, etc. Normally the measurement device factory
should provide clear compensation calculation formula, such as the air volume (air) of
boiler devices and natural gas flow, etc., should conform to the calculation sheet
provided by the factory.
If the flow compensation gas is ideal gas, apply PTCOMPX to perform flow compensation, its
programming is shown below.
462
Function Block Reference
MODE: 1
PRESS0: 1.05
TMPRT0: 250
The two levels H/L limit alarms can be set for the compensated flow according to the
requirements. It can be achieved via PVIEX.
Other alarms, like change rate alarm, are set as disabled in default.
MODE: 0
PRESS0: 1.05
TMPRT0: 250
The two levels H/L limit alarms can be set for the compensated flow according to the
requirements. It can be achieved via PVIEX.
Other alarms, like change rate alarm, are set as disabled in default.
Analog alarm limit, range and other parameters set. This function block is a complicated function
block, the running time is 30μs.
463
Function Block Reference
Application
Name Name Upload Properties
Reference
Input HHH limit Operation
PVHHH TRUE -
alarm value Parameter
Input HH limit Operation
PVHH TRUE -
alarm value Parameter
Input H limit Operation
PVH TRUE -
alarm value Parameter
464
Function Block Reference
Application
Name Name Upload Properties
Reference
Positive rate
PRININ Monitoring
alarm - Related ENALM
D Parameter
indication
Negative rate
NRININ Monitoring
alarm - Related ENALM
D Parameter
indication
Input HHH
Monitoring
HHHIND alarm - Related ENALM
Parameter
indication
Input HH limit
Monitoring
HHIND alarm - Related ENALM
Parameter
indication
Input H limit
Monitoring
HIND alarm - Related ENALM
Parameter
Alarm indication
Input L limit
Monitoring
LIND alarm - Related ENALM
Parameter
indication
Input LL limit
Monitoring
LLIND alarm - Related ENALM
Parameter
indication
Input LLL limit
Monitoring
LLLIND alarm - Related ENALM
Parameter
indication
SV H limit
Monitoring
SVHIND alarm - Related ENALM
Parameter
indication
SV L limit alarm Monitoring
SVLIND - Related ENALM
indication Parameter
Alarm Operation
ENALM Alarm enabled TRUE -
Enable Parameter
and FLAG Flag - Output Pin -
Suppres
Suppress Operation
s AOF TRUE -
module alarm Parameter
The setting value is limited in [SVL, SVH]. Execute the ramp action to the limited SV.
In the indication
Function, SVVL means the variation in each period.
465
Function Block Reference
466
Function Block Reference
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Parameter Value
Name
PV Alarm PV HHH limit alarm value (the option
HHH PVHHH 100.0000 [SCL,SCH]
Limit selected alarm, otherwise invalid)
Settings PV HH limit alarm value (the option
HH PVHH 95.0000 [SCL,SCH]
selected alarm, otherwise invalid)
PV H limit alarm value (the option
H PVH 90.0000 [SCL,SCH]
selected alarm, otherwise invalid)
467
Function Block Reference
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Parameter Value
Name
PV L limit alarm value (the option
L PVL 10.0000 [SCL,SCH]
selected alarm, otherwise invalid)
PV LL limit alarm value (the option
LL PVLL 5.0000 [SCL,SCH]
selected alarm, otherwise invalid)
PV LLL limit alarm value (the option
LLL PVLLL 0.0000 [SCL,SCH]
selected alarm, otherwise invalid)
HYS PVHYS 0.0000 ≥0.0 Alarm hysteresis value
SV H limit alarm indication (the
H SVH 100.0000 - option selected alarm, otherwise
SV Limit invalid)
Settings
SV L limit alarm indication (the option
L SVL 0.0000 -
selected alarm, otherwise invalid)
Velocity
SVVL 100.0000 - Rate limit value
Limit
SV Velocity Positive rate alarm indication (the
Limit DSVH PRININD OFF - option selected alarm, otherwise
Settings invalid)
Negative rate alarm indication (the
DSVL NRININD OFF - option selected alarm, otherwise
invalid)
Read-only, can be set in the Function
OUT OUT 0.0000 -
Block Properties window.
4.31.3 Flag
Table 4-62 Flag list
Flag Description
D0 Tag Disable(OOS)
D1 HHH limit alarm(HHH)
D2 HH limit alarm (HH)
D3 H limit alarm (H)
D4 L limit alarm (L)
D5 LL limit alarm (LL)
D6 LLL limit alarm (LLL)
D7 Positive rate alarm (PRIN)
D8 Negative rate alarm (NRIN)
D12 Range high and low limit reversal alarm (REVSCL)
D13 Alarm Suppression(AOF)
D15 SV H limit alarm (SVH)
D16 SV L limit alarm (SVL)
The function block is mainly used in the settings of the operator indicator, parameter, etc. This
function block is a complicated function block, the running time is 30μs.
468
Function Block Reference
Note 1. This function block provides an analogy output for the downstream program. The function
block can be operated by operators in the supervision and send the analog indication.
Note 2. When SWOOS=ON, the function block is in the OOS status. In this mode, the algorithm
does not work and the output can be assigned in the debugging window.
469
Function Block Reference
When TR =OFF, the function block is in the manual status and SV can be set by operator;
and operator can write specific value directly or press the plus/minor button to modify SV.
For every operation, SVI send out a pulse.
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Parameter Value
Name
Set value maximum (the option
H SVH 100.0000 -
SV Limit selected alarm, otherwise invalid)
Settings Set value minimum (the option
L SVL 0.0000 -
selected alarm, otherwise invalid)
4.32.3 Flag
Table 4-65 Flag list
470
Function Block Reference
This function block is a simple function block, the running time is 5μs.
471
Function Block Reference
2) When MODE=1:
Note 2. No matter in what mode, the output will be limited between OUTL and OUTH. If
OUTL>OUTH, then output limit will not work and the ERR alarm will be set to ON.
Output the system time of controller, and send out a single pulse when the current time reaches
the setting time.
This function block is a simple function block, the running time is 5μs.
Application
Name Name Upload Properties
Reference
OUTNote1 Output value - Output Pin -
Y Current year - Output Pin -
M Current month - Output Pin -
Output Pin D Current date - Output Pin -
H Current hour - Output Pin -
MIN Current minute - Output Pin -
SEC Current second - Output Pin -
472
Function Block Reference
Application
Name Name Upload Properties
Reference
Operation
M_SET Month set(>12 means anyone) TRUE -
Parameter
Operation
D_SET Date set(>31means anyone) TRUE -
Parameter
Operation
H_SET Hour set (>23 means anyone) TRUE -
Operation Parameter
Parameter Minute set (>59 means Operation
MIN_SET TRUE -
anyone) Parameter
Second set (>59 means Operation
SEC_SET TRUE -
anyone) Parameter
Note1 Operation
TZ Region (unit: h) - -
Parameter
Note:
The unit of the time zone value is hour. For example, TZ=1.5 means that add 1.5
hours in the controller (1.5*60 = 90 minutes). The time zone value ranges in [-12.0,
13.0], and decimal like as 0.0, 0.25, 0.5 and 0.75 are also supported. There might
be precision loss for other time zone value end with decimal, but it does not matter
in the practical application. When the time zone value is used, the decimal will be
one of the 4 decimals 0.0, 0.25, 0.5 and 0.75.
This function block will not adjust automatically the clock following the daylight
saving time. When used in those countries adopted the daylight saving time, users
should adjust the TZ by themselves.
It is based on the standard Greenwich Mean Time, then plus the current time zone
value, get the current year, month, data, hour, minute, second.
For example, China is located in the East 8 zone, so TZ=8.
If the Greenwich Mean Time is 2010.05.07 13:00:00, then the Beijing Time will be
2010.05.07 21:00:00.
If the current time is compared with the setting time, a pulse will be outputted when
the current time reaches or exceedes the setting time the first time. The pulse width
is the calculation period.
The block is used to get the average value of the input sampling data in the past period of time. It
records the input value according to the setting sampling time and can record 60 sampling values
at most. This function block is a simple function block, the running time is 11μs.
473
Function Block Reference
reset mode
When RST=ON, the function block is in the reset mode. MODE =0, OUT=IN, the
inner sampling data is reset.
stop mode
When RST=OFF, STOP=ON, the block is in the stop mode. MODE=1, OUT holding,
the inner sampling data is reset.
Running mode
474
Function Block Reference
When RST=OFF, STOP=OFF, the function block is in the running mode, MODE=2,
OUT is the value of the average value of the current available sampling data
multiplied by GAIN.
The available sampling data must be used for the average value calculation. That
means that the divisor is the amount of the recorded available sampling data, when
it reaches NUM and the divisor is NUM.
The sampling data and the output are refreshed once in a sampling period.
Create a piece of storage space in the function block to record the sampling data.
The data storage is shown as follows:
Create 60 input data buffers in function block which are used to store the sampling
value. Therefore, the sampling number NUM shall be in the range of [0, 60]. When
NUM > 60, NUM=60 will be forced by the program. When NUM=0, the function
block will output the current IN value.
Note 2. The calculation of TS is based on the integer multiple of the running period. When TS is
less than the running period of the function block, then TS is the running period. If TS is greater
than the running period, then the practical calculation time equals the maximum integer multiple of
the function block running period which is less than TS.
Judge the mode according to the parameter. In the running mode, output the current sampling
value according to the sampling time.
This function block is a simple function block, the running time is 11μs.
475
Function Block Reference
1) Reset mode
When RST=ON, the function block is in the reset mode, MODE=0, the inner timer will be
reset.
When RST_OPT=ON, OUT will hold the current output value. When RST_OPT=OFF,
OUT=PSET.
2) Stop mode
When RST=OFF and SW=OFF, the function block will be in the stop mode,
MODE=1. The inner timer will be reset and the output will be held.
3) Running mode
When RST=OFF and SW=ON, the function block will be in the running mode,
MODE=2, and output the current sampling value according to the sampling time.
The calculation of TS is based on the integer multiple of the running period. When
TS is less than the running period of the function block, then TS is the running
period. If TS is greater than the running period, then the practical calculation time
476
Function Block Reference
equals the maximum integer multiple of the function block running period which is
less than TS.
That means N*T<=TS, and the N is the maximum integral which can be chosen,
then the practical sampling time is N*T.
477
Function Block Reference
Manual
Selection function block library contains 18 function blocks, including 6 complex function blocks
and 12 simple function blocks. For complex function blocks, each of them has its own function
block panel, and the parameter on the panel can be set in supervision widow.
Function block TWOSEL can select to output the average, maximum, minimum, input signal1 and
input signal2 of the two input signals according to the value of parameter MODE.
Application
Name Description Upload Properties
Reference
Basic IN1 Input 1 - Input Pin Testing point AI
Parameters
IN2 Input 2 - Input Pin Testing point AI
Input Input the State of 1,
Pin IN1ERR - Input Pin Testing point AI.ERR
ON=Error
Input the State of 2,
IN2ERR - Input Pin Testing point AI.ERR
ON=Error
478
Function Block Reference
Application
Name Description Upload Properties
Reference
Output
When
MODE=0,OUT=(IN
1+IN2)/2
When
MODE=1,OUT=
Minimum Value Output Relevant parameter:
OUT - Note2
When parameter MODE
Output MODE=2,OUT=Ma
Pin ximum Value
When
MODE=3,OUT=IN1
When
MODE=4,OUT=IN2
Output Related
ERR Set Error Alarm -
parameter IN1ERR/IN2ERR/DL
Output
FLAG Flag - Refer to 5.1.3
parameter
Preset Deviation
Limit
(Non-Negative). If
Relevant parameter:
Difference between
Operation SCH, SCL
DL IN1and IN2 is TRUE
parameter Normally set to (SCH
larger than DL,ERR
- SCL)
=ON, output
remain the same
with last cycle.
Operati
on Set as ON when
Function Block Operation
Param SWOOS TRUE function block is
Forbidden parameter
eter downloaded first time
Suppress Module
Alarm
When AOF=ON, It
is Not Displaying
Operation
AOF the Real-Time TRUE Refer to 2.1.6
parameter
Alarm.
When AOF=OFF, It
is Displaying the
Real-Time Alarm.
Configu Range High Limit
ration (Note: All Input and Configurati
Param SCH Output Share The - on -
eter Same Range, Unit parameter
and Decimal Digits)
Configurati
SCL Range Low Limit - on -
parameter
Selection Type:
0=Average Value;
Configurati
1=Minimum Value; Refer to parameter
MODE - on
2=Maximum OUT
parameter
Value;
3=IN1;4=IN2
Configurati
EU Unit - on -
parameter
479
Function Block Reference
Application
Name Description Upload Properties
Reference
Configurati
DLEN Decimal Digits - on -
parameter
Signal redundancy control system usually uses two identical instruments to check
one signal. If one of the input signals is invalid, the detection system would output
the value of the valid one. If both of the signals are checked invalid, the detection
system would be considered in fault. If both of the signals are checked valid, the
checking system would further check the deviation between the two input signals. If
the deviation is larger than the setting value, the checking system would be
considered in problem.
1) When MODE=0, 1 or 2:
If both of two inputs are invalid, set error alarm ERR=ON, and hold the output value of
last period.
If one of two inputs is invalid, output the value of the other valid input.
If both of two inputs are valid, then check whether the deviation between the inputs
exceeds the setting deviation limit DL. If the deviation exceeds the deviation limit (DL),
meaning that the output is incredible, set error alarm ERR=ON, and hold the output value
of last period. If the deviation does not exceed DL, then select to output the average,
minimum, or maximum of the two input signals, according to the value of MODE.
2) When MODE=3 or 4, output the input value of the specified transmitter, value of IN1 or
IN2. If the corresponding input is invalid, meaning that the output is incredible, set error
alarm ERR=ON, and hold the output value of last period.
3) When MODE is set other value, set error alarm ERR=ON, and hold the output value of
last period.
480
Function Block Reference
Initial
Panel Parameter Name Range Application Reference
Value
Work Read-only, if selected, sets
MAX MODE - -
Mode MODE=2
Read-only,if selected,sets
MIN MODE - -
MODE=1
Read-only,if selected,Sets
AVE MODE √ -
MODE=0
Read-only,if selected, sets
IN1 MODE - -
MODE=3
481
Function Block Reference
Initial
Panel Parameter Name Range Application Reference
Value
Read-only,if selected, sets
IN2 MODE - -
MODE=4
Predefined Error DL 100.000 0~(SCH - SCL) Refer to parameter reference
5.1.3 Flag
Table 5-3 Flag list
Supervision
Flag Description
Evaluation
Enable
D0 Tag Forbidden (OOS)
(SWOOS)
D1 Disable Error (ERR)
D2 Disable Input 1 is Error (IN1ERR)
D3 Disable Input 2 is Error (IN2ERR)
D4 Enable (AOF) Alarm Suppression (AOF)
D5 Disable Range High and Low Limit Reversal Alarm (REVSCL)
D6 Disable Input 12 is Deviation Transfinite (DEV12)
Function block THRSEL can select to output the average, maximum, minimum, median value,
input signal1, input signal2 and input signal3 of the three input signals, or to output one of these
three signals, according to the value of parameter MODE.
Application
Name Description Upload Properties
Reference
Basic IN1 Input 1 - Input Pin Connect to AI
Parameters
IN2 Input 2 - Input Pin Connect to AI
IN3 Input 3 - Input Pin Connect to AI
Input Input the State of
IN1ERR - Input Pin Connect to AI.ERR
Pin 1, ON=Error
Input the State of
IN2ERR - Input Pin Connect to AI.ERR
2, ON=Error
Input the State of
IN3ERR - Input Pin Connect to AI.ERR
2, ON=Error
482
Function Block Reference
Application
Name Description Upload Properties
Reference
When MODE=0,
OUT=(IN1+IN2
+IN3)/3
When MODE=1,
OUT=minimum
When
MODE=2,OUT=
maximum
When
MODE=3,OUT= Related
OUT - Output Pin Note2
median parameter:MODE
Outpu When
t MODE=4,OUT=I
Pin N1
When
MODE=5,OUT=I
N2
When
MODE=6,OUT=I
N3
Related
ERR Set Error Alarm - Output Pin IN1ERR/IN2ERR/IN3
ERR/DL
FLAG Flag - Output Pin
Related
Deviation Limit Operation parameter:SCH, SCL
DL TRUE
(Non-Negative) Parameter normally set to
be(SCH - SCL)
Opera Function Block
tion Set to be “ON” when
Forbidden (ON Operation
Para SWOOS TRUE function block is
stands for mode Parameter
meter downloaded first time
OOS)
Suppress
Module Alarm Operation
AOF TRUE
AOF=ON, It is Parameter
Not Displaying
Range High Configuration
SCH - -
Limit Parameter
Configuration
Confi SCL Range Low Limit - -
Parameter
gurati
on Configuration Related
MODE Working Mode -
Para Parameter parameter:OUT
meter Configuration
EU Output Unit - -
Parameter
Decimal Digits Configuration
DLEN - -
[0,5] Parameter
Some important interlock control systems have higher requirement for checking the
input signals, usually using the 2 of 3 detection mode which is, among 3 input
signals, only two or above are valid then consider the detection system is normal.
Based on this thought, THRSEL is designed. It is similar to TWOSEL but increases
483
Function Block Reference
1. When MODE=0,1,2 or 3:
1) If all of the three input signals are invalid, meaning the output is incredible, set ERR=ON,
and hold the output value of last period.
2) If two of the three input signals are invalid, output the value of the valid one.
If the deviation between the two valid input signals does not exceed the deviation limit
(DL), output the corresponding value according to the value of MODE: when MODE=0 or
3, output their average; MODE=1, output their minimum; when MODE=2, output their
maximum.
If the deviation between the two valid input signals exceeds the deviation limit (DL),
meaning the output is incredible, set ERR=ON, and hold the output value of last period.
If all of the deviations between every two input signals exceed the deviation limit (DL),
set ERR=ON, and hold the output value of last period.
If one deviation between two input signals does not exceed the deviation limit (DL), while
the other two deviations between the third input signal and these two signals exceed the
deviation limit (DL), output the average of these two input signals.
If one deviation between two input signals exceeds the deviation limit (DL), while the
other two deviations between the third input signal and these two signals do not exceed
the deviation limit (DL), output the value of the third input signal, median value of the
three input signals.
If all of the deviations between every two input signals do not exceed the deviation limit,
output the average, minimum maximum or median value of the three input signals
according to the value of MODE.
1. When MODE=4, output the input value of the specified transmitter, value of IN1. If
IN1ERR=ON, meaning input 1 is invalid, set error alarm ERR=ON, and hold the output
value of last period.
2. When MODE=5, output the input value of the specified transmitter, value of IN2. If
IN2ERR=ON, meaning input 2 is invalid, set ERR=ON, and hold the output value of last
period.
3. When MODE=6, output the input value of the specified transmitter, value of IN3. If
IN3ERR=ON, meaning input 3 is invalid, set ERR=ON, and hold the output value of last
484
Function Block Reference
period.
4. When MODE>6, set ERR=ON, and hold the output value of last period.
Function Block
Panel Parameter Initial
Parameter Value Range Application Instruction
Name Value
Name
Work Read only,chosen,stands for
Mode MAX MODE - - setting MODE=2 in function
block Properties
485
Function Block Reference
Function Block
Panel Parameter Initial
Parameter Value Range Application Instruction
Name Value
Name
Read only,chosen,stands for
MIN MODE - - setting MODE=1 in function
block Properties
Read only,chosen,stands for
AVE MODE √ - setting MODE=0 in function
block Properties
Read only,chosen,stands for
MID MODE - - setting MODE=3 in function
block Properties
Read only,chosen,stands for
IN1 MODE - - setting MODE=4 in function
block Properties
Read only,chosen,stands for
IN2 MODE - - setting MODE=5 in function
block Properties
Read only,chosen,stands for
IN3 MODE - - setting MODE=6 in function
block Properties
Predefined Error
DL 100.000 0~(SCH - SCL) Refer to parameter reference
Limit
5.2.3 Flag
Table 5-6 Flag list
Supervision
Flag Description
Evaluation
Enable
D0 Tag Forbidden (OOS)
(SWOOS)
D1 Disable Error (ERR)
D2 Disable Input 1 is Error (IN1ERR)
D3 Disable Input 2 is Error (IN2ERR)
D4 Disable Input 3 is Error (IN3ERR)
D5 Disable Range High and Low Limit Reversal Alarm (REVSCL)
D6 Disable Input 12 Deviation Transfinite (DEV12)
D7 Disable Input 13 Deviation Transfinite (DEV13)
D8 Disable Input 23 Deviation Transfinite (DEV23)
D9 Disable Input 123 Deviation Transfinite (DEV123)
D10 Enable (AOF) Alarm Suppression (AOF)
Function block ISEL8 can select to output the maximum, minimum, average, low-median value,
high-median or any specified input, according to the value of parameters OPSEL and MODE.
486
Function Block Reference
Basic Configurati
Range Maximum
Parameters SCH - on -
Limit
Parameter
Configurati
SCL Range Minimum Limit - on -
Range Parameter
Settings Configurati
Output Engineering
EU - on -
Unit
Parameter
Configurati
DLEN Decimal Digits[0,5] - on -
Parameter
Operation Selection
0=Output Depends
On MODE, and Operation
OPSEL TRUE -
Others Select Parameter
Corresponding
Inputs.Note1
Mode Selection
Settings When OPSEL Is 0,
0=Maximum
Selection, 1=Minimum When OPSEL=0,
Operation
MODE Selection TRUE MODE setting is
Parameter
2= Average Value, 3= effective
Low-Median Value
4=High-Median
ValueNote1, Note2
Enable Input 1 Disable
ENIN1 - Input Pin -
Input Switch: OFF=Disable.
Input 2 Disable
ENIN2 - Input Pin -
Switch: OFF=Disable.
Input 3 Disable
ENIN3 - Input Pin -
Switch: OFF=Disable.
Input 4 Disable
ENIN4 - Input Pin -
Switch: OFF=Disable.
Input 5 Disable
ENIN5 - Input Pin -
Switch: OFF=Disable.
Input 6 Disable
ENIN6 - Input Pin -
Switch: OFF=Disable.
Input 7 Disable
ENIN7 - Input Pin -
Switch: OFF=Disable.
487
Function Block Reference
ISEL8 has 8 REAL type inputs and gives an output according to the value of OPSEL
and MODE. ENIN1~ENIN8 are the enable keys of input IN1~IN8. When they are
OFF, the corresponding inputs are forbidden and excluded from operation. When
they are ON, the corresponding input are enabled and included in operation.
When OPSEL is non-zero, output the corresponding input signal (for example: if
OPSEL=2, OUT=IN2; if OPSEL=4, OUT=IN4), whether it is enabled or not.
When OPSEL=0, output the result operated under specified algorithm according to
MODE. Only those enabled input signals are included in operation. When OPSEL=0,
but there is no enabled input, set ERR=ON and alarm.
If MODE=0, output the maximum.
If MODE=1, output the minimum.
If MODE=2, output the average.
If MODE=3, output the low-median value.
If MODE=4, output the high-median value.
If MODE>4, ERR=ON, and hold the output value of last period.
488
Function Block Reference
Whenever the number of flag entered is even, rank them from the large to the small
ones, the two numbers in the middle are called median. The larger one of them is
called high median while the smaller one of them is called low median.
For example, if there are four numbers, 100, 53, 27 and 18, in that way, 27 is the low
median and 53 is the high median of the four of them.
5.3.2 Parameter of Function Block Panel
489
Function Block Reference
Function Block
Panel Parameter
Parameter Initial Value Value Range Application Instruction
Name
Name
Input 1 suppress
IN1 ENIN1 - -
switch(unselected=suppress)
Input 2 suppress
IN2 ENIN2 - -
switch(unselected=suppress)
Input 3 suppress
IN3 ENIN3 - -
switch(unselected=suppress)
Input 4 suppress
IN4 ENIN4 - -
switch(unselected=suppress)
Mode
Input 5 suppress
IN5 ENIN5 - -
switch(unselected=suppress)
Input 6 suppress
IN6 ENIN6 - -
switch(unselected=suppress)
Input 7 suppress
IN7 ENIN7 - -
switch(unselected=suppress)
Input 8 suppress
IN8 ENIN8 - -
switch(unselected=suppress)
If chosen, stands for setting
MAX MODE - - MODE=0 in function block
Properties
If chosen, stands for setting
MIN MODE - - MODE=1 in function block
Properties
Input Value If chosen, stands for setting
Enable AVE MODE √ - MODE=2 in function block
Properties
If chosen, stands for setting
MID-L
MODE - - MODE=3 in function block
OW
Properties
If chosen, stands for setting
MID-
MODE - - MODE=4 in function block
HIGH
Properties
If chosen, OPSEL=0,
conditional output. If not
OPSEL MOD
OPSEL √ - chosen, OPSEL does not equal
Settings E
to 0(reference 1),directly
output.
If Do not chose conditional
output, output number is can
Direct OPSE
OPSEL - [0,8] be set. Setting input number to
Output L
be 0 equals choosing
conditional output.
5.3.3 Flag
Table 5-9 Flag list
Supervision
Flag Description
Evaluation
D0 Enable(SWOOS) Tag Forbidden (OOS)
D1 Disable Error (ERR)
D5 Disable Range High and Low Limit Reversal Alarm (REVSCL)
D7 Enable (AOF) Alarm Suppression (AOF)
490
Function Block Reference
Its programming is shown below and can be achieved via ISEL8. The select output for various
analog signals can be performed by the host computer interface via function block tag, and the
output value can be made sure based on the parameters OPSEL and MODE. The analog
select-one-from-many can out put the average, minimum, maximum, H medium value, L medium
value and all input signals of various input signals when required.
ISEL8 can make sure the output value according to parameters OPSEL and MODE.
491
Function Block Reference
Note: the data can be invoked via ISEL8 without custom tag.
MODE: 0
EN1IN-EN8IN: ON
Function block DS can output one of the two BOOL inputs, according to the value of parameter
SW.
Function block ASW can output one of the two REAL inputs, according to the value of parameter
SW.
492
Function Block Reference
Function block SS8 can count the input ON of 8 BOOL input signals, and compare the result with
NUM, a preset parameter of number of input ONs. If the input ON is larger than NUM, SS8 outputs
ON, and specifically the forbidden inputs are not counted.
493
Function Block Reference
Application
Name Description Upload Properties
Reference
IN1 Input 1 - Input Pin Connect to DI
IN2 Input 2 - Input Pin Connect to DI
IN3 Input 3 - Input Pin Connect to DI
Input IN4 Input 4 - Input Pin Connect to DI
Pin IN5 Input 5 - Input Pin Connect to DI
IN6 Input 6 - Input Pin Connect to DI
IN7 Input 7 - Input Pin Connect to DI
IN8 Input 8 - Input Pin Connect to DI
Outp If number of ON input is larger
ut OUT or equal to NUM,OUT=ON. - Output Pin -
Pin Otherwise, OUT=OFF
Input 1Disable Switch: ON=correspondent
ENIN1 - Input Pin
OFF=Disable. input enable switch
Input 2 Disable Switch: ON=correspondent
ENIN2 - Input Pin
OFF=Disable. input enable switch
Ba Input 3 Disable Switch: ON=correspondent
ENIN3 - Input Pin
sic OFF=Disable. input enable switch
Par Input 4 Disable Switch: ON=correspondent
am Ena ENIN4 - Input Pin
OFF=Disable. input enable switch
ete ble
rs Input Input 5 Disable Switch: ON=correspondent
ENIN5 - Input Pin
OFF=Disable. input enable switch
Input 6 Disable Switch: ON=correspondent
ENIN6 - Input Pin
OFF=Disable. input enable switch
Input 7 Disable Switch: ON=correspondent
ENIN7 - Input Pin
OFF=Disable. input enable switch
Input 8 Disable Switch: ON=correspondent
ENIN8 - Input Pin
OFF=Disable. input enable switch
Configurati
The Number of Pre-Setting ON Related
NUM - on
is 0~8. parameter:OUT
Parameter
WHETHER FUNCTION Set to be “ON” when
Operation
SWOOS BLOCK IS IN OOS STATE(ON TRUE function block is
Othe Parameter
stands for OOS State) downloaded first time
rs
Suppress Module Alarm
WHEN AOF=ON, IT IS NOT Operation
AOF TRUE Refer to 2.1.6
DISPLAYING THE REAL-TIME Parameter
ALARM.
FLAG Flag - Output Pin Refer to 5.6.2
494
Function Block Reference
Function Block
Panel Parameter Initial Value
Parameter Application Instruction
Name Value Range
Name
Sign Input 1 suppress
IN1 ENIN1 - -
al switch(unselected=suppress)
Input Input 2 suppress
Swit IN2 ENIN2 - -
switch(unselected=suppress)
ch
Input 3 suppress
IN3 ENIN3 - -
switch(unselected=suppress)
Input 4 suppress
IN4 ENIN4 - -
switch(unselected=suppress)
495
Function Block Reference
Function Block
Panel Parameter Initial Value
Parameter Application Instruction
Name Value Range
Name
Input 5 suppress
IN5 ENIN5 - -
switch(unselected=suppress)
Input 6 suppress
IN6 ENIN6 - -
switch(unselected=suppress)
Input 7 suppress
IN7 ENIN7 - -
switch(unselected=suppress)
Input 8 suppress
IN8 ENIN8 - -
switch(unselected=suppress)
Pred
ictive
Num
Number Read only, set in function Properties
ber NUM 0 [0,8]
of ON settings
of
ON
Input
5.6.3 Flag
Supervision
Flag Description
Evaluation
D0 Enable(SWOOS) Tag Forbidden (OOS)
D1 Enable(AOF) Alarm Suppression (AOF)
Function block USINTSW can output one of the USINT input signals, according to the value of
parameter SW.
Application
Name Description Upload Properties
Reference
IN1 Input 1 - Input Pin -
Input
Pin IN2 Input 2 - Input Pin -
SW Switch - Input Pin -
Basic When
Parameters SW=ON,OUT=I
Output N2 Related
OUT - Output Pin
Pin When parameter: SW
SW=OFF,OUT=I
N1
496
Function Block Reference
Function block UNITSW can output one of the two UINT input signals according to the value of
parameter SW.
Application
Name Description Upload Properties
Reference
IN1 Input 1 - Input Pin -
Input Pin IN2 Input 2 - Input Pin -
SW Switch - Input Pin -
Basic When
Parameters SW=ON,OUT=I
Output N2 Related
OUT - Output Pin
Pin When parameter:SW
SW=OFF,OUT=I
N1
Function block UDINTSW can output one of the UDINT input signals according to the value of
parameter SW.
Application
Name Description Upload Properties
Reference
Basic IN1 Input 1 - Input Pin -
Parameters Input Pin IN2 Input 2 - Input Pin -
SW Switch - Input Pin -
497
Function Block Reference
Application
Name Description Upload Properties
Reference
When
Output OU SW=ON,OUT=IN2 Related
- Output Pin
Pin T When parameter:SW
SW=OFF,OUT=IN1
Function block SINTSW can output one of the two SINT input signals according to the value of
parameter SW.
Application
Name Description Upload Properties
Reference
IN1 Input 1 - Input Pin -
Input
Pin IN2 Input 2 - Input Pin -
Basic SW Switch - Input Pin -
Parameters When
Output SW=ON,OUT=IN2 Related
OUT - Output Pin
Pin When parameter:SW
SW=OFF,OUT=IN1
Function block INTSW can output one of the two INT input signals according to the value of
parameter SW.
Application
Name Description Upload Properties
Reference
Basic Input IN1 Input 1 - Input Pin -
498
Function Block Reference
Application
Name Description Upload Properties
Reference
Parameters Pin IN2 Input 2 - Input Pin -
SW Switch - Input Pin -
When
SW=ON,OUT
Output =IN2 Related
OUT - Output Pin
Pin When parameter:SW
SW=OFF,OU
T=IN1
Function block DINTSW can output one of the two DINT input signals according to the value of
parameter SW.
Application
Name Description Upload Properties
Reference
IN1 Input 1 - Input Pin -
Input
Pin IN2 Input 2 - Input Pin -
Basic SW Switch - Input Pin -
Parameters When
Output SW=ON,OUT=IN2 Related
OUT - Output Pin
Pin When parameter:SW
SW=OFF,OUT=IN1
Function block BSEL16 can select one channel input of 16 channels input to output via the serial
number selection parameter.
499
Function Block Reference
Application
Name Description Upload Properties
Reference
IN1 Input 1 - Input Pin -
IN2 Input 2 - Input Pin -
IN3 Input 3 - Input Pin -
IN4 Input 4 - Input Pin -
IN5 Input 5 - Input Pin -
IN6 Input 6 - Input Pin -
IN7 Input 7 - Input Pin -
IN8 Input 8 - Input Pin -
Input
Pin IN9 Input 9 - Input Pin -
IN10 Input 10 - Input Pin -
IN11 Input 11 - Input Pin -
Basic IN12 Input 12 - Input Pin -
Parameters
IN13 Input 13 - Input Pin -
IN14 Input 14 - Input Pin -
IN15 Input 15 - Input Pin -
IN16 Input 16 - Input Pin -
OPSEL Select NO.(0= Hold) - Input Pin Range is [0,16]
When OPSEL=0,output
remains the same with
the value of last round.
When OPSEL is not
Output
OUT equal to 0,chose an - Output Pin -
Pin
output according to the
value of OPSEL. For
instance, when
OPSEL=8,OUT=IN8
500
Function Block Reference
Function Block TWOSELX can select to output one of two input signals according to the setting
MODE.
Application
Name Description Upload Properties
Reference
Preset
Operation
DL Deviation TRUE -
Operation Parameter
Limit
Parameter
Selection Operation
MODE Note2 TRUE -
Mode Parameter
Range Configurati
SCH Maximum - on -
Limit Parameter
Basic
Parameters Range Configurati
SCL Minimum - on -
Configuration Limit Parameter
Parameter Output Configurati
EU Engineering - on -
Unit Parameter
Configurati
Decimal
DLEN - on -
Digits[0,5]
Parameter
Extended IN1 Input 1 - Input Pin Connect to AI
Parameters
IN2 Input 2 - Input Pin Connect to AI
Input 1
Quality
IN1ERR Direction - Input Pin Connect to AI.ERR
Input (OFF=input is
Pin good)
Input 2
Quality
IN2ERR Direction - Input Pin Connect to AI.ERR
(OFF=input is
good)
501
Function Block Reference
Application
Name Description Upload Properties
Reference
When
MODE=0,
OUT=(IN1+IN
2)/2
When
MODE=1,
OUT=minimu
m
When
MODE=2, Related
OUT OUT=maximu - Output Pin parameter:MODE
Note2
m Refer to
Output When
Pin MODE=3,
OUT=IN1
When
MODE=4,
OUT=IN2
When
MODE>4, set
manually;
Module Illegal
ERR AlarmNote1, - Output Pin -
Note2
502
Function Block Reference
1. When MODE=0, 1 or 2:
1) If both of two inputs are invalid, the output is incredible. Set error alarm ERR=ON, and
hold the output value of last period.
2) If one of two inputs is invalid, output the value of the other valid input.
If the deviation between the two inputs exceeds the setting deviation limit DL, set error
alarm ERR=ON, and hold the output value of last period.
If the deviation between the two inputs does not exceed DL, then select to output the
average, minimum, or maximum of the two input signals, according to the value of
MODE.
1. When MODE=3, output the input value of the specified transmitter, that is the value of
IN1. If IN1ERR=ON means that input 1 is invalid, set error alarm ERR=ON, and hold the
output value of last period.
2. When MODE=4, output the input value of the specified transmitter, that is the value of
IN2. If IN2ERR=ON means that input 2 is invalid, set error alarm ERR=ON, and hold the
output value of last period.
3. When MODE>4, set error alarm ERR=ON, and the output could be set manually.
503
Function Block Reference
Function Block
Panel Parameter Initial
Parameter Value Range Application Instruction
Name Value
Name
504
Function Block Reference
Function Block
Panel Parameter Initial
Parameter Value Range Application Instruction
Name Value
Name
If chosen, stands for setting
Average MODE √ - MODE= in function block
Properties MODE=0
If chosen, stands for setting
Input 1 MODE - - MODE= in function block
Properties MODE=3
If chosen, stands for setting
Input 2 MODE - - MODE= in function block
Properties MODE=4
Set
If chosen, stands for setting
Value
MODE - - MODE= in function block
Manuall
Properties MODE>4
y
If chosen, input 1 is valid, Read
Input1 ADPTIN1 √ ON/OFF only, modify in function block
Effecti Properties
ve
Input If chosen, input 2 is valid, read
Input2 ADPTIN2 √ ON/OFF only, modify in function block
Properties
Predefined Error
DL 100.000 0~(SCH - SCL) Refer to 5.1.1
Limit
5.14.3 Flag
Table 5-22 FLAG list
Flag Description
D0 Tag Forbidden (OOS)
D1 Error (ERR)
D2 Input 1 Quality is Error (IN1ERR)
D3 Input 2 Quality is Error (IN2ERR)
It can output the average of TE_0610 and TE_0611 for the technical field when required, and the
operator can choose the output method in the flow chart.
505
Function Block Reference
Its programming is shown below and can be achieved via TWOSELX. The host computer interface
can select and output 2 analog signals via function block tag. According to the 2 REAL type input
signals and by selecting the value of type parameter MODE, it can select and output the average,
maximum, minimum, input signal 1 and input signal 2 of 2 input signals. Many functions can be
performed by assigning values for MODE in TWOSELX.
MODE: 0
If one input error occurs to TWOSELX, TWOSELX will ignore the error input and take
another normal input to calculate the average. The loop error alarm (ERR) generates.
If two errors occur to TWOSELX, it will take the last normal value. The loop error alarm
(ERR) generates.
If the deviation of two input values is larger than the preset DL (set as DL=100 in default),
TWOSELX will take the last deviated value in normal range. The loop error alarm (ERR)
generates.
Notice:
1. The parameter MODE of TWOSEL can only be set in the program. The MODE pin of
TWOSELX can be selected and used. The related tag can be invoked via pin. Operator
can select at the monitoring interface.
506
Function Block Reference
If both inputs are invalid, set ERR=ON, output holds the value of last period.
If one input is invalid, the output is equal to the valid input value.
If both inputs are valid, when the deviation of two input signals exceeds the preset DL,
the output is incredible, set ERR=ON, output the value of last period; when the deviation
of two input signals does not exceed the preset DL, output the average, maximum and
minimum of the two input signals.
When MODE=3 or MODE=4, the output is equal to the input value of transducer, output
the value of IN1 or IN2. If the input is invalid, the output is incredible, set ERR=ON,
output holds the value of last period.
When MODE is equal to other values, set ERR=ON, output holds the value of last period.
(THRSELX)
Function Block THESELX can select to output one of three input signals according to the setting
MODE.
Application
Name Description Upload Properties
Reference
Basic Preset
Operation
Parameters DL Deviation TRUE -
Operation Parameter
Limit
Parameter
Selection Operation Related
MODE TRUE
Mode Parameter parameter:OUT
Configuration Range Configurati
Parameter SCH Maximum - on -
Limit Parameter
Range Configurati
SCL Minimum - on -
Limit Parameter
507
Function Block Reference
Application
Name Description Upload Properties
Reference
Output Configurati
EU Engineering - on -
Unit Parameter
Configurati
Decimal
DLEN - on -
Digits[0,5]
Parameter
Extended IN1 Input 1 - Input Pin Connect to AI
Parameters
IN2 Input 2 - Input Pin Connect to AI
IN3 Input 3 - Input Pin Connect to AI
Input 1
Quality
IN1ERR Direction - Input Pin Connect to AI.ERR
(OFF=input is
good)
Input
Pin Input 2
Quality
IN2ERR Direction - Input Pin Connect to AI.ERR
(OFF=input is
good)
Input 3
Quality
IN3ERR Direction - Input Pin Connect to AI.ERR
(OFF=input is
good)
When
MODE=0,
OUT=(IN1+IN
2+IN3)/2
When
MODE=1,
OUT=minimu
m
When
MODE=2,
OUT=maximu
m
When
OUT MODE=3, - Output Pin Refer toNote1
OUT=medium
When
Output MODE=4,
Pin OUT=IN1
When
MODE=5,
OUT=IN2
When
MODE=6,
OUT=IN3
When
MODE>6, set
manually
Related
Module Illegal
ERR Note1 - Output Pin IN1ERR/IN2ERR/IN3
Alarm
ERR/DL
Set to be “ON” when
FLAG Flag TRUE Output Pin function block is
downloaded first time
508
Function Block Reference
Application
Name Description Upload Properties
Reference
WHETHER
FUNCTION
BLOCK IS IN
Operation
SWOOS OOS TRUE Refer to 2.1.6
Parameter
STATE(ON
stands for
OOS State)
Operation Suppress
Parameter Module Alarm
WHEN
AOF=ON, IT Set to be “ON” when
Operation
AOF IS NOT TRUE function block is
Parameter
DISPLAYING downloaded first time
THE
REAL-TIME
ALARM.
ADPTIN1=ON
ADPTIN Monitoring
, then IN1is - -
1 Parameter
valid
ADPTIN2=ON
ADPTIN Monitoring
, then IN2is - -
2 Parameter
valid
ADPTIN3=ON
ADPTIN Monitoring
, then IN3is - -
3 Parameter
valid
Supervision DIFFERENC
Parameter E BETWEEN Monitoring
DEV12 - -
IN1 AND IN2 Parameter
OVERLIMIT
DIFFERENC
E BETWEEN Monitoring
DEV23 - -
IN2 AND IN3 Parameter
OVERLIMIT
DIFFERENC
E BETWEEN Monitoring
DEV13 - -
IN1 AND IN3 Parameter
OVERLIMIT
When MODE=0,1,2 or 3:
If all of the three input signals are invalid, meaning the output is incredible, set ERR=ON, and hold
the output value of last period.
If two of the three input signals are invalid, output the value of the value of the valid one.
If the deviation between the two valid input signals does not exceed the deviation limit
(DL), output the corresponding value according to the value of MODE: when MODE=0,
output the average; MODE=1, output the minimum; when MODE=2, output the
maximum; when MODE=3,if IN1 and IN3 are invalid, output the value of IN2, if IN2 is
509
Function Block Reference
If the deviation between the two valid input signals exceeds the deviation limit (DL),
meaning the output is incredible, set ERR=ON, and hold the output value of last period.
If all of the deviations between every two input signals exceed the deviation limit (DL),
set ERR=ON, and hold the output value of last period.
If one deviation between two input signals does not exceed the deviation limit (DL), while
the other two deviations between the third input signal and these two signals exceed the
deviation limit (DL), output the corresponding value according to the value of MODE:
when MODE=0, output the average of the two input signals whose deviation does not
exceed the deviation limit (DL); when MODE=1, output the minimum value of the two
input signals; when MODE=2, output the maximum value of the two input signals; when
MODE=3, output IN2 if IN1 and IN3 exceed, or output IN1 if IN2 exceeds.
If one deviation between two input signals exceeds the deviation limit (DL), while the
other two deviations between the third input signal and these two signals do not exceed
the deviation limit (DL), output the value of the third input signal, median value of the
three input signals.
If all of the deviations between every two input signals do not exceed the deviation limit,
output the average, minimum maximum or median value of the three input signals
according to the value of MODE.
When MODE=4, output the input value of the specified transmitter, value of IN1. If IN1ERR=ON,
meaning input 1 is invalid, set error alarm ERR=ON, and hold the output value of last period.
When MODE=5, output the input value of the specified transmitter, value of IN2. If IN2ERR=ON,
meaning input 2 is invalid, set ERR=ON, and hold the output value of last period.
When MODE=6, output the input value of the specified transmitter, value of IN3. If IN3ERR=ON,
meaning input 3 is invalid, set ERR=ON, and hold the output value of last period.
When MODE=7, set error alarm ERR=ON, and the output could be set manually.
When MODE=8, if one of the 3 inputs is bad, and the difference of the other two are not over set
limit, output the average value of the 2 good points. Otherwise, output as MODE=3.
510
Function Block Reference
Function Block
Panel Parameter Initial
Parameter Value Range Application Instruction
Name Value
Name
511
Function Block Reference
Function Block
Panel Parameter Initial
Parameter Value Range Application Instruction
Name Value
Name
If chosen, stands for setting
IN2 MODE - - MODE= in function block
Properties MODE=5
If chosen, stands for setting
IN3 MODE - - MODE= in function block
Properties MODE=6
Set
If chosen, stands for setting
Value
MODE - - MODE= in function block
Manu
Properties MODE>6
ally
If chosen, input 1 is valid, read
ADPTIN1=ON,
IN1 √ ON/OFF only, modify in function block
then IN1is valid
Properties
Effective If chosen, input 2 is valid, read
ADPTIN2=ON ,
Input IN2 √ ON/OFF only, modify in function block
then IN2is valid
Properties
If chosen, input 3 is valid, read
ADPTIN3=ON ,
IN3 √ ON/OFF only, modify in function block
then IN3is valid
Properties
0~(SCH -
Predefined Error DL 100.000 Refer to 5.1.1
SCL)
5.15.3 Flag
Table 5-26 FLAG list
Flag Description
D0 Tag Forbidden (OOS)
D1 Error (ERR)
D2 Input 1 Quality is Error (IN1ERR)
D3 Input 2 Quality is Error (IN2ERR)
D4 Input 3 Quality is Error (IN3ERR)
D5 Range High and Low Limit Reversal Alarm (REVSCL)
D6 Input 12 Deviation Overlimit (DEV12)
D7 Input 13 Deviation Overlimit (DEV13)
D8 Input 23 Deviation Overlimit (DEV23)
D9 Input 123 Deviation Overlimit (DEV123)
D10 Alarm Suppression (AOF)
5.15.4 Application Example
As shown in the figure below, output the medium value of signals TE_0610, TE_0611 and
TE_0612 for technical fields can be achieved. Operator can select output method in the flow chart.
512
Function Block Reference
TAG
_51
TAG Y TAG
_52 _54
SS
TAG
_53
Its programming is shown below and can be performed via THRSELX. The host computer
interface can select and output the 3 analog signals via function block tag. According to the 3
REAL type input signals and by selecting the value of type parameter MODE, the function block
can select and output the average, minimum, maximum, medium, input signal 1, input signal 2 and
input signal 3.
MODE: 3
513
Function Block Reference
If one input error occurs to THRSELX, it will be ignored, and THRSELX will figure out the
average of other two normal inputs.
If two input errors occur to THRSELX, they will be ignored, and THRSELX will take the
other normal input value.
If the deviation of the two input values is larger than the preset DL (set DL=100 in default),
THRSELX will ignore the two incredible inputs, and take the other normal input value.
If three errors occur to THRSELX, it will keep the value before error, and the loop error
alarm (ERR) generates.
If the deviations between each two input values of three are larger than the preset DL
(set DL=100 in default), THRSELX will keep the last value in normal deviation, and the
loop error alarm (ERR) generates.
Notice:
MODE can only be set in program in the THRSEL. The MODE pin of THRSELX can
be select and used. The related tag can be invoked by pin. Operator can select at
the monitoring interface.
Function Block THRSELH can select to output the available maximum value of three input signals,
according to their qualities, deviations and values.
Application
Name Description Upload Properties
Reference
514
Function Block Reference
Application
Name Description Upload Properties
Reference
Range Configurati
SCL Minimum - on -
Limit Parameter
Output Configurati
EU Engineering - on -
Unit Parameter
Configurati
Decimal
DLEN - on -
Digits[0,5]
Parameter
Extended IN1 Input 1 - Input Pin Connect to AI
Parameters
IN2 Input 2 - Input Pin Connect to AI
IN3 Input 3 - Input Pin Connect to AI
Input 1
Quality
Connect to
IN1ERR Direction - Input Pin Note1
AI.ERR
(OFF=input
is good)
Input
Pin Input 2
Quality
Connect to
IN2ERR Direction - Input Pin
AI.ERRNote1
(OFF=input
is good)
Input 3
Quality
Connect to
IN3ERR Direction - Input Pin Note1
AI.ERR
(OFF=input
is good)
Choose the
largest one
OUT of the three - Output Pin -
inputs as
Output output.
Pin
Module Related
ERR Illegal - Output Pin IN1ERR/IN2ERR/IN
AlarmNote1 3ERR/DL
FLAG Flag - Output Pin -
WHETHER
FUNCTION
BLOCK IS
Operation
SWOOS IN OOS TRUE Refer to 2.1.6
Parameter
STATE(ON
stands for
OOS State)
Operation Suppress
Parameter Module
Alarm
WHEN Set to be “ON” when
AOF=ON, IT Operation function block is
AOF TRUE
IS NOT Parameter downloaded first
DISPLAYIN time
G THE
REAL-TIME
ALARM.
Supervision ADPTIN1=
Monitoring
Parameter ADPTIN1 ON, then - -
Parameter
IN1is valid
515
Function Block Reference
Application
Name Description Upload Properties
Reference
ADPTIN2=
Monitoring
ADPTIN2 ON , then - -
Parameter
IN2is valid
ADPTIN3=
Monitoring
ADPTIN3 ON , then - -
Parameter
IN3is valid
DIFFEREN
CE
BETWEEN Monitoring
DEV12 - -
IN1 AND Parameter
IN2
OVERLIMIT
DIFFEREN
CE
BETWEEN Monitoring
DEV23 - -
IN2 AND Parameter
IN3
OVERLIMIT
DIFFEREN
CE
BETWEEN Monitoring
DEV13 - -
IN1 AND Parameter
IN3
OVERLIMIT
1. If all of the three input signals are invalid, meaning the output is incredible, set ERR=ON,
and hold the output value of last period.
2. If two of the three input signals are invalid, output the value of the valid one.
If the deviation between the two valid input signals does not exceed the deviation limit
(DL), output their maximum value
If the deviation between the two valid input signals exceeds the deviation limit (DL),
meaning the output is incredible, set ERR=ON, and hold the output value of last period.
If all of the deviations between every two input signals exceed the deviation limit (DL),
set ERR=ON, and hold the output value of last period.
If one deviation between two input signals does not exceed the deviation limit (DL), while
the other two deviations between the third input signal and these two signals exceed the
deviation limit (DL), output the maximum value of the two input signals.
516
Function Block Reference
If one deviation between two input signals exceeds the deviation limit (DL), while the
other two deviations between the third input signal and these two signals do not exceed
the deviation limit (DL), output the value of the third input signal, median value of the
three input signals.
If all of the deviations between every two input signals do not exceed the deviation limit,
output the average, minimum maximum or median value of the three input signals
according to the value of MODE.
Flag Instruction
D4 IN3 Quality is Bad
D3 IN2 Quality is Bad
D2 IN1 Quality IS Bad
D5 Alarm for Range High/Low Limit Reversal (REVSCL)
D1 Error
D0 Disabled
D6 IN12 Error Exceeds Limit
D7 IN13 Error Exceeds Limit
D8 IN23 Error Exceeds Limit
D9 IN123 Error Exceeds Limit
D10 Alarm Suppression (AOF)
Function Block THRSELM can select to output the available median value of three input signals,
according to their qualities, deviations and values.
517
Function Block Reference
Application
Name Description Upload Properties
Reference
Preset
Operation Operation
DL Deviation TRUE -
Parameter Parameter
Limit
Range Configurati
SCH Maximum - on -
Limit Parameter
518
Function Block Reference
Application
Name Description Upload Properties
Reference
Related
Module Illegal
ERR - Output Pin IN1ERR/IN2ERR/IN
Alarm
3ERR/DL
FLAG Flag - Output Pin -
WHETHER
FUNCTION
BLOCK IS IN
Operation
SWOOS OOS TRUE Refer to 2.1.6
Parameter
STATE(ON
stands for
OOS State)
Operation Suppress
Parameter Module Alarm
WHEN
Set to be “ON” when
AOF=ON, IT
Operation function block is
AOF IS NOT TRUE
Parameter downloaded first
DISPLAYING
time
THE
REAL-TIME
ALARM.
ADPTIN1=O
ADPTIN Monitoring
N, then IN1is - -
1 Parameter
valid
ADPTIN2=O
ADPTIN Monitoring
N , then IN2is - -
2 Parameter
valid
ADPTIN3=O
ADPTIN Monitoring
N , then IN3is - -
3 Parameter
valid
Supervision DIFFERENC
Parameter E BETWEEN Monitoring
DEV12 - -
IN1 AND IN2 Parameter
OVERLIMIT
DIFFERENC
E BETWEEN Monitoring
DEV23 - -
IN2 AND IN3 Parameter
OVERLIMIT
DIFFERENC
E BETWEEN Monitoring
DEV13 - -
IN1 AND IN3 Parameter
OVERLIMIT
1. If all of the three input signals are invalid, meaning the output is incredible, set ERR=ON,
and hold the output value of last period.
2. If two of the three input signals are invalid, output the value of the valid one.
If the deviation between the two valid input signals does not exceed the deviation limit
(DL), output IN2 if IN1 and IN3 are invalid, or output IN1 if IN2 is invalid.
If the deviation between the two valid input signals exceeds the deviation limit (DL),
519
Function Block Reference
meaning the output is incredible, set ERR=ON, and hold the output value of last period.
If all of the deviations between every two input signals exceed the deviation limit (DL),
set ERR=ON, and hold the output value of last period.
If one deviation between two input signals does not exceed the deviation limit (DL), while
the other two deviations between the third input signal and these two signals exceed the
deviation limit (DL), output IN2 if IN1 and IN3 exceed, or output IN1 if IN2 exceeds.
If one deviation between two input signals exceeds the deviation limit (DL), while the
other two deviations between the third input signal and these two signals do not exceed
the deviation limit (DL), output the value of the third input signal, median value of the
three input signals.
If all of the deviations between every two input signals do not exceed the deviation limit,
output the average, minimum maximum or median value of the three input signals
according to the value of MODE.
Flag Instruction
D4 IN3 Quality is Bad
D3 IN2 Quality is Bad
D2 IN1 Quality is Bad
D5 Alarm for Range High/Low Limit Reversal (REVSCL)
D1 Error
D0 Disabled
D6 IN12 Error Exceeds Limit
520
Function Block Reference
Flag Instruction
D7 IN13 Error Exceeds Limit
D8 IN23 Error Exceeds Limit
D9 IN123 Error Exceeds Limit
D10 Alarm Suppression (AOF)
Function Block THRSELL can select to output the available minimum value of three input signals,
according to their qualities, deviations and values.
Application
Name Description Upload Properties
Reference
Preset
Operation Operation
DL Deviation TRUE -
Parameter Parameter
Limit
Range Configurati
SCH Maximum - on -
Limit Parameter
521
Function Block Reference
Application
Name Description Upload Properties
Reference
Input 2
Quality
IN2ER
Direction - Input Pin Connect to AI.ERR
R
(OFF=input is
good)
Input 3
Quality
IN3ER
Direction - Input Pin Connect to AI.ERR
R
(OFF=input is
good)
Choose the
smallest of
OUT the three - Output Pin -
input as
Output output
Note1
Pin
Related
Module Illegal
ERR - Output Pin IN1ERR/IN2ERR/I
Alarm
N3ERR/DL
FLAG Flag - Output Pin -
WHETHER
FUNCTION
BLOCK IS IN
SWOO Operation
OOS TRUE Refer to 2.1.6
S Parameter
STATE(ON
stands for
OOS State)
Operation Suppress
Parameter Module Alarm
WHEN Set to be “ON”
AOF=ON, IT when function
Operation
AOF IS NOT TRUE block is
Parameter
DISPLAYING downloaded first
THE time
REAL-TIME
ALARM.
ADPTIN1=O
ADPTI Monitoring
N, then IN1is - -
N1 Parameter
valid
ADPTIN2=O
ADPTI Monitoring
N , then IN2is - -
N2 Parameter
valid
ADPTIN3=O
ADPTI Monitoring
N , then IN3is - -
N3 Parameter
valid
Supervision DIFFERENC
Parameter E BETWEEN Monitoring
DEV12 - -
IN1 AND IN2 Parameter
OVERLIMIT
DIFFERENC
E BETWEEN Monitoring
DEV23 - -
IN2 AND IN3 Parameter
OVERLIMIT
DIFFERENC
E BETWEEN Monitoring
DEV13 - -
IN1 AND IN3 Parameter
OVERLIMIT
522
Function Block Reference
1. If all of the three input signals are invalid, meaning the output is incredible, set ERR=ON,
and hold the output value of last period.
2. If two of the three input signals are invalid, output the value of the valid one.
If the deviation between the two valid input signals does not exceed the deviation limit
(DL), output their minimum value
If the deviation between the two valid input signals exceeds the deviation limit (DL),
meaning the output is incredible, set ERR=ON, and keep the output value of last period.
If all of the deviations between every two input signals exceed the deviation limit (DL),
set ERR=ON, and keep the output value of last period.
If other deviation between two input signals does not exceed the deviation limit (DL),
while the other two deviations between the third input signal and these two signals
exceed the deviation limit (DL), output the minimum value of the two input signals.
If the deviation between two input signals exceeds the deviation limit (DL), while the
other two deviations between the third input signal and these two signals do not exceed
the deviation limit (DL), output the value of the third input signal, median value of the
three input signals.
If all of the deviations between every two input signals do not exceed the deviation limit,
output minimum value of the three input signals.
523
Function Block Reference
5.18.2 Flag
Table 5-33 Flag
Flag Instruction
D4 IN3 Quality is Bad
D3 IN2 Quality is Bad
D2 IN1 Quality is Bad
D5 Alarm for Range High/Low Limit Reversal (REVSCL)
D1 Error
D0 Disabled
D6 IN12 Error Exceeds Limit
D7 IN13 Error Exceeds Limit
D8 IN23 Error Exceeds Limit
D9 IN123 Error Exceeds Limit
D10 Alarm Suppression (AOF)
524
Function Block Reference
Function block ADD implements the addition and correct of the two REAL inputs. Parameter
instruction refers to table below.
Application
Name Description Upload Properties
Reference
IN1 Input 1 of ADD - Input Pin -
Input Pin
IN2 Input 2 of ADD - Input Pin -
Output OUT ( IN1 * K1 C1) ( IN 2 * K 2 C
OUT - Output Pin -
Pin
Operation
Basic K1 Offset Coefficient of Input 1 TRUE -
Parameter
Parameters
Operation
Operation K2 Offset Coefficient of Input 2 TRUE -
Parameter
Paramete
r Operation
C1 Offset of Input 1 TRUE -
Parameter
Operation
C2 Offset of Input 2 TRUE -
Parameter
Function block ADD8 implements the addition of the eight REAL inputs. Parameter instructions
please refer to table below.
525
Function Block Reference
Function block SUB implements the correct and subtraction of the two REAL inputs. Parameter
instructions please refer to table below.
Application
Name Description Upload Properties
Reference
Basic IN1 Input 1 of ADD - Input Pin -
Parameters Input Pin
IN2 Input 2 of ADD - Input Pin -
OU OUT=(IN1*K1+C1)-
Output Pin - Output Pin -
T (IN2*K2+C2)
Operation Offset Coefficient of Operation
K1 TRUE -
Parameter Input 1 Parameter
526
Function Block Reference
Application
Name Description Upload Properties
Reference
Offset Coefficient of Operation
K2 TRUE -
Input 2 Parameter
Operation
C1 Offset of Input 1 TRUE -
Parameter
Operation
C2 Offset of Input 2 TRUE -
Parameter
6.3.2 Application Example
As shown in the figure below, the D-values between former and later temperature, pressure,
flowrate and water level of tank and pipe need to be calculated often. The system in the figure
below can achieve the calculation and display of the D-value of two pressure signals (signal
difference signal) and enable the alarm of pressure difference signal.
Apply SUB for D-value calculation, and apply PVIEX for data display to achieve fault process and
alarm. The display for D-values of host computer interface can be achieved via function block tag.
The instruction of function block and examples are shown below.
527
Function Block Reference
INSCH: keeps the same as the range and unit of I/O signal
INSCL: keeps the same as the range and unit of I/O signal
INEU: keeps the same as the range and unit of I/O signal
When input error occurs to either of the two input signal, and the input error status “ERR”
will be sent to PVIEX, and the loop error alarm will be generated. The D-value is the
same with the value before error occurred.
The three levels H/L limits alarms of analog input tag can be set when required. The
general definitions for three levels alarms: H/L third-level alarms, disabled; HH/LL alarms,
interlock action alarm; H/L alarm, general alarms. The two levels alarms mentioned
below refer to the HH/LL alarms and H/L alarm.
Other alarms, such as change rate alarm and extended range alarm, etc., are often not
used and set as disabled in default.
Notice:
The input process variables should be same (such as relative temperature and
absolute temperature, relative pressure and absolute pressure).
Function block MUL implements the correct and multiplication of the two REAL inputs. Parameter
instructions please refer to table below.
528
Function Block Reference
Application
Name Description Upload Properties
Reference
IN1 Input 1 of ADD - Input Pin -
Input Pin
IN2 Input 2 of ADD - Input Pin -
OUT=(IN1*K1+C1)
Output Pin OUT - Output Pin -
*(IN2*K2+C2)
Offset Coefficient Operation
Basic K1 TRUE -
of Input 1 Parameter
Parameters
Offset Coefficient Operation
K2 TRUE -
Operation of Input 2 Parameter
Parameter Operation
C1 Offset of Input 1 TRUE -
Parameter
Operation
C2 Offset of Input 2 TRUE -
Parameter
Function block DIV implements the correct and division of the two REAL inputs. Parameter
instructions please refer to table below.
Application
Name Description Upload Properties
Reference
IN1 Input 1 of ADD - Input Pin -
Input Pin
IN2 Input 2 of ADD - Input Pin -
OUT=(IN1*K1+
IN2*K2+C2=0
OUT C1)/(IN2*K2+C - Output Pin
OUT=0
Output Pin 2)
IN2*K2+C2=0
ERR Set Error Alarm - Output Pin
ERR=ON
Basic Offset
Operation
Parameters K1 Coefficient of TRUE -
Parameter
Input 1
Offset
Operation
Operation K2 Coefficient of TRUE -
Parameter
Parameter Input 2
Offset of Input Operation
C1 TRUE -
1 Parameter
Offset of Input Operation
C2 TRUE -
2 Parameter
529
Function Block Reference
When IN 2 * K 2 C 2 0
ERR OFF
When IN 2 * K 2 C 2 0
OUT 0.0
ERR ON
Function block SQRT works out the square root of the REAL input and has the function of
small-signal cutting. Parameter instructions refer to table below.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
When IN<|DB|, OUT=0
Output Pin OUT When IN≥|DB|, - Output Pin -
OUT IN * K C
Basic Operation
Parameters K Offset Coefficient TRUE -
Parameter
Operation Operation
Parameter C Offset Of Input TRUE -
Parameter
Small-Signal Cutting no Operation
DB TRUE -
smaller than(0.0) Parameter
Function block ABS works out the absolute value of the REAL input. Parameter instructions refer
to table below.
530
Function Block Reference
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
OUT IN * K C
Output Pin OUT - Output Pin -
Basic
Parameters Operation
K Offset Coefficient TRUE -
Operation Parameter
Parameter Operation
C Offset Of Input TRUE -
Parameter
Function block works out the exponent of the REAL input. Parameter instructions refer to table
below.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
Function block POW works out the power of the two REAL inputs. Parameter instructions refer to
table below.
531
Function Block Reference
Application
Name Description Upload Properties
Reference
Input IN1 Input 1 of ADD - Input Pin -
Pin IN2 Input 2 of ADD - Input Pin -
When IN1=0.0 and IN2<0.0,
OUT = 0 and ERR = ON
When IN1<0.0,IN2is not
Output OUT integer, OUT = 0,ERR = ON - Output Pin -
Basic Pin Otherwise,
Parameters OUT K * IN1IN2 C ,
ERR = OFF
ERR Set Error Alarm - Output Pin -
Operation
K Offset Coefficient TRUE -
Operation Parameter
Parameter Operation
C Offset Of Input TRUE -
Parameter
Function block LN works out the natural logarithm of the REAL input. Parameter instructions refer
to table below.
Application
Name Description Upload Properties
Reference
Input
IN Input - Input Pin -
Pin
When IN≤0.0, OUT = 0,ERR
= ON Otherwise,
Output OUT - Output Pin -
OUT K * LN ( IN ) C
Basic Pin
,ERR = OFF
Parameters
ERR Set Error Alarm - Output Pin -
Operation
K Offset Coefficient TRUE -
Operation Parameter
Parameter Operation
C Offset Of Input TRUE -
Parameter
Function block LOG works out the logarithm of the REAL input. Parameter instructions refer to
table below.
532
Function Block Reference
Application
Name Description Upload Properties
Reference
Input
IN Input - Input Pin -
Pin
When IN≤0.0, OUT = 0,ERR
= ON
Output OUT Otherwise, - Output Pin -
Basic Pin OUT K * LOG( IN ) C ,
Parameters ERR = OFF
ERR Set Error Alarm - Output Pin -
Operation
K Offset Coefficient TRUE -
Operation Parameter
Parameter Operation
C Offset Of Input TRUE -
Parameter
Function block MOD works out the modulus of the REAL inputs. Parameter instructions refer to
table below.
Application
Name Description Upload Properties
Reference
Basic Input IN1 Input 1 of ADD - Input Pin -
Paramet Pin IN2 Input 2 of ADD - Input Pin -
ers
Result
OUT ( K 1 * IN1 C1) MOD ( K 2 * IN 2 C Output
OUT When ( K 2 * IN2 C 2) 0 , Set Error - -
Output Pin
Pin Alarm ERR ON ,output 0
Output
ERR Set Error Alarm - -
Pin
Operati Operation
on K1 Offset Coefficient of Input 1 TRUE Paramete -
Param r
eter Operation
K2 Offset Coefficient of Input 2 TRUE Paramete -
r
533
Function Block Reference
Application
Name Description Upload Properties
Reference
Operation
C1 Offset of Input 1 TRUE Paramete -
r
Operation
C2 Offset of Input 2 TRUE Paramete -
r
Function block POLY works out the six polynomials of the REAL input. Parameter instructions refer
to table below.
Application
Name Description Upload Properties
Reference
Input
IN Input - Input Pin -
Pin
Result
Output OU OUT C 0 C1 * IN C 2 * IN 2 C 3 - Output Pin -
Pin T
C 4 * IN 4 C 5 * IN 5 C 6 * IN 6
Operation
C0 Polynomial Coefficient TRUE -
Parameter
Operation
C1 Polynomial Coefficient TRUE -
Basic Parameter
Parameters Operation
C2 Polynomial Coefficient TRUE -
Parameter
Operation Operation
Parameter C3 Polynomial Coefficient TRUE -
Parameter
Operation
C4 Polynomial Coefficient TRUE -
Parameter
Operation
C5 Polynomial Coefficient TRUE -
Parameter
Operation
C6 Polynomial Coefficient TRUE -
Parameter
Function Block DINT2REAL coverts the type of the DINT input to REAL. Parameter instructions
refer to table below.
534
Function Block Reference
Function block REAL2DINT converts the type of the REAL input to DINT. Parameter instructions
refer to table below.
Application
Name Description Upload Properties
Reference
Polynomial
Input Pin IN Input - Input Pin
Basic Coefficient:REAL
Parameters Polynomial
Output Pin OUT ResultOUT=IN - Output Pin
Coefficient:DINT
Application
Name Description Upload Properties
Reference
Basic Input Pin Low 4-byte Integer
INL - Input Pin -
Parameters Original Code Input
535
Function Block Reference
Application
Name Description Upload Properties
Reference
High 4-byte Integer
INH - Input Pin -
Original Code Input
Output keeps the
Single Precision Float value of last period
OUT - Output Pin
Output when float error
happens.
Errors of float:
error of parsing
Output integer data to
Pin dual-precision
Float Error Indication
float. Overflow
ERR (OFF: No Error; ON: - Output Pin
when dual
Float Error)
precision
converting to
single precision
float.
Function block INT2REAL converts the type of the INT input to REAL. Parameter instructions refer
to table below.
Application
Name Description Upload Properties
Reference
Polynomial
Input Pin IN Input - Input Pin
Basic Coefficient:INT
Parameters Polynomial
Output Pin OUT ResultOUT=IN - Output Pin
Coefficient:REAL
Function block REAL2INT converts the type of the REAL input to INT. Parameter instructions refer
to table below.
536
Function Block Reference
Application
Name Description Upload Properties
Reference
Polynomial
Input Pin IN Input - Input Pin
Basic Coefficient:REAL
Parameters Result Polynomial
Output Pin OUT - Output Pin
OUT=IN Coefficient:INT
Function block REAL2LREAL converts the type of the REAL input to LREAL. Parameter
instructions refer to table below.
Application
Name Description Upload Properties
Reference
Polynomial
Input Pin IN Input - Input Pin
Basic Coefficient:REAL
Parameters Result Polynomial
Output Pin OUT - Output Pin
OUT=IN Coefficient:LREAL
Function block LREAL2REAL converts the type of the LREAL input to REAL. Parameter
instructions refer to table below.
Application
Name Description Upload Properties
Reference
537
Function Block Reference
Application
Name Description Upload Properties
Reference
Input
IN Input - Input Pin -
Basic Pin
Parameters Output Result
OUT - Output Pin -
Pin OUT=IN
Function block SINT2INT converts the type of the SINT input to INT. Parameter instructions refer
to table below.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
Basic
Parameters Output Result
OUT - Output Pin -
Pin OUT=IN
Function block INT2SINT converts the type of the INT input to SINT. Parameter instructions refer
to table below.
Application
Name Description Upload Properties
Reference
Input
IN Input - Input Pin -
Basic Pin
Parameters Output Result
OUT - Output Pin -
Pin OUT=IN
Function block UDINT2DINT converts the type of the UDINT input to DINT. Parameter instructions
538
Function Block Reference
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
Basic
Parameters Output Result
OUT - Output Pin -
Pin OUT=IN
Function block DINT2UDINT converts the type of the DINT input to UDINT. Parameter instructions
refer to table below.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
Basic
Parameters Output Result
OUT - Output Pin -
Pin OUT=IN
Function block UNIT2INT converts the type of the UNIT input to INT. Parameter instructions refer
to table below.
Application
Name Description Upload Properties
Reference
539
Function Block Reference
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
Basic Calculate the
Parameters Output Pin OUT output value - Output Pin -
OUT=IN
Function block INT2UNIT converts the type of the INT input to UNIT. Parameter instructions refer
to table below.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
Basic
Parameters Output Result
OUT - Output Pin -
Pin OUT=IN
Function block USINT2SINT converts the type of the UISINT to SINT. Parameter instructions refer
to table below.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
Basic
Parameters Output Result
OUT - Output Pin -
Pin OUT=IN
Function block SINT2USINT converts the type of the SINT input to USINT. Parameter instructions
refer to table below.
540
Function Block Reference
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
Basic
Parameters Output Result
OUT - Output Pin -
Pin OUT=IN
Function block INT2DINT converts the type of the INT input to DINT. Parameter instructions refer
to table below.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
Basic
Parameters Output Result
OUT - Output Pin -
Pin OUT=IN
Function block DINT2INT converts the type of the DINT input to INT. Parameter instructions refer
to table below.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
Basic
Parameters Output Result
OUT - Output Pin -
Pin OUT=IN
541
Function Block Reference
Function block MOV_BOOL assigns a BOOL output for the BOOL input. Parameter instructions
refer to table below.
Application
Name Description Upload Properties
Reference
Input
IN Input - Input Pin -
Pin
Output When HOLD=OFF, OUT IN ;
Basic OUT - Output Pin -
Pin When HOLD=ON, Hold the Output
Parameters
Operati
on HOL Operation
HOLD=ON, hold the Output - -
Param D Parameter
eter
Function block MOV_SINT assigns a SINT output for the SINT input. Parameter instructions refer
to table below.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
When HOLD=OFF,
OUT=IN;When Output
Basic Output Pin OUT - -
HOLD=ON, Hold the Pin
Parameters Output
Operation
Operation HOL HOLD=ON, hold the
- Paramete -
Parameter D Output
r
542
Function Block Reference
Function block MOV_INT assigns an INT output for the INT input. Parameter instructions refer to
table below.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
When HOLD=OFF,
OUT=IN; When Output
Basic Output Pin OUT - -
HOLD=ON, Hold the Pin
Parameters Output
Operation
Operation When HOLD=ON, Hold
HOLD - Paramete -
Parameter the Output
r
Function block MOV_DINT assigns a DINT output for the DINT input. Parameter instructions refer
to table below.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
When HOLD=OFF,
OUT=IN; When Output
Basic Output Pin OUT - -
HOLD=ON, Hold the Pin
Parameters Output
Operation
Operation When HOLD=ON, Hold
HOLD - Paramete -
Parameter the Output
r
543
Function Block Reference
Function block MOV_REAL assigns a REAL output for the REAL input. Parameter instructions
refer to table below.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
When HOLD=OFF,
Basic OUT=IN; When
Output Pin OUT - Output Pin -
Parameters HOLD=ON, Hold the
Output
Operation When HOLD=ON, Hold Operation
HOLD - -
Parameter the Output Parameter
Function block MOV_LREAL assigns a LREAL output for the LREAL input. Parameter instructions
refer to table below.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
When
HOLD=OFF,
Basic Output Pin OUT OUT=IN; When - Output Pin -
Parameters HOLD=ON, Hold
the Output
Operation HOL When HOLD=ON, Operation
- -
Parameter D Hold the Output Parameter
544
Function Block Reference
Function block MOV_UNIT assigns an UNIT output for the UNIT input. Parameter instructions
refer to table below.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
When HOLD=OFF,
Basic OUT=IN; When
Output Pin OUT - Output Pin -
Parameters HOLD=ON, Hold
the Output
Operation When HOLD=ON, Operation
HOLD - -
Parameter Hold the Output Parameter
Function block MOV_UDINT assigns an UDINT output for the UDINT input. Parameter instructions
refer to table below.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
When
HOLD=OFF,
Basic Output Pin OUT OUT=IN; When - Output Pin -
Parameters HOLD=ON, Hold
the Output
Operation When HOLD=ON, Operation
HOLD - -
Parameter Hold the Output Parameter
545
Function Block Reference
Function block MOV_USINT assigns an USINT output for the USINT input. Parameter instructions
refer to table below.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
When HOLD=OFF,
Basic OUT=IN; When
Output Pin OUT - Output Pin -
Parameters HOLD=ON, Hold
the Output
Operation When HOLD=ON, Operation
HOLD - -
Parameter Hold the Output Parameter
Function block MADD implements the addition of two 3×3 matrixes. Parameter instructions refer to
table below.
546
Function Block Reference
Application
Name Description Upload Properties
Reference
Parameter of
Basic Input Row1 and
Parameters Pin A11 - Input Pin -
Column1 in Matrix
A
Parameter of
Row1 and
A12 - Input Pin -
Column2 in Matrix
A
Parameter of
Row1 and
A13 - Input Pin -
Column3 in Matrix
A
Parameter of
Row2 and
A21 - Input Pin -
Column1 in Matrix
A
Parameter of
Row2 and
A22 - Input Pin -
Column2 in Matrix
A
Parameter of
Row2 and
A23 - Input Pin -
Column3 in Matrix
A
Parameter of
Row3 and
A31 - Input Pin -
Column1 in Matrix
A
Parameter of
Row3 and
A32 - Input Pin -
Column2 in Matrix
A
Parameter of
Row3 and
A33 - Input Pin -
Column3 in Matrix
A
Parameter of
Row1 and
B11 - Input Pin -
Column1 in Matrix
B
Parameter of
Row1 and
B12 - Input Pin -
Column2 in Matrix
B
Parameter of
Row1 and
B13 - Input Pin -
Column3 in Matrix
B
Parameter of
Row2 and
B21 - Input Pin -
Column1 in Matrix
B
547
Function Block Reference
Application
Name Description Upload Properties
Reference
Parameter of
Row2 and
B22 - Input Pin -
Column2 in Matrix
B
Parameter of
Row2 and
B23 - Input Pin -
Column3 in Matrix
B
Parameter of Row
B31 and Column1 in - InpuPin -
Matrix B
Parameter of
Row3 and
B32 - Input Pin -
Column2 in Matrix
B
Parameter of
Row3 and
B33 - Input Pin -
Column3 in Matrix
B
Parameter of
AB1 Row1 and Output
- -
1 Column1 in Matrix Parameter
AB
Parameter of
AB1 Row1 and Output
- -
2 Column2 in Matrix Parameter
AB
Parameter of
AB1 Row1 and Output
- -
3 Column3 in Matrix Parameter
AB
Parameter of
AB2 Row2 and Output
- -
1 Column1 in Matrix Parameter
AB
Parameter of
Extended Output AB2 Row2 and Output
Parameters Pin - -
2 Column2 in Matrix Parameter
AB
Parameter of
AB2 Row2 and Output
- -
3 Column3 in Matrix Parameter
AB
Parameter of
AB3 Row3 and Output
- -
1 Column1 in Matrix Parameter
AB
Parameter of
AB3 Row3 and Output
- -
2 Column2 in Matrix Parameter
AB
Parameter of
AB3 Row3 and Output
- -
3 Column3 in Matrix Parameter
AB
548
Function Block Reference
A11 A12 A13 B11 B12 B13 A11 B11 A12 B12 A13 B13
A A22 A23 + B21 B22 B23 = A21 B21 A22 B22 A23 B23
21
A31 A32 A33 B31 B32 B33 A31 B31 A32 B32 A33 B33
Function block MMUL implements the multiplication of two 3×3 matrixes. Parameter instructions
refer to table below.
Application
Name Description Upload Properties
Reference
549
Function Block Reference
Application
Name Description Upload Properties
Reference
Parameter of Row2
A22 and Column2 in - Input Pin -
Matrix A
Parameter of Row2
A23 and Column3 in - Input Pin -
Matrix A
Parameter of Row3
A31 and Column1 in - Input Pin -
Matrix A
Parameter of Row3
A32 and Column2 in - Input Pin -
Matrix A
Parameter of Row3
A33 and Column3 in - Input Pin -
Matrix A
Parameter of Row1
B11 and Column1 in - Input Pin -
Matrix B
Parameter of Row1
B12 and Column2 in - Input Pin -
Matrix B
Parameter of Row1
B13 and Column3 in - Input Pin -
Matrix B
Parameter of Row2
B21 and Column1 in - Input Pin -
Matrix B
Parameter of Row2
B22 and Column2 in - Input Pin -
Matrix B
Parameter of Row2
B23 and Column3 in - Input Pin -
Matrix B
Parameter of Row3
B31 and Column1 in - Input Pin -
Matrix B
Parameter of Row3
B32 and Column2 in - Input Pin -
Matrix B
Parameter of Row3
B33 and Column3 in - Input Pin -
Matrix B
Extended Outp Parameter of Row1
Output
Parameters ut AB11 and Column1 in - -
Parameter
Pin Matrix AB
Parameter of Row1
Output
AB12 and Column2 in - -
Parameter
Matrix AB
Parameter of Row1
Output
AB13 and Column3 in - -
Parameter
Matrix AB
Parameter of Row2
Output
AB21 and Column1 in - -
Parameter
Matrix AB
550
Function Block Reference
Application
Name Description Upload Properties
Reference
Parameter of Row2
Output
AB22 and Column2 in - -
Parameter
Matrix AB
Parameter of Row2
Output
AB23 and Column3 in - -
Parameter
Matrix AB
Parameter of Row3
Output
AB31 and Column1 in - -
Parameter
Matrix AB
Parameter of Row3
Output
AB32 and Column2 in - -
Parameter
Matrix AB
Parameter of Row3
Output
AB33 and Column3 in - -
Parameter
Matrix AB
A11 B11 A12 B21 A13 B31 A11 B12 A12 B22 A13 B32 A11 B13 A12 B23 A13 B33
= A21 B11 A22 B 21 A23 B31
A21 B12 A22 B 22 A23 B32 A21 B13 A22 B 23 A23 B33
A31 B11 A32 B 21 A33 B31 A31 B12 A32 B 22 A33 B32 A31 B13 A32 B23 A33 B33
Function block ADD_UNIT implements the addition of the two UNIT inputs. Parameter instructions
refer to table below.
Application
Name Description Upload Properties
Reference
Basic IN1 Input 1 of ADD - Input Pin -
Parameters Input Pin
IN2 Input 2 of ADD - Input Pin -
OUT = (IN1 +
Output Pin OUT - Output Pin -
C1) +(IN2 + C2)
551
Function Block Reference
Application
Name Description Upload Properties
Reference
Operation
C1 Offset of Input 1 TRUE -
Operation Parameter
Parameter Operation
C2 Offset of Input 2 TRUE -
Parameter
Function block ADD_INT implements the addition of the two INT inputs. Parameter instructions
refer to table below
Application
Name Description Upload Properties
Reference
IN1 Input 1 of ADD - Input Pin -
Input Pin
IN2 Input 2 of ADD - Input Pin -
OUT = (IN1 + C1)
Basic Output Pin OUT - Output Pin -
+(IN2 + C2)
Parameters
Operation
C1 Offset of Input 1 TRUE -
Operation Parameter
Parameter Operation
C2 Offset of Input 2 TRUE -
Parameter
Function block SUB_UNIT implements the subtraction of the two UNIT inputs. Parameter
instructions refer to table below.
Application
Name Description Upload Properties
Reference
Basic IN1 Input 1 of ADD - Input Pin -
Parameters Input Pin
IN2 Input 2 of ADD - Input Pin -
552
Function Block Reference
Application
Name Description Upload Properties
Reference
OUT = (IN1 + C1) -
Output Pin OUT - Output Pin -
(IN2 + C2)
Operation
C1 Offset of Input 1 TRUE -
Operation Parameter
Parameter Operation
C2 Offset of Input 2 TRUE -
Parameter
Function block SUB_INT implements the subtraction of the two INT inputs. Parameter instructions
refer to table below.
Application
Name Description Upload Properties
Reference
IN1 Input 1 of ADD - Input Pin -
Input Pin
IN2 Input 2 of ADD - Input Pin -
OUT = (IN1 + C1)
Basic Output Pin OUT - Output Pin -
-(IN2 + C2)
Parameters
Operation
C1 Offset of Input 1 TRUE -
Operation Parameter
Parameter Operation
C2 Offset of Input 2 TRUE -
Parameter
553
Function Block Reference
Function block AND implements logical AND operation of two BOOL inputs.
This function block is a simple function block, and its running time is 1μs.
Application
Name Description Upload Properties
Reference
IN1 Input 1 - Input Pin -
Input Pin
Basic IN2 Input 2 - Input Pin -
Parameters
Output OUT = IN1
OUT - Output Pin -
Pin AND IN2
7.1.2 Example
554
Function Block Reference
This function block is a simple function block, its running time is 1μs.
Application
Name Description Upload Properties
Reference
Input IN1 Input 1 - Input Pin -
Basic Pin IN2 Input 2 - Input Pin -
Parameters
Output OUT = IN1 OR
OUT - Output Pin -
Pin IN2
Refer to 6.3.2.
Function block NOT implements logical NOT operation of two BOOL inputs.
This function block is a simple function block, and its running time is 1μs.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
Basic
Parameters Output OUT =
OUT - Output Pin -
Pin NOT( IN)
555
Function Block Reference
IN OFF ON
OUT ON OFF
7.3.2 Application Example
Function Block XOR implements logical XOR operation of two BOOL inputs.
This function block is a simple function block, and its running time is 1μs.
Application
Name Description Upload Properties
Reference
IN1 Input 1 - Input Pin -
Input Pin
Basic IN2 Input 2 - Input Pin -
Parameters
Output OUT = IN1
OUT - Output Pin -
Pin XOR IN2
Function block AND8 implements logical AND operation of eight BOOL inputs. Parameter
instructions refer to Table 7-9.
This function block is a simple function block, and its running time is 2μs.
556
Function Block Reference
Application
Name Description Upload Properties
Reference
IN1 Input 1 - Input Pin -
IN2 Input 2 - Input Pin -
IN3 Input 3 - Input Pin -
Input IN4 Input 4 - Input Pin -
Pin IN5 Input 5 - Input Pin -
Basic
Parameters IN6 Input 6 - Input Pin -
IN7 Input 7 - Input Pin -
IN8 Input 8 - Input Pin -
Output OUT = IN1 AND
Output IN2 AND IN3 AND IN4
OUT - Output Pin -
Pin AND IN5 AND IN6 AND
IN7 AND IN8
Function block OR8 implements logical OR operation of eight BOOL inputs. Parameter
instructions refer to Table 7-10.
This function block is a simple function block, and its running time is 2μs.
Propertie Applicatio
Name Description Upload n
s
Reference
557
Function Block Reference
Propertie Applicatio
Name Description Upload n
s
Reference
IN1 Input 1 - Input Pin -
IN2 Input 2 - Input Pin -
IN3 Input 3 - Input Pin -
Input IN4 Input 4 - Input Pin -
Pin IN5 Input 5 - Input Pin -
Basic IN6 Input 6 - Input Pin -
Parameters
IN7 Input 7 - Input Pin -
IN8 Input 8 - Input Pin -
Output OUT =
IN1 OR IN2 OR
Output Output
OUT IN3 OR IN4 OR - -
Pin Pin
IN5 OR IN6 OR
IN7 OR IN8
Function Block WIPEOUT implements logical AND of the first BOOL input and NOT of the second
BOOL input.
This function block is a simple function block, and its running time is 1μs.
Application
Name Description Upload Properties
Reference
Input IN1 Input 1 - Input Pin -
Basic Pin IN2 Input 2 - Input Pin -
Parameters
Output Output OUT=IN1 AND Output
OUT - -
Pin (NOT( IN2)) Pin
558
Function Block Reference
Function block PVDI implements rising edge count of the BOOL input. Number of rising edges
counted can be displayed on the faceplate.
This function block is a complex function block, and its running time is 30μs.
Application
Name Description Upload Properties
Reference
Basic IN Input - Input Pin -
Parameters
Program Set Rising PRST=ON , reset
PRST - Input Pin
Edge Counter the AV result.
Reset Source
Selection
When RST_OPT=ON,
carry out program reset
control, panel follows
RST_OP the result of program
- Input Pin -
T control;
When RST_OPT=OFF,
carry out panel reset
control, program
follows the result of
panel control
Input
Pin Jump Accumulate
PHOLD - Input Pin -
Program Suspension
Cumulative
Suspension Control
Source Selection
When
HOLD_OPT=ON, carry
out program pause
control, panel follows
HOLD_
the result of program - Input Pin -
OPT
control.
When
HOLD_OPT=OFF,
carry out panel pause
control, program
follows the result of
panel control.
Operatio Panel Set Rising Edge Operation When RST=ON,
RST -
n Counter Parameter reset AV
Paramet Jump Accumulate Operation
er HOLD - -
Panel Suspension Parameter
559
Function Block Reference
Application
Name Description Upload Properties
Reference
Rising Edge Jump
Accumulation
When SWOOS=OFF, if
panel preset
Display the result
HOLD=OFF or Operation
AV TRUE of rising edge jump
program preset Parameter
accumulation
PHOLD=OFF, count
the times of IN switch
from OFF to ON, result
display as AV.
Alarm Suppress Module Operation
AOF TRUE -
Enable Alarm Parameter
and Alarm
ENALM Alarm Enable TRUE -
Suppres Parameter
s
FLAG Flag - Output Pin -
PROHIBITED Set to be ON when
OOS FUNCTION Operation function block is
SWOOS TRUE
Settings BLOCK(ON stands for Parameter downloaded first
mode OOS)Note1 time
7.8.2 Parameter of Function Block Panel
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Paramete Value
r Name
560
Function Block Reference
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Paramete Value
r Name
For the selected item in the
RJump ENALM - - program “ Positive Jump
Alarm(RJUMP)”
For the selected item in the
FJump ENALM - - program “ Negative Jump
Alarm(FJUMP)”
Accum Count the jump from OF to
AV 0 Natural Number
Value ON
Rising Edge Jump
Accumulation Start
PHOLD/H
Start - ON/OFF Corresponding function
OLD
Rising block parameter set to be
Edge OFF
Counter Corresponding function
PHOLD/H
Hold - ON/OFF block parameter set to be
OLD
ON
Corresponding function
PHOLD/H
Reset - ON/OFF block parameter set to be
OLD
OFF
7.8.3 Flag
Table 7-15 Flag list
Monitoring
Flag Description
Evaluation
Permission
D0 Tag Prohibition (OOS)
(SWOOS)
D1 Prohibited ON Status Alarm (ON)
D2 Prohibited OFF Status Alarm (OFF)
D3 Prohibited Positive Jump Alarm (RJUMP)
D4 Prohibited Negative Jump Alarm (FJUMP)
Permission
D5 Alarm Suppression (AOF)
(AOF)
Function block RS is a reset-preferred and the most basic time-sequence logical device.
Whenever it is, its output is decided not only by the this-time BOOL input, but also by the previous
status. It is a bitable trigger. Triggered by the input signal, RS switches its output from one stable
status to another stable status, and holds on until the next trigger signal. It has a function of
memory.
This function block is a simple function block, and its running time is 3μs.
561
Function Block Reference
Descriptio Application
Name Upload Properties
n Reference
Reset
Input R - Input Pin -
Input
Pin
S Set Input - Input Pin -
Output
DV Output - -
Basic Pin
Parameters Trigger
Output Another
Pin Status Output
RV - -
Output Pin
RV = NOT
DV
Function block SR is a reset-preferred and the most basic time-sequence logical device.
Whenever it is, its output is decided not only by the this-time BOOL input, but also by the previous
status. It is a bitable trigger. Triggered by the input signal, SR switches its output from one stable
status to another stable status, and holds on until the next trigger signal. It has a function of
memory.
This function block is a simple function block, and its running time is 3μs.
562
Function Block Reference
Application
Name Description Upload Properties
Reference
S SET INPUT - Input Pin -
Input
Pin RESET
R - Input Pin -
INPUT
DV Output - Output Pin -
Basic
Parameters Trigger
Output Another
Pin Status
RV - Output Pin -
Output
RV = NOT
DV
Function block DFF is an analog of hardware D trigger. Main parameters: input signal IN, clock
signal input CLK, reset signal R, set signal S, positive output DV, negative output RV. Parameter
instructions refer to table below.
563
Function Block Reference
This function block is a simple function block, and its running time is 3μs.
Application
Name Description Upload Properties
Reference
IN Input - Input Pin -
CLK Clock Input - Input Pin -
Input
Pin RESET
R - Input Pin -
INPUT
S SET INPUT - Input Pin -
Basic Note1
Parameters DV Output - Output Pin -
Trigger
Output Another
Pin Status
RV - Output Pin -
Output
RV = NOT
Note1
DV
If set signal S=ON, output DV=ON and its priority is higher than CLK”s.
If reset signal R=ON, output DV=OFF and its priority is higher than CLK”s.
If R=ON and S=ON at the same time, RS holds. If this time comes the rising-edge of CLK,
then output DV=IN.
Otherwise, DV holds.
564
Function Block Reference
Function block COUNTER is used to count the input pulses and it has increasing counting and
decreasing counting. When MODE=OFF, it is increasing counting. When MODE=ON, it is
decreasing counting. Parameter instructions refer to table below.
This function block is a simple function block, and its running time is 3μs.
Application
Name Description Upload Properties
Reference
Basic Impulse Signal
Parameters PI Impulse Signal Input - Input Pin Input is counted by
its rising edge
Rising edge
Input RST Reset Signal - Input Pin
counts
Pin
Pre-Set Value: The
Counting Pause Value
COUNT
of Increasing - Input Pin -
ER
Counting, and Initial
Value of Decreasing.
Counting Output
Marking. For Stop counting
increasing counting, when rising edge
Output
CI when CV=COUNTER, - Output Pin of RST arrives,
Pin
CI=ON. For reset CV to its
decreasing counting, initial and CI=OFF
when CV=0 CI=ON
565
Function Block Reference
Application
Name Description Upload Properties
Reference
Working Mode of
Counter: When
MODE=OFF, It is
Configuration
MODE Increasing Counting. - -
Parameter
Configu When MODE=ON, It
ration is Decreasing
Param Counting.
eter For increasing
counter, CV=0. For
Configuration
CV Counting Unit - decreasing
Parameter
counter,
CV=COUNTER.
Function block TRIG is an edge-trigger and can output a pulse lasting for a program period
according to the changes of input. Parameter instructions refer to table below.
This function block is a simple function block, and its running time is 2μs.
Application
Name Description Upload Properties
Reference
Input Pin IN Input - Input Pin -
Output
OUT Output - Output Pin -
Pin
Mode Switch
When MODE=0,
Basic
Rising-Edge is
Parameters Configur
Triggering. When Configurati
ation
MODENote1 MODE=1, - on -
Paramet
Falling-Edge is Parameter
er
Triggering. When
MODE=2, Edge is
Triggering.Note1
Note:
MODE=0
566
Function Block Reference
MODE=1
MODE=2
Function block TON is a standard timer and can generate a delay output when input jumps from
OFF to ON. Parameter instructions refer to table below.
This function block is a simple function block, its running time is 8μs.
Application
Name Description Upload Properties
Reference
Basic SET Set Signal - Input Pin -
Parameters
Force reset of
Input Pin RST Reset Signal - Input Pin
output
Holding Time and
DT TRUE Input Pin -
the Unit is Second
Output OUT Output Note1 - Output Pin -
567
Function Block Reference
Application
Name Description Upload Properties
Reference
Pin ET The Passed time - Output Pin -
When SET jumps from OFF to ON and holds for sufficient time, then DT time later, OUT become
high level and holds until SET resets. If the length of SET=ON is less than DT, OUT remains 0.
When the rising-edge of RST coming, OUT resets immediately. Time-sequence graph is shown in
6 Time-sequence graph 6.
When the digital signal is set as ON (the digital is “1”), it flashes in the flow chart.
The digital signal changes between 0 and 1 in low frequency. It can meet the requirements of flash
and dynamic effect for picture.
Its programming is shown below, which can be achieved by normal logic function block. The flash
cycle and pulse width can be set via TIME1 and TIME2.
Parameter settings:
TIME1: 2.0
568
Function Block Reference
TIME2: 1.0
As parameters set above, the flash period is 2s and the pulse width is 1s.
Function block TOFF is a standard timer and can generate a delay output when input falls from ON
to OFF. Parameter instructions refer to table below.
This function block is a simple function block, and its running time is 8μs.
Application
Name Description Upload Properties
Reference
SET Set Signal - Input Pin -
When SET from OFF to ON, OUT become high level and holds. When a
falling-edge of SET comes and SET remains low level, then after a DT delay, OUT
resets. If the holding time is shorter than DT, OUT remains high level even the
falling-edge of SET comes. OUT resets as long as the rising-edge of RST comes.
Time-sequence is shown in figure below Time-sequence graph.
569
Function Block Reference
Function block TP is a standard timer and can generate fixed length pulses. Parameter
instructions refer to table below.
This function block is a simple function block, its running time is 8μs.
Application
Name Description Upload Properties
Reference
SET Set Signal - Input Pin -
Compel output
RST Reset Signal - Input Pin
Input Pin reset
Basic Holding Time
Parameters DT and the Unit is TRUE Input Pin -
Second
Output OUT Output Note1 - Output Pin -
Pin ET Passed time - Output Pin -
As long as SET jumps from OFF to ON and there is no reset signal, OUT is a series of pulses
whose length is DT. During the timing, if the rising-edge of RST comes, OUT resets immediately
until the next rising-edge of SET. Time-sequence graph is shown in figure below.
570
Function Block Reference
This function block is a simple function block, its running time is 8μs. Parameter instructions refer
to table below.
Application
Name Description Upload Properties
Reference
SET Set Signal - Input Pin -
RST Reset Signal - Input Pin -
Input Pin
Holding Time
Basic DT and the Unit is TRUE Input Pin -
Parameters Second
OUT Output - Output Pin -
Output Pin Passed
ET Note1 - Output Pin ET<DT
time
When SET jumps from OFF to ON, then DT time later, OUT becomes high level and holds for an
operation period. When the rising-edge of RST comes, timer stops and resets OUT, and waits for
the next rising-edge of SET. If SET jumps from OFF to ON, and within DT, another rising-edge of
SET arrives, and then the second jump would be shielded. Time-sequence graph is shown in
figure below Time-sequence graph.
This function block is a simple function block, and sits running time is 8μs. Parameter instructions
refer to below.
571
Function Block Reference
Application
Name Description Upload Properties
Reference
SET Set Signal - - Input Pin
When the rising-edge of SET comes, then DT time later, OUT become high level and holds until
the rising-edge of RST arrives. After OUT resets, OUT remains low level, even SET is high level,
until the next rising-edge of SET arrives
This function block is a simple function block, and its running time is 8μs. Parameter instructions
refer to table below.
Application
Name Description Upload Properties
Reference
SET Set Signal - Input Pin -
572
Function Block Reference
When SET jumps from OFF to ON and holds, OUT follows SET and generates a pulse whose
length is DT. If the time when SET remains ON is shorter than DT, OUT would follows SET to fall to
OFF. When timing, OUT resets as soon as the rising-edge of RST arrives, and holds until the next
rising-edge of SET. If DT is longer than 0 but shorter than a control period, the time of OUT
remaining as ON will last a control period. Time-sequence is shown in 7-36 Time-sequence graph.
Extended Timer Function Block generates fixed width pulse by delaying a fix time for input
command. Parameter instructions refer to table below.
This function block is a simple function block, and its running time is 8μs.
When the rising-edge of SET comes, then DT time later, OUT becomes high level and resets after
holding for TLAG time. When a positive transmission is made in RST, timer stops and resets OUT,
and waits for the next rising-edge of SET. If SET jumps from OFF to ON, and within DT + TLAG,
another rising-edge of SET arrives, and then the second jump would be shielded. Time-sequence
graph is shown as follows.
573
Function Block Reference
Bypass monitoring function block MOS_SOR_WD has functions of timing monitoring, notification
and condition restore. One MOS_SOR_WD correspond to one bypass switch. SOR and MOS
apply the same function block, and can be set in configuration parameter.
574
Function Block Reference
7.21.2 Usage
Bypass monitoring function block has functions of timing monitoring, notification and condition
restore, and is a custom function block (FB). One FB correspond to one bypass switch. SOR
(Startup Overrides) and MOS (Maintenance Override Switch) apply the same function block, while
usages for software and hardware are different.
3. If IN= ON after DDT time of overtime alarm generated, generate bypass overtime serious
alarm.
4. If operator select holding bypass before overtime, ET starts to count again, until the
overtime alarm is generated again when reaching DT. If operator select holding bypass
after overtime, the function will generate overtime alarm while panel will show as alarm
acknowledged. Count the bypass total time, operation hold times and record all events.
Overtime alarm will flash after count time again and until reaching DT (i.e. overtime alarm
will continue to flash after 1s), as shown in Figure 7-12.
5. If operator selects hard reset (i.e. input IN generates decreasing signal), eliminate the
575
Function Block Reference
6. OUT= IN
3. If operator does nothing after DDT time of overtime alarm generated, and when
TYPE_IN=ON, so OUT= OFF, ET and IN become OFF, and generate “Auto Eliminate”
alarm.
4. If operator select holding bypass before overtime, ET starts to count again, until the
overtime alarm is generated again when reaching DT. If operator select holding bypass
after overtime, the function will generate overtime alarm while panel will show as alarm
acknowledged. Count the bypass total time, operation hold times and record all events.
Overtime alarm will flash after count time again and until reaching DT (i.e. overtime alarm
will continue to flash after 1s), as shown in Figure 7-13.
576
Function Block Reference
5. During counting time or DDT of overtime alarm, if operator selects to reset bypass
((LCK=ON), eliminate the bypass and overtime alarm, output OUT as OFF, and record
data.
6. If IN=OFF, BYPSS=ON, so IN=ON, OUT=ON, start to count time. If during counting time
IN=ON, BYPSS=ON will not influence the time sequence logic.
7.21.3 Flag
FLAG Assign Value in Monitoring Instruction
D0 Enable Module Alarm Shield AOF
D1 Disable Bypass Overtime Alarm OVRT
D2 Disable Bypass Serious Overtime Alarm SOVRT
D3 Disable Auto Unlock Alarm AUT_LCK
D4 Enable Bypass BYPASS
D5 Enable Keep KEEP
D6 Enable Interlock LCK
577
Function Block Reference
7.21.4 Examples
Parallel Connection
Serial Connection
IN Null
578
Function Block Reference
Function block NE can implement unequal-to comparison of two inputs. Parameter instructions
please refer to Table 8-1.
This function block is a simple function block, its running time is 2μs.
Application
Name Description Upload Properties
Reference
Input IN1 Input - Input Pin -
Pin IN2 Input - Input Pin -
Basic
Parameters When IN1≠IIN2,
Output output OUT = ON.
OUT - Output Pin -
Pin Otherwise, output
OUT = OFF
Function block EQ can implement equal-to comparison of two inputs. Parameter instructions
please refer to Table 8-2.
This function block is a simple function block, its running time is 2μs.
Application
Name Description Upload Properties
Reference
Basic Input Pin IN1 Input - Input Pin -
579
Function Block Reference
Application
Name Description Upload Properties
Reference
Parameters IN2 Input - Input Pin -
When IN1=IN2,
output OUT= ON.
Output Pin OUT - Output Pin -
Otherwise, output
OUT= OFF
Function block can implement greater-than comparison of two inputs. Parameter instructions
please refer to Table 8-3.
This function block is a simple function block, its running time is 2μs.
Application
Name Description Upload Properties
Reference
IN1 Input - Input Pin -
Input Pin
IN2 Input - Input Pin -
When
IN1>IN2,
Basic output OUT=
Parameters ON.
Output Pin OUT Otherwise, in - Output Pin -
other words
IN1≤IN2,
output OUT=
OFF
This function block is a simple function block, its running time is 2μs.
580
Function Block Reference
Application
Name Description Upload Properties
Reference
Input IN1 Input - Input Pin -
Pin IN2 Input - Input Pin -
Basic
Parameters When IN1 > =IN2,
Outpu output OUT= ON.
OUT - Output Pin -
t Pin Otherwise, output
OUT= OFF
Function block can implement less-than comparison of two inputs. Parameter instructions please
refer to Table 8-5.
This function block is a simple function block, its running time is 2μs.
Application
Name Description Upload Properties
Reference
Input IN1 Input - Input Pin -
Pin IN2 Input - Input Pin -
This function block is a simple function block, its running time is 2μs.
Application
Name Description Upload Properties
Reference
581
Function Block Reference
Application
Name Description Upload Properties
Reference
Input IN1 Input - Input Pin -
Pin IN2 Input - Input Pin -
Basic
Parameters When IN1≤IN2,
Outpu output OUT= ON.
OUT - Output Pin -
t Pin Otherwise, output
OUT= OFF
Function block NE_INT can implement unequal-to comparison of two INT inputs. Parameter
instructions please refer to Table 8-7.
This function block is a simple function block, its running time is 2μs.
Application
Name Description Upload Properties
Reference
Input IN1 Input - Input Pin -
Pin IN2 Input - Input Pin -
Basic
Parameters When IN1≠IN2,
Output output OUT= ON.
OUT - Output Pin -
Pin Otherwise, output
OUT= OFF
Function block can implement equal-to comparison of two INT inputs. Parameter instructions
please refer to Table 8-8.
This function block is a simple function block, its running time is 2μs.
Application
Name Description Upload Properties
Reference
Basic Input IN1 Input - Input Pin -
Parameters Pin IN2 Input - Input Pin -
582
Function Block Reference
Application
Name Description Upload Properties
Reference
When IN1=IN2,
Output output OUT= ON.
OUT - Output Pin -
Pin Otherwise, output
OUT= OFF
Function block GT_INT can implement greater-than comparison of two INT inputs. Parameter
instructions please refer to Table 8-9.
This function block is a simple function block, its running time is 2μs.
Application
Name Description Upload Properties
Reference
Input IN1 Input - Input Pin -
Pin IN2 Input - Input Pin -
Basic
Parameters When IN1 >IN2, output
Output OU
OUT= ON. Otherwise, - Output Pin -
Pin T
output OUT= OFF
Function block can implement greater-than-or-equal-to comparison of two INT inputs. Parameter
instructions please refer to Table 8-10.
This function block is a simple function block, its running time is 2μs.
Application
Name Description Upload Properties
Reference
Input IN1 Input - Input Pin -
Pin IN2 Input - Input Pin -
Basic
Parameters When IN1≥IN2,
Output output OUT= ON.
OUT - Output Pin -
Pin Otherwise, output
OUT= OFF
583
Function Block Reference
Function block can implement less-than comparison of two INT input. Parameter instructions
please refer to Table 8-11.
This function block is a simple function block, its running time is 2μs.
Application
Name Description Upload Properties
Reference
Input IN1 Input - Input Pin -
Pin IN2 Input - Input Pin -
Basic
Parameters When IN1 <IN2,
Output output OUT= ON.
OUT - Output Pin -
Pin Otherwise, output
OUT= OFF
Function block can implement less-than-or-equal-to comparison of two INT inputs. Parameter
instructions please refer to Table 8-12.
This function block is a simple function block, its running time is 2μs.
Application
Name Description Upload Properties
Reference
Input IN1 Input - Input Pin -
Pin IN2 Input - Input Pin -
Basic
Parameters When IN1 ≤IN2,
Output output OUT= ON.
OUT - Output Pin -
Pin Otherwise, output
OUT= OFF
Function block can implement unequal-to comparison of two UNIT inputs. Parameter instructions
584
Function Block Reference
This function block is a simple function block, its running time is 2μs.
Application
Name Description Upload Properties
Reference
Input IN1 Input - Input Pin -
Pin IN2 Input - Input Pin -
Basic
Parameters When IN1≠IN2,
Output OU output OUT= ON.
- Output Pin -
Pin T Otherwise, output
OUT= OFF
Function block can implement equal-to comparison of two UNIT inputs. Parameter instructions
please refer to Table 8-14.
This function block is a simple function block, its running time is 2μs.
Application
Name Description Upload Properties
Reference
Input IN1 Input - Input Pin -
Pin IN2 Input - Input Pin -
Basic
Parameters When IN1 =IN2, output
Output OU
OUT= ON. Otherwise, - Output Pin -
Pin T
output OUT= OFF
Function block can implement greater-than comparison of two UNIT inputs. Parameter instructions
please refer to Table 8-15.
This function block is a simple function block, its running time is 2μs.
585
Function Block Reference
Application
Name Description Upload Properties
Reference
Input IN1 Input - Input Pin -
Pin IN2 Input - Input Pin -
Basic
Parameters When IN1>IN2,
Output output OUT= ON.
OUT - Output Pin -
Pin Otherwise, output
OUT= OFF
Function block can implement greater-than-or-equal-to comparison of two UNIT inputs. Parameter
instructions please refer to Table 8-16.
This function block is a simple function block, its running time is 2μs.
Application
Name Description Upload Properties
Reference
Input IN1 Input - Input Pin -
Pin IN2 Input - Input Pin -
Basic
Parameters When IN1≥IN2, output
Output
OUT OUT= ON. Otherwise, - Output Pin -
Pin
output OUT= OFF
Function block can implement less-than comparison of two UNIT inputs. Parameter instructions
please refer to Table 8-17.
This function block is a simple function block, its running time is 2μs.
586
Function Block Reference
Application
Name Description Upload Properties
Reference
Input IN1 Input - Input Pin -
Pin IN2 Input - Input Pin -
Basic
Parameters When IN1 <IN2,
Output OU output OUT= ON.
- Output Pin -
Pin T Otherwise, output
OUT= OFF
Function block LE_UNIT can implement less-than-or-equal-to comparison of two UNIT inputs.
Parameter instructions please refer to Table 8-18.
This function block is a simple function block, its running time is 2μs.
Application
Name Description Upload Properties
Reference
Input IN1 Input - Input Pin -
Pin IN2 Input - Input Pin -
Basic
Parameters When IN1 ≤IN2,
Output output OUT= ON.
OUT - output Pin -
Pin Otherwise, output
OUT= OFF
587
Function Block Reference
Function block PATCON is used to control AM711 module. Using this function block, elementary
Properties and parameters should be set. While setting parameters, the information of node and
rack of the very channel must be set. Meanwhile, information such as dead zone and manually
changed step value of channel which are already included in I/O builder can only be observed but
not changed.
This function block is a complex function block, its running time is 50μs.
588
Function Block Reference
589
Function Block Reference
590
Function Block Reference
591
Function Block Reference
592
Function Block Reference
593
Function Block Reference
594
Function Block Reference
Parameter
Panel Parameter Name Initial Value Value Range Application Instruction
Name
Set upper limit of value. (Alarm is
H SVH 90.0000 [SCH,SCL] valid when “ENALM” is chosen,
SV Limit otherwise neglected)
(%) Set lower limit of value.(Alarm is
L SVL 0.0000 [SCH,SCL] valid when “ENALM” is chosen,
otherwise neglected)
Parameter Deadzon Read only, set in function block
DB 0.0000 -
e(%) Properties interface or in program.
595
Function Block Reference
Parameter
Panel Parameter Name Initial Value Value Range Application Instruction
Name
Read only, set in function block
MSV(ms) MSV 0.0000 -
Properties interface or in program.
Read only, set in function block
TF(s) TF 0.0000 -
Properties interface or in program.
Threshold Read only, set in function block
TH 0.0000 -
(%) Properties interface or in program.
TSTD(ms Read only, set in function block
TSTD 0.0000 -
) Properties interface or in program.
Read only, set in function block
TS TS 0.0000 -
Properties interface or in program.
Read only, set in function block
Step MFV 0.0000 -
Properties interface or in program.
Read only, set while structure
Domain - - -
building.
Read only, set while structure
Controller - 0 -
building.
Read only, set in function block
Address Node NODE 0 [0,7]
Properties interface
Informatio
n Read only, set in function block
Rack RACK 0 [0,3]
Properties interface
Read only, set in function block
IOM IOM 0 [0,15]
Properties interface.
Read only, set in function block
CH CH 0 [0,3]
Properties interface.
9.1.3 Flag
Table 9-2 Flag list
Settings of
Flag Remarks
Monitoring
Enable
D0 The Tag is Out of Service (OOS)
(SWOOS)
D1 Disable Err
D3 Disable Configuration ERROR (CFGERR)
D4 Disable Upper Limit And Lower Limit of Alarm Reversed (REVALM)
D5 Disable Manual Status (MAN)
D6 Disable Negative Alarm (NALM)
D7 Disable Positive Alarm (PALM)
D8 Disable Ascend Status (ASCEND)
D9 Disable Descend Status (DESCEND)
D10 Disable Disconnection Alarm (BALM)
D11 Disable Feedback of Interlock Open, ON= Open
D12 Disable Feedback of Interlock Close, ON= Close
D13 Disable Feedback of Interlock Stop, ON= Stop
D14 Disable Low Alarm of Set Value (SVL)
D15 Disable High Alarm of Set Value (SVH)
D16 Enable (AOF) Alarm Suppression (AOF)
596
Function Block Reference
Function block TC_CJC is used to control the cold junction temperature of AI721-S and AI722-S.
In the following two conditions, TC_CJC must be used when AI721-S or AI722-S is used.
1) If Cold Junction Compensation is set as “Local”, Temperature Amend is set as “ON”, the
function block will take the output of TC_CJC as the amended value of local cold junction
temperature, and use it to calculate the final test result.
the function block is a simple function block, and its running time is 15μs.
597
Function Block Reference
Function block CABALM is used to check the assist power source, system power source and
cabinet temperature in the cabinet and alarm. Node number, rack number and block number
needs to be set in the function block builder parameters, basing on the address of CN733.
Parameter instructions refer to Table 9-4.
CABLAM is normally used for cabinet alarm block”s debugging, rack number should be set as “3”
while block number should be set as “15” when building basing one the address of CN733.
This function block is a simple function block, its running time is 15μs.
598
Function Block Reference
Application
Name Description Upload Properties
Reference
Match with
Address of Configuration
NODE - hardware
Node[0~7] Parameter
builder
Basic Configuration
Parameters Parameter Address of Configuration
RACK - Set to be 3
Rack[0~3] Parameter
Address of Configuration
IOM - Set to be 5
Module[0~15] Parameter
Auxiliary Power
SPS1HAL connect to
1 upper limit - Output Pin
M BKIN
alarm
Auxiliary Power
SPS1LAL connect to
1 lower limit - Output Pin
M BKIN
alarm
Auxiliary Power
SPS2HAL connect to
2 upper limit - Output Pin
M BKIN
alarm
Auxiliary Power
SPS2LAL connect to
2 lower limit - Output Pin
M BKIN
alarm
MPS1HAL System Power 1 connect to
- Output Pin
M upper limit alarm BKIN
MPS1LAL System Power 2 connect to
- Output Pin
Extended M lower limit alarm BKIN
Output Pin MPS2HAL System Power 1 connect to
Parameters - Output Pin
M upper limit alarm BKIN
MPS2LAL System Power 2 connect to
- Output Pin
M lower limit alarm BKIN
Fan Flag 1 err connect to
FAN1ERR - Output Pin
alarm BKINERR
Fan Flag 2 err connect to
FAN2ERR - Output Pin
alarm BKINERR
Fan Flag 3 err connect to
FAN3ERR - Output Pin
alarm BKINERR
Fan Flag 4 err connect to
FAN4ERR - Output Pin
alarm BKINERR
Closet Connect to
TMPRT - Output Pin
temperature AI
Abnormal connect to
ERR - Output Pin
Operation BKINERR
This function block is a complex function block, its running time is 30μs.
599
Function Block Reference
600
Function Block Reference
Parameter Initial
Panel Parameter Name Value Range Application Instruction
Name Value
Indicate the value each pulse
Pulse
Gain (%) GAIN 1.0000 - stands for, set according to
Coefficient
situation.
Set accumulation exceeds HLIM
HALM(% alarm.(Alarm is valid when
Alarm Enable HALM OFF -
) “ENALM” is chosen, otherwise
neglected)
601
Function Block Reference
Parameter Initial
Panel Parameter Name Value Range Application Instruction
Name Value
Read only, set while structure
DOMAIN - - -
building.
Read only, set while structure
CON - 0 -
building.
Read only, set in function block
NODE NODE 0 [0,7]
Address Properties interface.
Information Read only, set in function block
RACK RACK 0 [0,3]
Properties interface.
Read only, set in function block
IOM IOM 0 [0,15]
Properties interface.
Read only, set in function block
CH CH 0 [0,31]
Properties interface.
9.4.3 Flag
Table 9-6 Flag list
Settings of
Flag Remarks
Monitoring
Enable
D0 The Tag is Out of Service (OOS)
(SWOOS)
D1 Disable Mismatch of Modules (ID_ERR)
D2 Disable Error (ERR)
D3 Disable High Alarm of Accumulation (HALM)
D4 Disable Status Alarm (UNCOMM)
D5 Enable (AOF) Alarm Suppression(AOF)
9.4.4 Application Example
First of all, the maximum of frequency must be checked so that we can decided if the resolution is
reachable. According to the performance of block PI711-S, to reach the resolution 0.1Hz, the
frequency being tested cannot be higher than 1kHz. In this specific condition, the maximum
frequency is
50pulses/gallon×100gallons/minute÷60second/minute=83.33 pulses/second=83.33Hz
GAIN: Pulse equivalent is 1/50=0.02. In other words, each one of the pulse stands for 0.2 gallon of
flow.
602
Function Block Reference
EU: Hz.
DLEN: 2
When debugging the program, open the interface of the function block, as shown in figure 9-9. The
accumulative total state is equal to hold mode, click on “Startup” to start the accumulation process.
This function block is a complex function block, its running time is 30μs.
603
Function Block Reference
604
Function Block Reference
Parameter Initial
Panel Parameter Name Value Range Application Instruction
Name Value
Indicate the value each pulse
Pulse
GAIN(%) GAIN 1.0000 - stands for, set according to
Coefficient
situation.
Set accumulation exceeds HLIM
alarm.(Alarm is valid when
Alarm Enable HALM(%) HALM OFF -
“ENALM” is chosen, otherwise
neglected)
Address Read only, set while structure
DOMAIN - - -
Information building.
Read only, set while structure
CON - 0 -
building.
605
Function Block Reference
Parameter Initial
Panel Parameter Name Value Range Application Instruction
Name Value
Read only, set in function block
NODE NODE 0 [0,7]
Properties interface.
Read only, set in function block
RACK RACK 0 [0,3]
Properties interface.
Read only, set in function block
IOM IOM 0 [0,15]
Properties interface.
Read only, set in function block
CH CH 0 [0,31]
Properties interface.
9.5.3 Flag
Table 9-9 Flag list
Settings of
Flag Remarks
Monitoring
Enable
D0 The Tag is Out of Service (OOS)
(SWOOS)
D1 Disable Mismatch of Modules (ID_ERR)
D2 Disable Error (ERR)
D3 Disable High Alarm of Accumulation (HALM)
D4 Disable Status Alarm (UNCOMM)
D5 Enable (AOF) Alarm Restrain (AOF)
9.5.4 Application Example
Function block implements decoding of flags of AI, AO, DI, and DO. Set the tag type of the
connecting IO, then flag information of this type would be output in BOOL. Parameter Instructions
refer to Table 9-10.
This function block is a simple function block, its running time is 50μs.
606
Function Block Reference
607
Function Block Reference
To achieve I/O flag analysis determination, and participate in interlock via I/O flag analysis value.
The module achieves tag alarm signal invoking and ouputting functions by ECS-700 tag FLAG
with AIALM module. The alarm H/L limits settings of AI tag can be set in tag table or set the alarm
area in device panel.
Details of programming is shown below. It applies IO_FLAG, and the tag input interlock program
can achieve interlock program via output pins “H, L, HH, LL” of the module.
608
Function Block Reference
Function Block
No. Description Related Tag Type Remarks
Pin
Input Parameter
Output Parameter
Alarm generates when
001 H (AI) Tag H Alarm Custom BOOL
ON.
002 L (AI) Tag L Alarm Custom BOOL
609
Function Block Reference
In configuration parameter of basic parameter, TYPE sets the parameter based on input
parameter type, 0=AI, 1=AO, 2=DI, 3=DO.
Alarm Settings
Set AI tag alarm range in tag device panel and tag table.
Function Block TC_CJCX implements cold junction temperature compensation of FW352, XP314,
SP314, FW358 modules.
According to the channel setting of hardware configuration, the cold junction temperature
compensation function has two situations as follows.
1) If cold junction compensation mode is set as “Local”, the temperature acquired by its own
sensor is used as cold junction temperature.
2) If cold junction compensation mode is set as “Remote”, “remote cold junction temperature
set value” set in the function block is used as cold junction temperature.
This function block is a simple function block, its running time is 15μs.
Parameter Instruction
Configuration Configurati
Address of
Parameter NODE - on
Node[0,7]
Parameter
Configurati Stay identical to hardware
Address of
RACK - on builder address
Rack[0,3]
Parameter
Configurati
Address of
IOM - on
Module[0,15]
Parameter
610
Function Block Reference
Function block PTM corresponds to position input module AM713. Before using it, please read
reference of AM713.
All data configuration and supervision of AM713 module are implemented through FBD
programming and Graphics programming.
The parameters contained in hardware configuration such as Digits of coder, comparison values,
etc. could only be observed but not be modified. The forceful modification of them does not make
any sense. Parameter instructions refer to Table 9-12.
This function block is a simple function block, its running time is 50μs.
611
Function Block Reference
612
Function Block Reference
613
Function Block Reference
614
Function Block Reference
615
Function Block Reference
616
Function Block Reference
Function block HCM corresponds to rapid count module AM714-S. Before using it, please read
reference of AM714-S.
All data configuration and supervision of AM714 module are implemented through FBD
programming and Graphics programming.
HCM function block parameters such as Node No., Rack No., Model No., Channel No. should be
filled in. The parameters contained in hardware configuration such as pulse type, set value,
comparison value, etc. could only be observed but not be modified. The forceful modification of
them does not make any sense.
Tags are not required to configure to every channel of AM714-S, but the specified function block
HCM should be configured in custom program.
617
Function Block Reference
Parameter Instruction
618
Function Block Reference
619
Function Block Reference
620
Function Block Reference
Function block SSIM corresponds to rapid count module AM715-S. Before using it, please read
reference of AM715-S.
All data configuration and supervision of AM715-S module are implemented through FBD
programming and Graphics programming.
SSIM function block parameters such as Node No., Rack No., Model No., Channel No. should be
filled in. The parameters contained in hardware configuration such as pulse type, set value,
comparison value, etc. could only be observed but not be modified. The forceful modification of
them does not make any sense.
Tags are not required to configure to every channel of AM715-S, but the specified function block
HCM should be configured in custom program.
621
Function Block Reference
Propertie Application
Name Description Upload
s Reference
Basic DO1output
Parameters Q1EN enable(OFF=output - Input Pin -
invalid)
DO1output
mode(0-address
value is larger than
Output1 or equal to CMPV1,
Setting output closed.
Reference
Q1WAY Otherwise, output - Input Pin
parameter:Q1EN
open.1-address
valueSmaller than
CMPV1, output
closed. Otherwise,
output open.
DO2output
Q2EN enable(OFF=output - Input Pin -
invalid)
DO2output
mode(0-address
value is larger than
Output2 or equal to CMPV2,
Setting output closed.
Reference
Q2WAY Otherwise, output - Input Pin
parameter:Q2EN
open.1-address
valueSmaller than
CMPV2, output
closed. Otherwise,
output open.
Reserved, each
Output3 DO3output
channel of AM714-S
Setting Q3EN enable(OFF=output - Input Pin
still only have 2 DO
invalid)
output now.
622
Function Block Reference
Propertie Application
Name Description Upload
s Reference
DO3output
mode(0-address
value is larger than
or equal to CMPV3,
output closed.
Reference
Q3WAY Otherwise, output - Input Pin
parameter:Q3EN
open.1-address
valueSmaller than
CMPV3, output
closed. Otherwise,
output open.
Reserved, each
DO4output
channel of AM714-S
Q4EN enable(OFF=output - Input Pin
still only have 2 DO
invalid)
output now.
DO4output
mode(0-address
Output4 value is larger than
Setting or equal to CMPV4,
output closed.
Reference
Q4WAY Otherwise, output - Input Pin
parameter:Q4EN
open. 1-address
valueSmaller than
CMPV4, output
closed. Otherwise,
output open.
Configurat
Address of ion
NODE -
Node[0~7] Paramete
r
Configurat
Address of ion
RACK -
Rack[0~3] Paramete
Hardwar r Need to be identical to
e block builder address
Settings Configurat of AM715
Address of ion
IOM -
Module[0~15] Paramete
r
Configurat
Address of I/O ion
CH -
Channel[0~1] Paramete
r
Extended EXTCNT Extend counting
Input Pin - Input Pin -
Parameters EN enable
Output
CPV on-time address - -
Pin
Output
ERR Fault - -
Pin
Output The range of
Pin displacement of the
RELADI Relative Output
- block to the whole
ST displacement Pin
range(%), value is
between -25 and 125
Output
FLAG Flag - -
Pin
623
Function Block Reference
Propertie Application
Name Description Upload
s Reference
Address status
PSALM
alarm - Input Pin -
EN
enable(ON=open)
Upper limit of actual
UPLIM address setting - Input Pin -
Position value
Signal Lower limit of actual
Limit LOWLIM address setting - Input Pin -
value
LOWAL Address over lower Output
- -
M limit alarm Pin
Address over upper Output
UPALM - -
limit alarm Pin
Address Compare Can only be set in
CMPV1 - Input Pin
value1 hardware builder.
Output1
Setting DO1status(ON
Output
Q1STA indicates output is - -
Pin
closed.)
Address Compare Can only be set in
CMPV2 - Input Pin
value2 hardware builder.
Output2
Setting DO2status(ON
Output
Q2STA indicates output is - -
Pin
closed.)
Address Compare Can only be set in
CMPV3 - Input Pin
value3 hardware builder.
Output3
Setting DO3status(ON
Output
Q3STA indicates output is - -
Pin
closed.)
Address Compare Can only be set in
CMPV4 - Input Pin
value4 hardware builder.
Output4
Settings DO4status(ON
Output
Q4STA indicates output is - -
Pin
closed.)
Monitorin
Code type of coder
CODET g Can only be set in
(0 Gray code,1 -
YPE Paramete hardware builder.
binary)
r
Coder signal check
Monitorin
type(0=no
CHECK g
check,1=odd - -
Configur TYP Paramete
check,2=even
ation r
check)
Data
Monitor Monitorin
CODEN Code number of g Can only be set in
-
UM coder Paramete hardware builder.
r
Monitorin
Clock
CLKFRE g
frequency(Unit is - -
Q Paramete
KHz)
r
This function block processes calculation signals of modules FW368, XP335 and SP335. Thus
624
Function Block Reference
channels of the hardware configuration corresponding to the address must be “Cumulation” signal.
When the channel is set as “Frequency”, tags corresponding to the channel can be used directly.
625
Function Block Reference
626
Function Block Reference
Parameter Value
Panel Parameter Name Initial Value Application Instruction
Name Range
Indicate the value each pulse
Pulse
Pulse GAIN 1.0000 - stands for, set according to
Coefficient
situation.
PV lower limit alarm value.(Alarm is
PVL PVL 0.0000 - valid when “ENALM” is chosen,
otherwise neglected)
AVE Alarm
PV upper limit alarm value.(Alarm
PVH PVH 100.0000 - is valid when “ENALM” is chosen,
otherwise neglected)
Set accumulation exceeds HLIM
alarm.(Alarm is valid when
AV Alarm AV Alarm HALM OFF -
“ENALM” is chosen, otherwise
neglected)
627
Function Block Reference
Parameter Value
Panel Parameter Name Initial Value Application Instruction
Name Range
Read only, set while structure
DOMAIN - - -
building.
Read only, set while structure
CON - 0 -
building.
Read only, set in function block
NODE NODE 0 [0,7]
Address Properties interface.
Information Read only, set in function block
RACK RACK 0 [0,3]
Properties interface.
Read only, set in function block
IOM IOM 0 [0,15]
Properties interface.
Read only, set in function block
CH CH 0 [0,31]
Properties interface.
9.11.3 Flag
Table 9-14 Flag position definition instruction
Settings of
Flag Remarks
Monitoring
Enable
D0 The Tag is Out of Service (OOS)
(SWOOS)
D1 Disable Configuration ERROR (CFGERR)
D2 Disable Module Error (ERR)
D3 Disable -
D4 Disable High Alarm of Accumulation (HALM)
D5 Disable PV High Alarm (H)
D6 Disable PV Low Alarm (L)
D7~D14 - -
D15 Enable (AOF) Alarm Suppression (AOF)
This function block is used to control modules FW342, XP341, SP341. The basic Properties and
parameter setting of the function block must be filled in after adding. In parameter setting, address
information of the channel like node and rack, and module information like signal type, deadband
and channel fast increase step value manually must be filled in.
Propertie
Name Description Upload Application Reference
s
628
Function Block Reference
Propertie
Name Description Upload Application Reference
s
UPPER LIMIT Operation
SVH OF SET TRUE Paramete range[SCH,SCL]
SV VALUE r
Limits LOWER Operation
SVL LIMIT OF SET TRUE Paramete range[SCH,SCL]
VALUE r
Operation
Upper limit of
MVH - Paramete -
Valve threshold
r
Position
Limits Operation
Lower limit of
MVL - Paramete -
threshold
r
Configurat
Engineering ion set in function block
EU -
Unit Paramete Properties interface
r
Configurat
use to display data on
Decimal ion
DLEN - function block panel, default
Digitals[0,5] Paramete
value is 3
Range r
Settings Configurat
Upper Limit of
ion
SCH Measuring - -
Paramete
Range
r
Configurat
Basic Lower Limit of
ion
Parameters SCL Measuring - -
Paramete
Range
r
Address
feedback
signal Configurat
type(1:resista ion
TYPE - (Must be filled)
nce,2:4~20m Paramete
A r
current,3:0~1
0mA current)
Configurat
Address of ion
NODE -
Node[1~7] Paramete
Hardwar r
e
Settings Configurat
Address of ion
RACK -
Rack[0~3] Paramete
r Match with hardware
Configurat builder(Must be filled)
Address of ion
IOM -
Module[0~15] Paramete
r
Configurat
Address of I/O ion
CH -
Channel[0~3] Paramete
r
629
Function Block Reference
Propertie
Name Description Upload Application Reference
s
Setting value.
User
expected
threshold, this
Extended setting value
Parameters Input Pin SV can be set - Input Pin -
manually by
user or set
automatically
by function
block program
Threshold
feedback
value. Can
increase/decr
Output
PV ease - Connect to AI
Pin
according to
feedback, or
Output enter
Pin auto-control.
Flag of
CNFER Configuration Output
- -
R Error,ON=Fau Pin
lt
ERROR OF Output
PVERR - -
PV CHANNEL Pin
When positive
transmission
occurs,
engender stop
Operator command.Wh Operation
Comma STOP en negative TRUE Paramete -
nd transmission r
occurs,
engender
start
command.
When positive
transmission
occurs,
engender
auto
command.
Meanwhile,
function block Operation
AUTO by comparing TRUE Paramete -
setting value r
with feedback
value, carry
out auto
control
through long
pulse and
short pulse.
630
Function Block Reference
Propertie
Name Description Upload Application Reference
s
When positive
transmission
occurs,
engender
manual
control
Operation
command.
MAN TRUE Paramete -
Meanwhile
r
output DO on
module is only
affected by
user
command(like
INC and DEC)
When positive
transmission
occurs,
engender
manual
increase
command. Operation
INC Module TRUE Paramete -
outputs a r
increasing
pulse, length
of the pulse is
“manual
function step
time”
When positive
transmission
occurs,
engender
manual
decrease
command. Operation
DEC Module TRUE Paramete -
outputs a r
decreasing
pulse, length
of the pulse is
“manual
function step
time”
When positive
transmission
occurs,
engender Operation
LEARN learn TRUE Paramete -
command, r
module enters
learning
status.
631
Function Block Reference
Propertie
Name Description Upload Application Reference
s
When positive
transmission
occurs,
engender
upload
learning
parameters
When module upload its own
command. Operation
parameters, it will upload
UPDATA When TRUE Paramete
on-time threshold, dead
negative r
zone and stable time.
transmission
occurs,
engender
upload user
set
parameters
command
Out of Service Operation
OOS
SWOOS Flag, TRUE Paramete -
Settings
ON=OOS r
Operation
Dead
DB TRUE Paramete (Must be filled)
Zone(%)
r
Dynamo
Operation
change
INTVAL TRUE Paramete -
interval(unit is
r
ms)
Operation
TH threshold(%) TRUE Paramete -
r
Paramet Threshold
Operation
er stable
TSTD TRUE Paramete -
Settings time(unit is
r
ms)
Minimum step Operation
MSTEP time(unit is TRUE Paramete -
ms) r
Manual Operation
TSTEP function step TRUE Paramete (Must be filled)
time(unit is s) r
SP341
Operation
module
TOC TRUE Paramete -
process
r
time(unit is s)
Monitorin
Nagative Limit
Status g
NLALM Alarm(ON=Al - -
Paramete
arm)
r
Monitorin
Positive Limit
g
PLALM Alarm(ON=Al - -
Paramete
arm)
r
Monitorin
Increasing
ASCEN g
status(ON=inc - -
D Paramete
reasing)
r
632
Function Block Reference
Propertie
Name Description Upload Application Reference
s
Monitorin
Decreasing
DESCE g
status(ON=de - -
ND Paramete
creasing)
r
Disconnection Monitorin
Alarm g
BLALM - -
Status(ON=Al Paramete
arm) r
Feedback of Monitorin
MAN_ST Manual g
- -
A Status(ON=M Paramete
anual) r
Learning Monitorin
LRN_ST status g
- -
A flag(ON=learn Paramete
ing) r
Monitorin
Dead zone of g
DBLN - -
learning(%) Paramete
r
Monitorin
Threshold of g
THLN - -
learning(%) Paramete
r
Monitorin
Stable time of
g
TSTDLN learning(unit - -
Paramete
is ms)
r
Minimum step Monitorin
MSTEPL of g
- -
N learning(unit Paramete
is ms) r
Operation
Suppress
AOF TRUE Paramete -
Alarm Module Alarm
r
Enable
and Alarm
Suppres ENALM Alarm Enable TRUE Paramete -
s r
Output
FLAG Flag - -
Pin
633
Function Block Reference
Parameter Value
Panel Parameter Name Initial Value Application Instruction
Name Range
Indicate the value each pulse
Pulse
Pulse GAIN 1.0000 - stands for, set according to
Coefficient
situation.
PV lower limit alarm value.
AVE Alarm (Alarm is valid when “ENALM”
PVL PVL 0.0000 -
is chosen, otherwise
neglected).
634
Function Block Reference
Parameter Value
Panel Parameter Name Initial Value Application Instruction
Name Range
PV upper limit alarm value.
(Alarm is valid when “ENALM”
PVH PVH 100.0000 -
is chosen, otherwise
neglected).
Set accumulation exceeds
HLIM alarm. (Alarm is valid
AV Alarm AV Alarm HALM OFF -
when “ENALM” is chosen,
otherwise neglected).
Read-only. Set in the
DOMAIN - - -
VFSysBuilder.
Read-only. Set in the
CON - - -
VFSysBuilder.
Read-only. Set in the function
NODE NODE 0 [0,7]
Address block properties interface.
Information Read-only. Set in the function
RACK RACK 0 [0,3]
block properties interface.
Read-only. Set in the function
IOM IOM 0 [0,15]
block properties interface.
Read-only. Set in the function
CH CH 0 [0,31]
block properties interface.
9.12.3 Flag
Table 9-17 Flag position definition instruction
Settings of
Flag Remarks
Monitoring
Enable
D0 The Tag is Out of Service (OOS)
(SWOOS)
D1 Disable Error (ERR)
D2 -- --
D3 Disable Configuration ERROR (CFGERR)
D4 Disable Automatic Status (AUTO)
D5 Disable Manually (MAN)
D6 Disable Negative Alarm (NALM)
D7 Disable Positive Alarm (PALM)
D8 Disable Self-learn Status
D9 Disable Ascend Status (ASCEND)
D10 Disable Descend Status (DESCEND)
D11 Disable Disconnection Alarm (BALM)
D12~D13 -- --
D14 Disable Low Alarm of Set Value (SVL)
D15 Disable High Alarm of Set Value (SVH)
D16 Enable (AOF) Alarm Suppression (AOF)
D17 Disable IS/Not SP341
This function block controls module FW346 and displays its status information.
This function block is a simple function block, its running time is 100μs.
635
Function Block Reference
Application
Name Description Upload Properties
Reference
Address of Configuration
NODE -
Node[0~7] Parameter
Need to Match
Basic Configuration Address of Configuration
RACK - with hardware
Parameters Parameter Rack[0~3] Parameter builder
Address of Configuration
IOM -
Module[0~15] Parameter
Extended LVDT
Input Pin MANZER
Parameters manually - Input Pin -
O
clear value(%)
LVDT
MANFUL
manually turn - Input Pin -
L
full value(%)
Signal
frequency that
FREQ would avoid - Input Pin -
jam.(10Hz or
20Hz)
Signal range
RANGE that would - Input Pin -
avoid jam.(%)
Manually
STEPRAT
function step - Input Pin -
E
rate(%)
636
Function Block Reference
Application
Name Description Upload Properties
Reference
Speed of
change when
SPEEDT
clear or - Input Pin -
R
change
range(%/s)
Auto clear or
range change
AUTOTU
enable(OFF= - Input Pin -
NE
stop,ON=start
)
LVDT
manually
setting zero
MANEN - Input Pin -
valid(OFF=not
valid,
ON=valid)
Avoid jam
funcition
enable(OFF= Operation
SKEN - -
not Parameter
allowed,ON=a
llow)
Scale
KP parameter(0.0 - Input Pin -
1~655.35)
Integrate
parameter
TI - Input Pin -
(0.0s~6553.5s
)
Differential
parameter
TD - Input Pin -
(0.0s~6553.5s
)
Outer set
ESV - Input Pin -
value
Output tracing
TV - Input Pin -
value(%)
Output lower
ML - Input Pin -
limit(%)
Output upper
MH - Input Pin -
limit(%)
Output tracing
switch
SWTV (OFF=not - Input Pin -
trace,ON=trac
e)
Enable serve
module to
PIDWRE upload PID
- Input Pin -
N value(OFF=n
ot allowed,
ON=allow)
Feedback of
Output Pin spacific
R_PIDSV - Output Pin -
threshold of
DEH
637
Function Block Reference
Application
Name Description Upload Properties
Reference
DEH
MV threshold - Output Pin -
output
LVDT high
LVDTH1 - Output Pin -
selected value
LVDT1
LVDT1 sample - Output Pin -
vlue(%)
LVDT2
LVDT2 sample - Output Pin -
value(%)
LVDT zero
position
RLVDTZ - Output Pin -
readback
value
LVDT range
and phase
RLVDTF - Output Pin -
readback
value
Logic flag of
module
BOOT (0=not in start - Output Pin -
logic,1=in
start logic)
Feedback of
manual/auto
RCARDA status of
- Output Pin -
M module
(0=module,1=
auto)
LVDT auto set
zero success
ZEROOK - Output Pin -
flag(0=succes
s,1=fail)
LVDT auto set
range
FULLOK success - Output Pin -
flag(0=succes
s,1=fail)
LVDT auto set
zero /set
range
TUNING status(0=not - Output Pin -
started or
ended,1=proc
eeding)
Alarm when
difference
between
LVDT1 and
LVDTERR - Output Pin -
LVDT2 is too
large(0=no
alarm,1=alar
m)
638
Function Block Reference
Application
Name Description Upload Properties
Reference
manually set
zero /set
range status
LOOPAL
err - Output Pin -
M
alarm(0=no
alarm,1=alar
m)
circle output
SVOUTAL alarm(0=no
- Output Pin -
M alarm,1=alar
m)
OUTHDA
Reserve - Output Pin -
LM
LVDT1AL LVDT1offline
- Output Pin -
M alarm
LVDT2AL LVDT2 offline
- Output Pin -
M alarm
RKP readback KP - Output Pin -
RTI readback TI - Output Pin -
RTD readback TI - Output Pin -
DD tap
DDVPOSI Address - Output Pin -
feedback
Flag of
CFGERR Configuration - Output Pin -
Error
Function
ERR - Output Pin -
block alarm
This function block controls module AM722-S and displays its status information. Before using it,
please read reference of AM722-S.
This function block is a simple function block, its running time is 100μs.
Application
Name Description Upload Properties
Reference
639
Function Block Reference
Application
Name Description Upload Properties
Reference
Configurati
Address of
NODE - on
Node[0~7]
Parameter
640
Function Block Reference
Application
Name Description Upload Properties
Reference
manual writing
LVDT set zero/set
MANWRE range Operation
Manual - -
N enable(OFF=unch Parameter
Zero-adju angable,ON=chan
st and gable)
Amplitude
-adjust MANZER LVDT manual set Operation
TRUE -
O zero value(%) Parameter
MANFUL LVDT manual full Operation
TRUE -
L value(%) Parameter
avoid jam function
enable(OFF=not Operation
SKEN - -
allowed,ON=allow Parameter
ed)
Anti-jamm Signal frequency
ing that would avoid Operation
FREQ - -
jam. (10Hz or Parameter
20Hz)
Signal range that
Operation
RANGE would avoid jam. - -
Parameter
(%)
Accelerated
velocity
feedfoward
ACCFBE Operation
control - -
Accelerati N Parameter
enable(OFF=not
on feedfoward,ON=f
Feedforw eedfoward)
ard
ACCRAT Accelerate Operation
- -
E parameter Parameter
Accelerate Monitoring
R_ACC - -
rate(r/min/s) Parameter
Rate
Operation
KP parameter(0.01~6 TRUE -
Parameter
55.35)
Accumulate
Operation
TI parameter(0.0s~6 TRUE -
Parameter
553.5s)
PID Differential
Setting Operation
TD parameter(0.0s~6 TRUE -
Parameter
553.5s)
PID circle positive Monitoring
PIDPEI -
deviation alarm Parameter
PID circle
Monitoring
PIDNEI negative deviation
Parameter
alarm
Output upper Operation
MH TRUE -
Output limit(%) Parameter
Limits Output lower Operation
ML TRUE -
limit(%) Parameter
HandHeld STEPRAT Manual function Operation
- -
Settings E step value(%) Parameter
641
Function Block Reference
Application
Name Description Upload Properties
Reference
Module
Manual/auto
DEBUGA Operation
switch - -
M Parameter
(OFF=auto,ON=
manual )
642
Function Block Reference
Application
Name Description Upload Properties
Reference
Module is in start
status
Monitoring
BOOTING (OFF=start - -
Parameter
finished,ON=starti
ng)
Auto/manual set
Monitoring
HDWMAN (OFF=auto,ON= - -
Parameter
manual )
PIDtrace status
Monitoring
PIDTR (OFF=auto,ON=tr - -
Parameter
ace)
643
Function Block Reference
Application
Name Description Upload Properties
Reference
Speed meter
module 3 match
Monitoring
SM3DISM flag - -
Parameter
(OFF=match,
ON=not match)
9.14.2 Parameter of Function Block Panel
644
Function Block Reference
PID KP(%) KP - - -
Parame TI(s) TI - - -
ter
TD(s) TD - - -
Output H(%) MH - - -
Parameter Limits L(%) ML - - -
Settings Read only, set in
ACC(r/
R_ACC - - function block Properties
min/s)
interface.
Trend
PLUS ACCRATE - - -
ACCF
ACCFBEN OFF - -
BEN
Auto Tuning AUTOTUNE OFF -
Read only, set in
Start PERCENT 0 - function block Properties
interface.
Rate(%/s) SPEEDTR 5.0000 - -
Complete(%) ZEROBAD OFF - -
PARAM Read only, set in
Zero(%) MANZERO 0.0000 - function block Properties
interface or in program.
Read only, set in
Range(%) MANFULL 0.0000 - function block Properties
interface or in program.
Manual Set MANWREN OFF - -
Step Manual STEPRATE 0.1000 - -
JAM Test SKEN OFF - -
Flag Instruction
645
Function Block Reference
Flag Instruction
D0 Error
D1 Alarm for Config Error (CFGERR)
D2 Status Alarm
D5 LVDT Large Error Alarm
D7 PEI Alarm (PEI)
D6 NEI Alarm(NEI)
D8 LVDT1 Disconnection Alarm
D9 LVDT2 Disconnection Alarm
D10 Manual (MAN)
D4 Alarm Suppression (AOF)
Protect Module)
This function block controls module FW345 and FW382 and displays their status information.
This function block is a simple function block, its running time is 100μs.
Application
Name Description Upload Properties
Reference
60 teeth is normally
Input used, to ensure that
Teeth number of Speed test
Pin TNUM - Input Pin speed test is nice,
fluted disc
suggest using more
than 20 teeth
OPCLMT = ON:forbid 103
function.In other words, not
function to signals over speed
OPCLMT 103%.OPCLMT = OFF:Do not - Input Pin -
forbid 103 function.In other
words, function to signals over
speed 103%
646
Function Block Reference
Application
Name Description Upload Properties
Reference
OPCPRT = ON:forbid 110
function.In other words, not
function to signals over speed Not suggest to fobid
OPCPRT 110%.OPCPRT = OFF:Do not - Input Pin over speed 110%
forbid 110 function.In other protect function
words, function to signals over
speed 110%
Under machinery
over speed test
machinery over speed test status, module
OVSPEED - Input Pin
(OFF=not allowed,ON=allowed) change protect
value from 110%
to 112%
oil switch tripout signal
OILSLIP - Input Pin -
(OFF=allowed,ON=forbid )
SPEED rotation rate - Output Pin -
Speed channel Fault
FAIL - Output Pin -
(OFF=not Fault,ON=Fault)
103% alarm output
ALM103 - Output Pin -
(OFF=no alarm, ON=alarm)
110% alarm output
ALM110 - Output Pin -
(OFF=no alarm,ON=alarm)
Emergency
STOP - Output Pin -
stop(OFF=none,ON=yes)
When address set by hardware
Outpu builder is not module type FW345
t Pin CFGERR or FW382, engender flag of - Output Pin -
Configuration Error.(OFF=no
alarm,ON=alarm)
When module is in missing status
for more than 10 seconds,
COMERR - Output Pin -
engender communication err
alarm(OFF=no alarm, ON=alarm)
When function block
When function block engenders engenders ERR
CFGERR or COMERR, alarm, function
ERR - Output Pin
engenders err alarm at the same block does not
time(OFF=no alarm,ON=alarm) renew data passing
through it
Configurati
NODE Address of Node[0,7] - on
Confi Parameter
gurati Configurati Need to Match with
on RACK Address of Rack[0,3] - on hardware builder
Para Parameter
meter
Configurati
IOM Address of Module[0,15] - on
Parameter
Protect Module)
This function block controls module AM761-S and displays its status information.
647
Function Block Reference
This function block is a complex function block, its running time is 100μs.
Propertie Application
Name Description Upload
s Instruction
Configurat
Address of ion
NODE -
Node[0~7] Paramete
r
Configurat
Basic Hardware Address of ion Need to Match with
Parameters Settings RACK - hardware builder
Rack[0~3] Paramete
r
Configurat
Address of ion
IOM -
Module[0~15] Paramete
r
allowed
machinary over machinary over speed
Extended ENOV speed test test status, module
Parameters - Input Pin
SPD (OFF=not change protect value
allowed,ON=allo from 110% to 112%
wed)
Input Pin 110 protect
Not suggest to fobid
FOBID forbid flag
- Input Pin over speed 110%
110 (OFF=open,ON=
protect function
forbid )
103limit forbid
FOBID flag
- Input Pin -
103 (OFF=open,ON=
forbid )
Output Pin rotation Output
SPEED - -
rate(RPS) Pin
accelerate Output
ACC - -
rate(r/min/s) Pin
110 protect
output status
110PO Output
(OFF=no - -
UT Pin
output,ON=outp
ut)
103limit output
status
103LM Output
(OFF=no - -
OUT Pin
output,ON=outp
ut)
648
Function Block Reference
Propertie Application
Name Description Upload
s Instruction
machinary over
speed test
TSTOV status(OFF=not Output
- -
SPD in over speed Pin
test,ON=in over
speed test)
jamproof
frequency test
Operation
ENFRE enable
- Paramete -
Q (OFF=not
r
enable,ON=ena
ble)
Operation
103DO
103limit output1 - Paramete -
1
r
Operation
103DO
Operation 103limit output2 - Paramete -
2
Parameter r
Operation
110DO 110 protect
- Paramete -
1 output1
r
Operation
110DO 110 protect
- Paramete -
2 output2
r
2 out of 3 logic
Operation
EN3S test
- Paramete -
W2 enable(OFF=clo
r
sed,ON=open)
Alarm
ENALM Alarm Enable TRUE Paramete -
r
Alarm
Enable and Operation
Suppress
Suppress AOF TRUE Paramete -
Module Alarm
r
Output
FLAG Flag - -
Pin
jamproof
frequency test
status(OFF=not
Monitorin
Status in jamproof
TSTFR g
Monitor frequency test - -
EQ Paramete
status,ON=in
r
jamproof
frequency test
status)
110 protect
Monitorin
forbid status
110FO g
(OFF=not - -
BID Paramete
forbid ,ON=forbi
r
d)
103limit forbid
Monitorin
status
103FO g
(OFF=not - -
BID Paramete
forbid ,ON=forbi
r
d)
649
Function Block Reference
Propertie Application
Name Description Upload
s Instruction
oil switch tripout
Monitorin
status
OILTRI g
(OFF=not - -
P Paramete
tripout,ON=tripo
r
ut)
emergent stop
Monitorin
function(OFF=no
EMST g
t emergent - -
OP Paramete
stop,ON=emerg
r
ent stop)
rotation rate
Monitorin
input 15V power
SPD15 g
Fault - -
BAD Paramete
(OFF=normal,O
r
N=Fault)
emergent
Monitorin
stop24V power
STP24 g
Fault - -
BAD Paramete
(OFF=normal,O
r
N=Fault)
oil switch
Monitorin
tripout24V power
OIL24B g
Fault - -
AD Paramete
(OFF=normal,O
r
N=Fault)
Terminal Board Monitorin
TU24B 24V power fault g
- -
AD (OFF=normal,O Paramete
N=Fault) r
Auxiliary Power Monitorin
SUPLY connection fault g
- -
BAD (OFF=normal,O Paramete
N=Fault) r
Speed test Monitorin
channel Fault g
FAIL - -
(OFF=normal,O Paramete
N=Fault) r
When address
set by hardware
Monitorin
builder is not
CFGE g
module type - -
RR Paramete
AM721-S,
r
engender Error
CFGERR alarm)
When module is
in missing
Monitorin
status, engender
COME g
communication - -
RR Paramete
err
r
alarm(COMERR
)
650
Function Block Reference
Propertie Application
Name Description Upload
s Instruction
When function
block engenders
CFGERR or
When function block
COMERR, Monitorin
engenders ERR alarm,
engenders err g
ERR - function block cannot
alarm at the Paramete
update the data
same r
transmitted through it
time(OFF=no
alarm,ON=alarm
)
9.16.2 Flag
Table 9-24 Flag
Flag Instruction
D0 Error
D1 Alarm for Config Error (CFGERR)
D2 Status Alarm
D4 Alarm Suppression (AOF)
Function block is used to detect and alarm display communication information of communication
block.
This function block is a simple function block, its running time is 100μs.
Application
Name Description Upload Properties
Reference
When module is
valid and in missing
status, engender
When
communication
COMMSTA=OFF,
Output Pin module fault
COMMSTA - Output Pin communication
(COMMSTA=ON)ala
module is in
rm.When module
normal status
builder is not
affective, set err
alarm immediately.
651
Function Block Reference
Application
Name Description Upload Properties
Reference
Communication port
of correspondent
function block that
matches the address Match with
RACK - Output Pin
of Rack. For hardware builder
example, number 2
matches third port of
module COM741-S
Alarm when node
address, logic
module number
ERR - Output Pin -
inner error or illegal
function block alarm
occurs.
CANAERR Bus A Fault - Output Pin -
CANBERR Bus B Fault - Output Pin -
Configurati
NODE Address of Node[0,7] - on
Configuration Parameter Match with
Parameter Configurati hardware builder
Logic module
LOGICIOM Note1 - on
number[0,63]
Parameter
Note1: Logic block number is according to the logic number displayed by the hardware builder, for
instance:
652
Function Block Reference
Function block CANCOMM is used to detect and display alarm information of the bus
communication information of the node.
This function block is a simple function block, its running time is 100μs.
653
Function Block Reference
The function block can find out whether controller is cold started, and outputs single period pulse if
yes.
654
Function Block Reference
655
Function Block Reference
This function block is a simple function block, its running time is 50μs.
Application
Name Description Upload Properties
Reference
656
Function Block Reference
Application
Name Description Upload Properties
Reference
Step 2 fails,
STEPF2 Step 2 fail - Input Pin
STEPF1=ON
Step 3 fails,
STEPF3 Step 3 fail - Input Pin
STEPF1=ON
Step 4 fails,
STEPF4 Step 4 fail - Input Pin
STEPF1=ON
Step 5 fails,
STEPF5 Step 5 fail - Input Pin
STEPF1=ON
Step 6 fails,
STEPF6 Step 6 fail - Input Pin
STEPF1=ON
Step 7 fails,
STEPF7 Step 7 fail - Input Pin
STEPF1=ON
Step 8 fails,
STEPF8 Step 8 fail - Input Pin
STEPF1=ON
Step 9 fails,
STEPF9 Step 9 fail - Input Pin
STEPF1=ON
Step 10 fails,
STEPF10 Step 10 fail - Input Pin
STEPF1=ON
M_RUN=ON,
main Sequence
M_RUN - Output Pin -
Control is
Running
Output Pin S_RUN=ON,
S_RUN Sequence is - Output Pin -
Running
M_FAIL=ON,
M_FAIL Main Sequence - Output Pin -
Control Fail
RST=ON, reset Operation Reset time is
RST -
Operation S_RUN Parameter defined by TRST
Parameter Operation
TRST Fault Reset Time - Unit is second
Parameter
Algorithm
657
Function Block Reference
Function block STP is used to realize as many as 24 steps of sequence logic control, supporting
functions such as reset, run, pause, jump, step disable and so on.
This function block is a complex function block, its running time is 50μs.
Application
Name Description Upload Properties
Reference
Step
Basic Order Step Order Operation
Parameters STPTN TRUE (1~24)Steps
Number Amount Parameter
Setting
Input Positive transition
RST Reset Switch - Input Pin
Switch effective
Step Order Run
PERMIT - Input Pin PERMIT=ON, allow
Permit Condition
Step Order Stop STOP=ON, stop step
STOP - Input Pin
Switch order
Positive transition
STRT Startup Switch - Input Pin
effective
658
Function Block Reference
Application
Name Description Upload Properties
Reference
Step Order Pause Positive transition
PAUSE - Input Pin
Switch effective
JUMP=ON, jump to
JUMP Jump-step Switch - Input Pin step indicated by
JUMPN
Disable Flag of Set step serial No. by
STPEN - Input Pin
Step bit.
JUMPN Jump-step Order - Input Pin -
STPRUN=ON
STPRUN Step Order - Output Pin -
Running
STPFAIL=ON
STPFAIL - Output Pin -
Step Order Fault
STPEND=ON
STPEND - Output Pin -
Step Order Finish
STPPAUS STPPAUSE=ON
- Output Pin -
Status E Step Order Pause
Current Step
STPN - Output Pin -
Order
Current Step Run
TRUN - Output Pin -
Time
Current Step Left
TRST - Output Pin -
Time
Monitoring
MODE Module Status - Refer to 10.2.1
Parameter
Reset as OFF after
Operation
MRST Reset Switch - keeping ON for a
Parameter
period.
Reset as OFF after
Operation
MSTRT Startup Switch - keeping ON for a
Operator Parameter
period.
Comman
d Reset as OFF after
Step Order Pause Operation
MPAUSE - keeping ON for a
Switch Parameter
period.
Reset as OFF after
Operation
MJUMP Jump-step Switch - keeping ON for a
Parameter
period.
Extended Feedbac Test the result of this
Feedback Signal
Parameters k Signal FB1 - Input Pin step, if ON, carry on
of Step 1
the next step
Feedback Signal
FB2 - Input Pin -
of Step 2
Feedback Signal
FB3 - Input Pin -
of Step 3
Feedback Signal
FB4 - Input Pin -
of Step 4
Feedback Signal
FB5 - Input Pin -
of Step 5
Feedback Signal
FB6 - Input Pin -
of Step 6
Feedback Signal
FB7 - Input Pin -
of Step 7
659
Function Block Reference
Application
Name Description Upload Properties
Reference
Feedback Signal
FB8 - Input Pin -
of Step 8
Feedback Signal
FB9 - Input Pin -
of Step 9
Feedback Signal
FB10 - Input Pin -
of Step 10
Feedback Signal
FB11 - Input Pin -
of Step 11
Feedback Signal
FB12 - Input Pin -
of Step 12
Feedback Signal
FB13 - Input Pin -
of Step 13
Feedback Signal
FB14 - Input Pin -
of Step 14
Feedback Signal
FB15 - Input Pin -
of Step 15
Feedback Signal
FB16 - Input Pin -
of Step 16
Feedback Signal
FB17 - Input Pin -
of Step 17
Feedback Signal
FB18 - Input Pin -
of Step 18
Feedback Signal
FB19 - Input Pin -
of Step 19
Feedback Signal
FB20 - Input Pin -
of Step 20
Feedback Signal
FB21 - Input Pin -
of Step 21
Feedback Signal
FB22 - Input Pin -
of Step 22
Feedback Signal
FB23 - Input Pin -
of Step 23
Feedback Signal
FB24 - Input Pin -
of Step 24
Output Output Command
D1 - Output Pin If D1=ON, run step 1.
Comman of Step 1
d Output Command
D2 - Output Pin -
of Step 2
Output Command
D3 - Output Pin -
of Step 3
Output Command
D4 - Output Pin -
of Step 4
Output Command
D5 - Output Pin -
of Step 5
Output Command
D6 - Output Pin -
of Step 6
Output Command
D7 - Output Pin -
of Step 7
Output Command
D8 - Output Pin -
of Step 8
Output Command
D9 - Output Pin -
of Step 9
660
Function Block Reference
Application
Name Description Upload Properties
Reference
Output Command
D10 - Output Pin -
of Step 10
Output Command
D11 - Output Pin -
of Step 11
Output Command
D12 - Output Pin -
of Step 12
Output Command
D13 - Output Pin -
of Step 13
Output Command
D14 - Output Pin -
of Step 14
Output Command
D15 - Output Pin -
of Step 15
Output Command
D16 - Output Pin -
of Step 16
Output Command
D17 - Output Pin -
of Step 17
Output Command
D18 - Output Pin -
of Step 18
Output Command
D19 - Output Pin -
of Step 19
Output Command
D20 - Output Pin -
of Step 20
Output Command
D21 - Output Pin -
of Step 21
Output Command
D22 - Output Pin -
of Step 22
Output Command
D23 - Output Pin -
of Step 23
Output Command
D24 - Output Pin -
of Step 24
Step Setting Time of
Operation When time up, switch
Order TSET1 the 1st Step TRUE
Parameter to next step.
Set Time Order
Setting Time of
Operation
TSET2 the 2nd Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET3 the 3rd Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET4 the 4th Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET5 the 5th Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET6 the 6th Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET7 the 7th Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET8 the 8th Step TRUE -
Parameter
Order
661
Function Block Reference
Application
Name Description Upload Properties
Reference
Setting Time of
Operation
TSET9 the 9th Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET10 the 10th Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET11 the 11th Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET12 the 12th Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET13 the 13th Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET14 the 14th Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET15 the 15th Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET16 the 16th Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET17 the 17th Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET18 the 18th Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET19 the 19th Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET20 the 20th Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET21 the 21st Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET22 the 22nd Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET23 the 23rd Step TRUE -
Parameter
Order
Setting Time of
Operation
TSET24 the 24th Step TRUE -
Parameter
Order
Step Step running time
Limit Time of the Operation
Order TLMT1 st TRUE exceed time limit,
1 Step Order Parameter
Limit fault alarm.
Time Limit Time of the Operation
TLMT2 TRUE -
2nd Step Order Parameter
Limit Time of the Operation
TLMT3 TRUE -
3rd Step Order Parameter
662
Function Block Reference
Application
Name Description Upload Properties
Reference
Limit Time of the Operation
TLMT4 TRUE -
4th Step Order Parameter
Limit Time of the Operation
TLMT5 TRUE -
5th Step Order Parameter
Limit Time of the Operation
TLMT6 TRUE -
6th Step Order Parameter
Limit Time of the Operation
TLMT7 TRUE -
7th Step Order Parameter
Limit Time of the Operation
TLMT8 TRUE -
8th Step Order Parameter
Limit Time of the Operation
TLMT9 TRUE -
9th Step Order Parameter
Limit Time of the Operation
TLMT10 TRUE -
10th Step Order Parameter
Limit Time of the Operation
TLMT11 TRUE -
11th Step Order Parameter
Limit Time of the Operation
TLMT12 TRUE -
12th Step Order Parameter
Limit Time of the Operation
TLMT13 TRUE -
13th Step Order Parameter
Limit Time of the Operation
TLMT14 TRUE -
14th Step Order Parameter
Limit Time of the Operation
TLMT15 TRUE -
15th Step Order Parameter
Limit Time of the Operation
TLMT16 TRUE -
16th Step Order Parameter
Limit Time of the Operation
TLMT17 TRUE -
17th Step Order Parameter
Limit Time of the Operation
TLMT18 TRUE -
18th Step Order Parameter
Limit Time of the Operation
TLMT19 TRUE -
19th Step Order Parameter
Limit Time of the Operation
TLMT20 TRUE -
20th Step Order Parameter
Limit Time of the Operation
TLMT21 TRUE -
21st Step Order Parameter
Limit Time of the Operation
TLMT22 TRUE -
22nd Step Order Parameter
Limit Time of the Operation
TLMT23 TRUE -
23rd Step Order Parameter
Limit Time of the Operation
TLMT24 TRUE -
24th Step Order Parameter
OOS status Operation SWOOS=ON, switch
SWOOS TRUE
switch Parameter to OOS status.
Others Operation
AOF Suppress Alarm TRUE -
Parameter
FLAG Flag - Output Pin -
Algorithm
1) Mode processing
663
Function Block Reference
In the situation of cold startup, reset command (RST or MRST) jumping from OFF to
ON, STOP=ON, or exiting from OOS status, sequence control would be in initial
status, MODE = 0.
When sequence control is in initial status and the sequence control condition is met
(PERMIT = ON), sequence control would turn in condition permitted status, MODE
= 1.
When sequence control is in condition permitted status, pause status, fault status,
the startup command(STRT or MSTRT) turns from OFF to ON, and sequence
control would turn into running status, MODE = 2.
When sequence control is in running status, pause command (PAUSE or MPAUSE)
turns from OFF to ON, sequence control would turn into pause status, MODE = 3. (If
process startup command after pausing, sequence control will to on with its
process)
When the operation time of certain step exceeds the limit time, sequence control
would turn into fault status, MODE = 4. If setting time of certain step is set to be 0,
setting time of certain step will not be considered and would be considered to be
infinite.
When the largest step is finished, sequence control would turn into complete status,
MODE = 5. After sequence control process, reset step number to be “0”, and reset
step time to be “0”.
When SWOOS = ON, function block would turn into OOS status, MODE =6.
1. Logic description
MODE=0
All step command output set to be OFF. Step order set to be 0. Any command would
not be responded.
MODE=1
MODE=2
After turning into running status, sequence control would be executed from current
step, and set the running mark STPRUN to ON.
If the disable mark of current step is ON, then turn into next step. If the disable mark
is OFF, current step order output is set ON, and if the previous period is not in pause
status, the counter would be reset and start to count.
664
Function Block Reference
After current step feedback becoming ON, or reaching the set time, the current step
output and the counter would be reset, and the next step order command would be
executed. If the feedback hasn”t be received and running time exceeds limit time,
the current step output would be reset, and turns into fault status. Pause, jump,
reset commands would be responded.
MODE=3
When being pause status, maintain current step output command, step timer stop, if
the feedback jump from OFF to ON, next command would not be executed. Startup,
jump, reset commands would be responded.
When receiving startup command, sequence control runs from current step, and
timer accumulates from current time. When receiving jump command, sequence
control jumps to the pointed step order and holds pause status, and the time is reset.
When receiving reset command, sequence control would turn into initial status.
MODE=4
When being fault status, STPFAIL= ON, STPRUN = OFF, and output is reset.
Startup, jump, reset commands would be responded.
When receiving startup command, turn into the first step to restart, and output
STPFAIL is reset. When receiving jump command, jump to pointed step to run, and
output STPFAIL is reset. Then reset the commands and turn into initial status.
MODE=5
When being complete, status, STPFIN =ON. Startup, reset commands would be
responded. When receiving startup command, turn into the first step to restart, and
STPFIN is reset, set STPRUN to ON. When receiving reset command, turn into
initial status, and STPFIN is reset.
MODE=2, 3, 4
Respond to jump command, and jump to pointed step order. If current step is the
last step, turn into complete status.
STOP=ON
No matter in any status, when STOP = ON, then STPFAIL =ON, output is reset, and
turn into initial status. When STOP = ON, run, pause and jump commands would not
be responded. After STOP turning to OFF, the fault alarm is eliminated.
665
Function Block Reference
10.2.1 Flag
Table 10-3 Flag
666
Function Block Reference
667
Function Block Reference
Library
Communication auxiliary function block library contains 22 simple function blocks. All conversion
blocks are input by decimal number, and debugging will show decimal number too.
Function block BCD2DEC converts the 4-bit BCD input to a decimal output. The largest decimal
output is 9999.
The input is required to be a BCD code and cannot be a combination of two UNSINT inputs
serving as one BCD code.
The running time of this function block of this function block is 2μs.
Applicatio
Name Description Upload Properties n
Reference
Input Value 1, Standing for
IN1 - Input Pin -
L2 LSB
Input Pin
Input Value 2, Standing for 2
IN2 - Input Pin -
Basic MSB
Parameters OUT UNIT OutputNote1 - Output Pin -
Output When any bit of the input
Pin ERR BCD code is beyond 9, - Output Pin -
ERR=ON.
Note:
BCD2DEC separates the BCD input into two bytes. Every 4 bits consist of one BCD
code. IN1 is the l2 LSB, and IN2 is 2 MSB. If input IN2IN1=DBCA, then the changed
unit is D*1000+C*100+B*10+A.
668
Function Block Reference
Function block DEC2BCD converts the UNIT input to a BCD output. The largest UNIT input is
9999.
Applicatio
n
Name Description Upload Properties
Instructio
n
Input Pin IN Decimal InputNote1 - Input Pin -
BCD Output 1, Standing for
OUT1 - Output Pin -
L2 LSB
Basic Parameters Output BCD Output 2, Standing for
OUT2 - Output Pin -
Pin 2 MSN
The decimal input should
ERR be within 9999. If not, - Output Pin -
ERR=ON
Note:
DEC2BCD takes each digit of the decimal input, and transfers it into 4-bit code and
saves in one INT variable.
For example, the decimal input is DCBA: A can be got through dividing it by 10, and
B can be got through dividing it by 100, and so do C and D. Then use 4-digit binary
separately to denote these four values and output it after combination.
669
Function Block Reference
Function block HEX2DEC converts the 4-digit hex input into a decimal output.
Because A~F of hex cannot be be input in the system, so this 4-digit hex code consists of 4
UNSINT inputs and uses 10~15 to replace A~F. Each input is limited within 0~15. If any one is
beyond 15, ERR=ON.
Application
Name Description Upload Properties
Reference
IN1 Hex Input 1 (Lowest Digit) - Input Pin -
IN2 Hex Input 2 (Lower Digit) - Input Pin -
Input Pin
Basic IN3 Hex Input 3 (Higher Digit) - Input Pin -
Parameters IN4 Hex Input 4 (Highest Digit) - Input Pin -
Parameter
OUT Output 2-byte unsigned integer - Output Pin -
Output
Pin When any input beyond 15,
ERR - Output Pin -
ERR=ON.
Function block DEC2HEX converts a UNIT decimal input to 4 UNSIT hex outputs. It takes out 4
values of the decimal input in the 4-bit unit from left to right and assigns them separately to
OUT4~OUT1.
670
Function Block Reference
Application
Name Description Upload Properties
Reference
Input Pin IN UNIT Decimal Input - Input Pin -
Hex Output 1 (Lowest
OUT1 - Output Pin -
Digit)
Basic Hex Output 2 (Lower
OUT2 - Output Pin -
Parameters Output Digit)
Pin Hex Output 3 (Higher
OUT3 - Output Pin -
Digit)
Hex Output 4 (Highest
OUT4 - Output Pin -
Digit)
Function block BIN2BCD converts the binary input to a BCD output. The largest BCD output is 9. If
it is beyond 9, output 9 and set ERR=ON.
Application
Name Description Upload Properties
Reference
IN1 Binary Input 1 (Lowest Digit) - Input Pin -
IN2 Binary Input 2 (Lower Digit) - Input Pin -
Input Pin
IN3 Binary Input 3 (Higher Digit) - Input Pin -
Basic
Parameters IN4 Binary Input 4 (Highest Digit) - Input Pin -
OUT BCD Output - Output Pin -
Output
Pin If BCD beyond 9, output 9 and
ERR - Output Pin -
set ERR=ON
671
Function Block Reference
Application
Name Description Upload Properties
Reference
Input Pin IN BCD Input - Input Pin -
Binary Output 1 (Lowest
OUT1 - Output Pin -
Digit)
Binary Output 2 (Lower
OUT2 - Output Pin -
Digit)
Basic
Parameters Output Binary Output 3 (Higher
Pin OUT3 - Output Pin -
Digit)
Binary Output 4 (Highest
OUT4 - Output Pin -
Digit)
If IN beyond 9, then set
ERR - Output Pin -
ERR=ON.
Function block BLOGIC_16 implements the logical bit-operation of two 16-bit integer inputs,
including AND, OR, XOR and NOT operation bitwisely.
672
Function Block Reference
Application
Name Description Upload Properties
Reference
16-Bit Integer Input
IN1 - Input Pin -
1
Input Pin
16-Bit Integer Input
IN2 - Input Pin -
2
Result of Logical
OUT - Output Pin -
Bit-Operation
Basic Output Pin If IN1is same as
Parameters IN2, EQ=ON; if IN1
EQ - Output Pin -
is not the same as
IN2, EQ=OFF.
Modes of Logical This parameter can
Bit-Operation: be set in the Function
Configuration Configuration
MODE 0=Band, 1=Bor, - Block Properties
Parameter Parameter
2=Bxor, window, and user can
3=Bnot(For In1) not set in debugging.
When MODE=0,
BLOGIC_16 implements BAND of the two 16-bit integer inputs, and OUT outputs
the result.
OUT= (IN1) BAND (IN2)
For example: IN1=0xFF00, IN2=0x0FFF
Then: OUT=0x0F00.
1) When MODE=1,
BLOGIC_16 implements BOR of the two 16-bit integer inputs, and OUT outputs the
result.
OUT = (IN1) BOR (IN2)
For example: IN1=0xFF00,IN2=0x000F
Then: OUT=0xFF0F.
2) When MODE=2,
BLOGIC_16 implements BXOR of the two 16-bit integer inputs, and OUT outputs
the result.
OUT = (IN1) BXOR (IN2)
For example: IN1=0xF0F0, IN2=0x00FF
Then: OUT=0xF00F.
3) When MODE=3,
BLOGIC_16 implements BNOT of the two 16-bit integer inputs, and OUT outputs
the result.
673
Function Block Reference
Function block BLOGIC_32 implements logical bit-operation of the two 32-bit integer inputs,
including BAND, BOR, BXOR, BNOT and so on.
Application
Name Description Upload Properties
Reference
32-Bit Integer Input
IN1 - Input Pin -
1
Input Pin
32-Bit Integer Input
IN2 - Input Pin -
2
32-Bit Integer
OUT - Output Pin -
Output
Basic Output Pin If IN1is same as
Parameters IN2, EQ=ON; if IN1
EQ - Output Pin -
is not the same as
IN2, EQ=OFF.
Modes of Logical This parameter can
Bit-Operation: be set in the Function
Configuration Configuration
MODE 0=BAND, 1=BOR, - Block Properties
Parameter Parameter
2=BXOR, window, and user can
3=BNOT (For IN1) not set in debugging.
When MODE=0,
BLOGIC_32 implements BAND of the two 32-bit integer inputs, and OUT outputs
the result.
OUT= (IN1) BAND (IN2)
For example: IN1=0xFFFF FF00, IN2=0x0000 0FFF
Then: OUT=0x0000 0F00.
674
Function Block Reference
1) When MODE=1,
BLOGIC_32 implements BOR of the two 32-bit integer inputs, and OUT outputs the
result.
OUT= (IN1) BOR (IN2)
For example: IN1=0xFFFF FF00, IN2=0x0000 000F
Then: OUT=0xFFFF FF0F.
2) When MODE=2,
BLOGIC_32 implements BAND of the two 32-bit integer inputs, and OUT outputs
the result.
OUT= (IN1) BXOR (IN2)
For example: IN1=0xFF0F FF00, IN2=0x0000 000F
Then: OUT=0xFF0F FF0F.
3) When MODE=3,
BLOGIC_32 implements BNOT of the two 32-bit integer inputs, and OUT outputs
the result.
OUT= BNOT (IN1)
For example: IN1=0xFF0F FF00
Then: OUT=0x00F0 00FF.
When IN1=IN2, set EQ=ON, otherwise set EQ=OFF.
Function block LSH_16 implements logical shift operation of the 16-bit integer input, including
logical left-shift and logical right-shift.
Application
Name Description Upload Properties
Reference
Basic 16-Bit Integer
Input Pin IN - Input Pin -
Parameters Input
16-Bit Integer
Output Pin OUT - Output Pin -
Output
675
Function Block Reference
Application
Name Description Upload Properties
Reference
Operation Result of Logical Operation
N - -
Parameter Shift Operation Parameter
Modes of Logical
This parameter can be
Shift Operation:
set in the Function
Configuration OFF=Logical Configuration
MODE - Block Properties
Parameter Left-Shift, Parameter
window, and user can
ON=Logical
not set in debugging
Right-Shift
When MODE=OFF,
The 16-bit integer input IN is logically left-shifted by N bits, and its right bits would be
filled with zeros. OUT outputs the result.
1) When MODE=ON,
The 16-bit integer input IN is logically right-shifted by N bits, and its left bits would be
filled with zeros. OUT outputs the result.
Function block LSH_32 implements logical shift operation of the 32-bit integer input, including
logical left-shift and logical right-shift.
676
Function Block Reference
1) When MODE=OFF,
The 32-bit integer input IN is logically left-shifted by N bits, and its right bits would be
filled with zeros. OUT outputs the result.
2) When MODE=ON,
The 32-bit integer input IN is logically right-shifted by N bits, and its left bits would be
filled with zeros. OUT outputs the result.
Function block RSH_16 implements round shift of the 16-bit integer input, including round left-shift
and round right-shift.
When MODE=OFF,
The 16-bit integer input IN is round left-shifted by N bits. The bits shifted out from
the left would be inserted in the right. OUT outputs the result.
1) When MODE=ON,
677
Function Block Reference
The 16-bit integer input IN is round right-shifted by N bits. The bits shifted out from
the right would be inserted in the left. OUT outputs the result.
Function block RSH_32 implements round shift of the 32-bit integer input, including round left-shift
and round right-shift.
1) When MODE=OFF,
The 32-bit integer input IN is round left-shifted by N bits. The bits shifted out from
the left would be inserted in the right. OUT outputs the result.
2) When MODE=ON,
The 32-bit integer input IN is round right-shifted by N bits. The bits shifted out from
the right would be inserted in the left. OUT outputs the result.
Function block ASCTRAN implements ASCII conversion of 0~9 and A~F, which means the range
of IN is 0~15, 10~15 stands for A~F, 0~9 and A~F shands 48~57(0x30~0x39)and
65~70(0x41~0x46).
678
Function Block Reference
Application
Name Description Upload Properties
Reference
Input
IN Input Value - Input Pin -
Pin
Basic OUT Output Value - Output Pin -
Parameters Output If the input is out of this range,
Pin ERR there generates an ERR alarm - Output Pin -
(ERR=ON).
For example, if IN=9(number 9), then OUT=57, if IN=14(capital E), then OUT=69.
ASCPARSE can parse the ACSII data in communication. The range of its input is 0~9 and A~F,
and the corresponding ASCII value is 0x30~0x39 (48~57) and 0x41~0x46 (65~70). Output is the
result after parsing the ASCII code.
Application
Name Description Upload Properties
Reference
Input
IN Input Value - Input Pin -
Pin
Basic
Parameters OUT Output Value - Output Pin -
Output If the input is out of this range,
Pin ERR there generates an ERR alarm - Output Pin -
(ERR=ON).
For example, if IN=57(number 9), then OUT=9(number 9), if IN= IN=66 (capital E), then
OUT=11(capital B).
679
Function Block Reference
Function block USIPARSE can parse one USINT input into one high 4-bit and low 4-bit USINT
outputs. The low 4-bit is saved in OUT1, and the high 4-bit is saved in OUT2.
Function block GETUDI can merge two UNIT inputs into one UDINT output.
In communication, the data read from counters and the like might be 32-bit. It can be divided into 2
UNIT data, one high-byte UNIT and one low-byte UNIT, and can be merged to UDINT data again
by GETUDI.
680
Function Block Reference
OUT=4013036203(=0xEF3212AB).
Function block REALTRAN is used to implement the shift of those 4-byte float communication data
during IO communication tag.
Application
Name Description Upload Properties
Reference
Input
IN Input Value - Input Pin -
Pin
Basic Parameters Output
OUT Output Value - Output Pin -
Pin
Suppose little-endian of one float data is ABCD. During communication in certain protocol, say in
Modbus protocol, its coney form would be BADC, so tag AI cannot parse it with little-endian or
big-endian. Then REALTRAN be used to parse this data.
For example:
IN=223437, and its actual save form in memory is 0x40, 0x33, 0x5a, 0x48(increasing physical
address).
After it is parsed by REALTRAN, its save form become 0x33, 0x40, 0x48, 0x5a(still increasing
physical address). Then the float output of the transformed data is 14091395782410240.0000.
Function block UNITPARSE can parse one UNIT input into 16 BOOL outputs by bit from the lowest
bit to the highest one, and the results are saved in OUT0~OUT15. And OUT0 is the lowest bit, and
OUT15 is the highest bit.
681
Function Block Reference
To split the communicated AI tag into 16 BOOL values, packing the 16 BOOL values into real
numbers for communication with isomery intelligent device.
682
Function Block Reference
When communicating with isomery intelligent device, the tag table of ECS-700 system will analize
all types of analog data read to real number, and transform all types of analog data to real number
and send to others. The reshapped data packed by BOOL value cannot be processed directly.
This part introduces a tag splitting and packing method via program to solve the problem.
Note: set the AI tag linear switch properties as “ Not Switch”, set the maximum and minimum of
original code to ensure that the communication data is in the range. OUT0~OUT7\OUT8~OUT15
of UINTPARSE corresponds to V32.0~V32.7\V33.0~V33.7.
Use BOL16 for packing BOOL tag. Details of program is hsown below.
683
Function Block Reference
Corresponding Tag
No. Function Block Pin Description Remarks
Type
Input Parameter
Use REAL2INT and
Communication AI
001 IN Input INT2UINT to change
Input
Format of UINT.
Output Parameter
Double-byte 16 Bytes No.1
001 OUT0 BIT0 Custom BOOL
BOOL
002 OUT1 BIT1 Custom BOOL
684
Function Block Reference
Corresponding Tag
No. Function Block Pin Description Remarks
Type
Input Parameter
Communication sends
001 IN0 BIT0 Custom BOOL
data No.1 BOOL.
002 IN1 BIT1 Custom BOOL
685
Function Block Reference
Output Parameter
Communication AO Set no byte switch in tag
001 OUT1 Output
Output configuration.
Function block UDINTPARSE can parse one UDINT input into 32 BOOL outputs by bit from lowest
the bit to the highest one, and the results are saved in OUT0~OUT31. And OUT0 is the lowest bit,
and OUT1 31 is the highest bit.
686
Function Block Reference
Function block BOOL2UDINT can parse 32 BOOL input into one UDINT outputs by bit from lowest
the bit to the highest one. OUT0 is the lowest bit, and OUT1 31 is the highest bit.
687
Function Block Reference
688
Function Block Reference
The function block parses and output the 4-byte float data memory as 4-byte unsigned data.
Application
Name Description Upload Properties
Reference
Input Pin IN Input Value - Input Pin -
Basic
Parameter Output OU
Output Value - Output Pin -
Pin T
If a float is saved in small mode, parse its 4-byte saved as UDINT and work out the output value.
689
Function Block Reference
For example, IN = 100.0, the 4-byte memory data is saved as 0x00 0x00 0xC8 0x42 in small mode,
parse the memory as UDINT, so OUT = 0x42c80000 = 1120403456.
The function block parses and output the 4-byte unsigned data memory as 4-byte float data.
Application
Name Description Upload Properties
Reference
Input
IN Input Value - Input Pin -
Basic Pin
Parameter Output
OUT Output Value - Output Pin -
Pin
If a float is saved in small mode, parse its 4-byte saved as REAL and work out the output value.
For example, IN = 1120403456, the 4-byte memory data is saved as 0x00 0x00 0xC8 0x42 in
small mode, parse the memory as REAL, so OUT = 100.0.
690
Function Block Reference
Block Library
12.1 Introduction
One control station can be configured 8 sending function blocks at most(their serial numbers
cannot be repetitive) and is able to receive multicast data of 16 control stations. The serial
numbers of sending/getting function block are required to be consistent.
For one sending function block, when sending fails or its serial number is beyond 7, ERR=ON.
If the sending function block with the same serial number in the station is other type instead of the
corresponding one, then the getting function block displays mismatch and STA=4, ERR=ON.
If the sending function block with the same serial number in the station does not exist but there
exist sending function blocks with other serial number, then the getting function block displays
mismatch and STA=4, ERR=ON.
If the sending function block with the same serial number in the station does not exist meanwhile
there exist no other sending function block, then the getting function block displays mismatched
and STA=3, ERR=ON.
If control stations whose multicast data is received by one receiving station is more than 16, then
status of the 17th receiving function block is buffer area non-allocate or full, and STA=2, ERR=ON.
If the domain address (the control station address range is [0, 15] when controller is FCU711, and
is [0, 59] when controller is FCU712), IP address (2~127) or serial number (0~7) of one control
station is out of the range, then STA=1 and ERR=ON.
Among the status codes above, priority of STA=1 is the highest, and STA=2 is after it. Once STA=1,
only STA=1 is displayed. If STA! =1 and STA=2, only STA=2 is displayed.
691
Function Block Reference
Function block SEND_MIX can send 10 REAL (IN1~IN10) and 24 BOOL data(IN11~IN34).
Application
Name Description Upload Properties
Reference
Basic Input Pin IN1 Input Value 1 - Input Pin -
Parameters
IN2 Input Value 2 - Input Pin -
IN3 Input Value 3 - Input Pin -
IN4 Input Value 4 - Input Pin -
692
Function Block Reference
Application
Name Description Upload Properties
Reference
IN5 Input Value 5 - Input Pin -
IN6 Input Value 6 - Input Pin -
IN7 Input Value 7 - Input Pin -
IN8 Input Value 8 - Input Pin -
IN9 Input Value 9 - Input Pin -
IN10 Input Value 10 - Input Pin -
IN11 Input Value 11 - Input Pin -
IN12 Input Value 12 - Input Pin -
IN13 Input Value 13 - Input Pin -
IN14 Input Value 14 - Input Pin -
IN15 Input Value 15 - Input Pin -
IN16 Input Value 16 - Input Pin -
IN17 Input Value 17 - Input Pin -
IN18 Input Value 18 - Input Pin -
IN19 Input Value 19 - Input Pin -
IN20 Input Value 20 - Input Pin -
IN21 Input Value 21 - Input Pin -
IN22 Input Value 22 - Input Pin -
IN23 Input Value 23 - Input Pin -
IN24 Input Value 24 - Input Pin -
IN25 Input Value 25 - Input Pin -
IN26 Input Value 26 - Input Pin -
IN27 Input Value 27 - Input Pin -
IN28 Input Value 28 - Input Pin -
IN29 Input Value 29 - Input Pin -
IN30 Input Value 30 - Input Pin -
IN31 Input Value 31 - Input Pin -
IN32 Input Value 32 - Input Pin -
IN33 Input Value 33 - Input Pin -
IN34 Input Value 34 - Input Pin -
ERR Abnormal Operation - Output Pin Refer to 12.1
Output Pin Working Status, When
STA STA is not equal to 0, set - Output Pin Refer to 12.1
ERR=ON and alarm
Configuration erial Number of Function Configuration
SN - -
Parameter Block, Range 0~7 Parameter
12.2.2 Application Example
To achieve the analog and didgital data exchange and read functions between domain 0# CS 2#
and domain 1# CS 4#. Domain 0# CS 2# sends data and domain 1# CS 4# receive data.
It can archieve the data read and exchange functions between CSs and control domains of
ECS-700.
693
Function Block Reference
The programming is shown below. It applies SEND_MIX to send data and applies GET_MIX to
receive data.
694
Function Block Reference
Input Parameter
Corresponding to Output
001 IN1~IN10 No. 1~10 Input Pin REAL Pins OUT1~OUT10 of
GET_MIX
Corresponding to Output
No. 11~34 Input
002 IN11~IN34 BOOL Pins OUT11~OUT34 of
Pin
GET_MIX
Configuration Parameter
Serial No. of Same SN serial No. of the
001 SN Function Block Settings in Module module cannot be set in
[0,7] the same CS.
SN: 0~7
Alarm Settings:
695
Function Block Reference
Application
Name Description Upload Properties
Reference
Basic Output Pin OUT1 Output Value 1 - Output Pin -
Parameters
OUT2 Output Value 2 - Output Pin -
696
Function Block Reference
Application
Name Description Upload Properties
Reference
OUT3 Output Value 3 - Output Pin -
OUT4 Output Value 4 - Output Pin -
OUT5 Output Value 5 - Output Pin -
OUT6 Output Value 6 - Output Pin -
OUT7 Output Value 7 - Output Pin -
OUT8 Output Value 8 - Output Pin -
OUT9 Output Value 9 - Output Pin -
OUT10 Output Value 10 - Output Pin -
OUT11 Output Value 11 - Output Pin -
OUT12 Output Value 12 - Output Pin -
OUT13 Output Value 13 - Output Pin -
OUT14 Output Value 14 - Output Pin -
OUT15 Output Value 15 - Output Pin -
OUT16 Output Value 16 - Output Pin -
OUT17 Output Value 17 - Output Pin -
OUT18 Output Value 18 - Output Pin -
OUT19 Output Value 19 - Output Pin -
OUT20 Output Value 20 - Output Pin -
OUT21 Output Value 21 - Output Pin -
OUT22 Output Value 22 - Output Pin -
OUT23 Output Value 23 - Output Pin -
OUT24 Output Value 24 - Output Pin -
OUT25 Output Value 25 - Output Pin -
OUT26 Output Value 26 - Output Pin -
OUT27 Output Value 27 - Output Pin -
OUT28 Output Value 28 - Output Pin -
OUT29 Output Value 29 - Output Pin -
OUT30 Output Value 30 - Output Pin -
OUT31 Output Value 31 - Output Pin -
OUT32 Output Value 32 - Output Pin -
OUT33 Output Value 33 - Output Pin -
OUT34 Output Value 34 - Output Pin -
Abnormal
ERR - Output Pin Refer to 12.1
Operation
Working Status,
When STA is not
STA equal to 0, set - Output Pin Refer to 12.1
ERR=ON and
alarm
Configuration
corresponding to
Domain Address Configuration
Parameter DMADDR
of Station
-
Parameter
sending domain
address
Configuration corresponding to
IP IP Address -
Parameter sending IP ress
697
Function Block Reference
Application
Name Description Upload Properties
Reference
Serial Number of
Configuration
SN Function Block, - -
Parameter
Range0~7
12.3.2 Application Example
Application
Name Description Upload Properties
Reference
Basic Input Pin IN1 Input Value 1 - Input Pin -
Parameters
IN2 Input Value 2 - Input Pin -
IN3 Input Value 3 - Input Pin -
IN4 Input Value 4 - Input Pin -
IN5 Input Value 5 - Input Pin -
IN6 Input Value 6 - Input Pin -
IN7 Input Value 7 - Input Pin -
IN8 Input Value 8 - Input Pin -
IN9 Input Value 9 - Input Pin -
IN10 Input Value 10 - Input Pin -
IN11 Input Value 11 - Input Pin -
IN12 Input Value 12 - Input Pin -
698
Function Block Reference
Application
Name Description Upload Properties
Reference
IN13 Input Value 13 - Input Pin -
IN14 Input Value 14 - Input Pin -
IN15 Input Value 15 - Input Pin -
IN16 Input Value 16 - Input Pin -
ERR Abnormal Operation - Output Pin Refer to 12.1
Output Pin Working Status, When
STA STA is not equal to 0, set - Output Pin Refer to 12.1
ERR=ON and alarm
Serial Number of
Configuration Configuration
SN Function Block, - -
Parameter Parameter
Range0~7
Application
Name Description Upload Properties
Reference
Basic Output Pin OUT1 Output Value 1 - Output Pin -
Parameters
OUT2 Output Value 2 - Output Pin -
OUT3 Output Value 3 - Output Pin -
OUT4 Output Value 4 - Output Pin -
OUT5 Output Value 5 - Output Pin -
OUT6 Output Value 6 - Output Pin -
699
Function Block Reference
Application
Name Description Upload Properties
Reference
OUT7 Output Value 7 - Output Pin -
OUT8 Output Value 8 - Output Pin -
OUT9 Output Value 9 - Output Pin -
OUT10 Output Value 10 - Output Pin -
OUT11 Output Value 11 - Output Pin -
OUT12 Output Value 12 - Output Pin -
OUT13 Output Value 13 - Output Pin -
OUT14 Output Value 14 - Output Pin -
OUT15 Output Value 15 - Output Pin -
OUT16 Output Value 16 - Output Pin -
Abnormal
ERR - Output Pin Refer to 12.1
Operation
Working Status,
When STA is not
STA equal to 0, set - Output Pin Refer to 12.1
ERR=ON and
alarm
Domain Address corresponding to
Configuration
DMADDR of Station, Range -
Parameter
sending domain
0~15 address
Configuration IP Address, Configuration corresponding to
Parameter IP -
Range 2~17 Parameter sending IP ress
Serial Number of
Configuration
SN Function Block, - -
Parameter
Range 0~7
700
Function Block Reference
Application
Name Description Upload Properties
Reference
Basic Input Pin IN1 Input Value 1 - Input Pin -
Parameters
IN2 Input Value 2 - Input Pin -
IN3 Input Value 3 - Input Pin -
IN4 Input Value 4 - Input Pin -
IN5 Input Value 5 - Input Pin -
IN6 Input Value 6 - Input Pin -
IN7 Input Value 7 - Input Pin -
IN8 Input Value 8 - Input Pin -
IN9 Input Value 9 - Input Pin -
IN10 Input Value 10 - Input Pin -
IN11 Input Value 11 - Input Pin -
IN12 Input Value 12 - Input Pin -
IN13 Input Value 13 - Input Pin -
IN14 Input Value 14 - Input Pin -
IN15 Input Value 15 - Input Pin -
IN16 Input Value 16 - Input Pin -
IN17 Input Value 17 - Input Pin -
IN18 Input Value 18 - Input Pin -
IN19 Input Value 19 - Input Pin -
IN20 Input Value 20 - Input Pin -
701
Function Block Reference
Application
Name Description Upload Properties
Reference
IN21 Input Value 21 - Input Pin -
IN22 Input Value 22 - Input Pin -
IN23 Input Value 23 - Input Pin -
IN24 Input Value 24 - Input Pin -
ERR Abnormal Operation - Output Pin Refer to 12.1
Output pin Working Status, When
STA STA is not equal to 0, set - Output Pin Refer to 12.1
ERR=ON and alarm
Serial Number of
Configuration Configuration
SN Function Block, Range - -
Parameter Parameter
0~7
702
Function Block Reference
Application
Name Description Upload Properties
Reference
OUT1 Output Value 1 - Output Pin -
OUT2 Output Value 2 - Output Pin -
OUT3 Output Value 3 - Output Pin -
OUT4 Output Value 4 - Output Pin -
OUT5 Output Value 5 - Output Pin -
OUT6 Output Value 6 - Output Pin -
OUT7 Output Value 7 - Output Pin -
OUT8 Output Value 8 - Output Pin -
OUT9 Output Value 9 - Output Pin -
OUT10 Output Value 10 - Output Pin -
OUT11 Output Value 11 - Output Pin -
OUT12 Output Value 12 - Output Pin -
OUT13 Output Value 13 - Output Pin -
OUT14 Output Value 14 - Output Pin -
Output Pin OUT15 Output Value 15 - Output Pin -
OUT16 Output Value 16 - Output Pin -
OUT17 Output Value 17 - Output Pin -
Basic OUT18 Output Value 18 - Output Pin -
Parameters OUT19 Output Value 19 - Output Pin -
OUT20 Output Value 20 - Output Pin -
OUT21 Output Value 21 - Output Pin -
OUT22 Output Value 22 - Output Pin -
OUT23 Output Value 23 - Output Pin -
OUT24 Output Value 24 - Output Pin -
Abnormal
ERR - Output Pin Refer to 12.1
Operation
Working Status,
When STA is not
STA equal to 0, set - Output Pin Refer to 12.1
ERR=ON and
alarm
Domain Address corresponding to
Configuration
DMADDR of Station, Range -
Parameter
sending domain
0~15 address
Configuration IP Address, Configuration corresponding to
Parameter IP -
Range 2~17 Parameter sending IP ress
Serial Number of
Configuration
SN Function Block, - -
Parameter
Range 0~7
703
Function Block Reference
Application
Name Description Upload Properties
Reference
IN1 Input Value 1 - Input Pin -
IN2 Input Value 2 - Input Pin -
IN3 Input Value 3 - Input Pin -
IN4 Input Value 4 - Input Pin -
IN5 Input Value 5 - Input Pin -
IN6 Input Value 6 - Input Pin -
IN7 Input Value 7 - Input Pin -
IN8 Input Value 8 - Input Pin -
Input Pin
IN9 Input Value 9 - Input Pin -
IN10 Input Value 10 - Input Pin -
IN11 Input Value 11 - Input Pin -
Basic IN12 Input Value 12 - Input Pin -
Parameter IN13 Input Value 13 - Input Pin -
IN14 Input Value 14 - Input Pin -
IN15 Input Value 15 - Input Pin -
IN16 Input Value 16 - Input Pin -
Function Block
ERR - Output Pin Refer to 12.1
Illegal Alarm
Function block
Output Pin status. When
STA is not eual
STA - Output Pin Refer to 12.1
to 0, generate
ERR=ON
alarm.
Configurati
Configuration Function Serial
SN - on -
Parameter No. [0,7]
Parameter
704
Function Block Reference
Application
Name Description Upload Properties
Reference
Ba Outp OUT1 Calculate Output Value 1 - Output Pin -
sic ut
OUT2 Calculate Output Value 2 - Output Pin -
Par
am OUT3 Calculate Output Value 3 - Output Pin -
ete
OUT4 Calculate Output Value 4 - Output Pin -
r
OUT5 Calculate Output Value 5 - Output Pin -
OUT6 Calculate Output Value 6 - Output Pin -
OUT7 Calculate Output Value 7 - Output Pin -
OUT8 Calculate Output Value 8 - Output Pin -
OUT9 Calculate Output Value 9 - Output Pin -
OUT10 Calculate Output Value 10 - Output Pin -
OUT11 Calculate Output Value 11 - Output Pin -
OUT12 Calculate Output Value 12 - Output Pin -
OUT13 Calculate Output Value 13 - Output Pin -
OUT14 Calculate Output Value 14 - Output Pin -
OUT15 Calculate Output Value 15 - Output Pin -
OUT16 Calculate Output Value 16 - Output Pin -
ERR Function Block Illegal Alarm - Output Pin Refer to 12.1
705
Function Block Reference
Tag FT001 is collected by controller 1(physical address 0.4), and controller 2(physical address
10.6) needs the value of this tag and compel/uncompel state to put into calculation. In controller 2,
we use user-defined analog parameter FT_001 to receive the value of FT001.PV and use
user-defined digital parameter FT_001_SWAM to receive the value of FT001.SWAM. Then,
Initial Setting:
For controller 1, set the function block number of SEND_MIX SN=3. Other
parameters remain unchanged.
706
Function Block Reference
707
Function Block Reference
Function block FLC is the fuzzy controller achieved by fuzzy control algorithm. It gains outputs by
fuzzy operation with error and error rate. FLC can realize single loop control, cascade control and
other control functions. Its using method is similar to function block PID. As fuzzy controller is a
nonlinear controller, it isn”t sensitive to the change of object parameters and noise. It is used to
control those objects whose character changing with load. So it has smaller overshoot, faster rise
time and adjusting time.
When using FLC function block, three parameters are needed to tune: KE, KDE, KDU. The
smaller the KE is, the bigger the impact of error EI on MV would be. The smaller the KDE is, the
bigger the impact of error rate on MV would be. The bigger the KDU is, the bigger the impact of
MV would be at the same EI and error rate.
The using method of FLC is the same to PID except the three tune parameters and tuning method,
so the usage introduction of PID function block could be a reference.
The FLC is complex function block. The block performance period is 150μs.
Application
Name Description Upload Properties
Reference
Basic The same as MV
Range Settings MV range high Configuration
Parameters MVSCH - actual value H
value parameter
limit
The same as MV
MV range low Configuration
MVSCL - actual value L
value parameter
limit
708
Function Block Reference
Application
Name Description Upload Properties
Reference
The same as PV
SV range high Configuration
SVSCH - actual value H
value parameter
limit
The same as PV
SV range low Configuration
SVSCL - actual value L
value parameter
limit
Set in the
SV engineer Configuration function block
SVEU -
unit parameter properties
settings interface
Set in the
MV engineer Configuration function block
MVEU -
unit parameter properties
settings interface
Used for Data
displayed on
SV decimal Configuration
SVDLEN - function block
digits [0,5] parameter
panel (Equal to 3
as default)
Used for Data
displayed on
MV decimal Configuration
MVDLEN - function block
digits [0,5] parameter
panel (Equal to 3
as default)
Value range
MV high limit Operation
MVH TRUE [MVSCL,MVSC
value parameter
H]
Value range
MV low limit Operation
MVL TRUE [MVSCL,MVSC
value parameter
H]
SV high limit Operation Value range
SVH TRUE
value parameter [SVSCL,SVSCH]
Limits
SV low limit Operation Value range
SVL TRUE
value parameter [SVSCL,SVSCH]
MV output Rate
variety limit
value. Used to
Operation
DMVLIM prevent the MV TRUE Refer part 2.1.6
parameter
from overlarge
modification in a
short time.
Direct/Reverse
action select
switch. SV is not
changed, the
SWPN=OFF
MV Increases
equal to direct
with the
Direct/Reverse Operation action;
SWPN increasing of PV TRUE
Switch Settings parameter SWPN=ON
in Direct action,
equal to reverse
and decreases
action
with the
increasing of PV
in reverse
action.
709
Function Block Reference
Application
Name Description Upload Properties
Reference
Connect to
Extended Function block BKOUT of
Parameters BKIN - Input pin
feedback input downstream
block
Connect to
Function block
BKOUTERR of
BKINERR feedback status - Input pin
downstream
input
block
The measured
PV value of loop - Input pin Connect to AI
Control object
Connect to MV
The cascade
CSV - Input pin of upstream
setpoint
block
Base Input Pin Tracking Connect to AI
Settings input(MV=TV Related
TV - Input pin
when tracking parameter:
status) SWTR
Tracking
selecting switch. Use to upstream
MV track TV interlock
SWTR when - Input pin condition input
SWTR=ON; Do Related
not track when parameter: TV
SWTR=OFF
Connect
Output
feedforward
compensating
signal AI.
OA value. Use to - Input pin
Related
feedforward
parameters are
control
OK and OB
Actuator
Advanced Input feedback value.
Pin Settings MF - Input pin Connect to AI
Use to
monitoring
Input
compensating
Connect to AI.
value. Use to
Refer part 2.1.2;
improve
IA - Input pin Related
controllability of
parameter IK
procedure with
and IB.
long dead zone
time.
MAN/AUTO
switch for
program control. Connect to
The program output of
Man control upstream block.
PSWAM - Input pin
when Significance
PSWAM=OFF; when
program AUTO MAN_OPT=ON
control when
PSWAM=ON
710
Function Block Reference
Application
Name Description Upload Properties
Reference
The SV/CSV
selecting switch
Connect to
for program
output of
control. Adopt
upstream block.
PSWSV SV when - Input pin
Significance
PSWSV=OFF;
when
adopt CSV
SV_OPT=ON
when
PSWSV=ON
MAN/AUTO
control source
select switch. If
MAN_OPT=ON
then Connect to
MAN/AUTO output of
select switch is upstream block.
MAN_OPT controlled by the - Input pin Related
PSWAM; if parameter
MAN_OPT=OF PSWAM and
F then SWAM
MAN/AUTO
select switch is
controlled by
SWAM
SV/CSV control
source select
switch. If it is
ON then Connect to
SV/CSV select output of
switch is upstream block.
SV_OPT controlled by the - Input pin Related
PSWSV; if it is parameter
OFF then PSWSV and
SV/CSV select SWSV
switch is
controlled by the
SWSV.
Switch of
closedown Connect to
increase for upstream block
MV(MV can not out. It is active
SWINC - Input pin
increase). Carry when block is
out closedown AUTO/CAS
increase when status.
SWINC=ON
Switch of
closedown Connect to
decrease for upstream block
MV(MV can not out. It is active
SWDEC - Input pin
increase). Carry when block is
out closedown AUTO/CAS
decrease when status.
SWDEC=ON
Connect to
Switch for MV upstream block
hold. The MV out. It is active
HOLD - Input pin
hold when when block is
HOLD=ON AUTO/CAS
status.
711
Function Block Reference
Application
Name Description Upload Properties
Reference
Function block
MV - Output pin Connect to AO
output value
Connect to
upstream block
Function block
BKIN
BKOUT feedback value - Output pin
Related
output
parameter is
BK_OPT
Output pin Function block Connect to
BKOUTER
feedback status - Output pin upstream block
R
output BKINERR
Select switch for
BKOUT value. If
BK_OPT=ON Related
Configuration
BK_OPT then BKOUT - parameter is
parameter
track measured BKOUT
value else track
setpoint.
KE decreases
with the
Error setting Operation
KE TRUE increasing of the
factor parameter
effect of EI for
MV
KDE decreases
with the
Error change
Operation increasing of the
Blur Param KDE ratio setting TRUE
parameter effect of error
Setting factor
change ratio for
MV
KDU increasing
with the
increasing of the
Out increment Operation
KDU TRUE effect of MV
setting factor parameter
when the same
EI and error
change ratio.
Operator Monitoring
MODE Work mode - Refer part 2.1.1
Command parameter
Stand-by work Monitoring
IMODE - Refer part 2.1.1
mode parameter
ON=auto return,
MODE_OP Configuration
OFF=manual - Refer part 2.1.1
T parameter
return (default)
Manual and
auto switch: Operation It is active for
SWAM -
OFF=manual, parameter MAN_OPT=OFF
ON=auto
Suto/ cascade
selection: Operation It is active for
SWSV -
OFF=auto, parameter SV_OPT=OFF
ON=cascade
712
Function Block Reference
Application
Name Description Upload Properties
Reference
Whether to
equal to preset
MV value when
switch to aoto
status. PMV
enable switch. Related
Operation
SWPMV When TRUE parameter is
parameter
SWPMV=ON, PMV
MV = PMV, MV
velocity alarm,
lock
increase/decrea
se are disabled
Preset MV when
switching from
OOS/IMAN/TR/ Operation It is active for
PMV TRUE
MAN modes to parameter SWPMV=ON
AUTO or CAS
mode
Setpoint for loop Operation
SV TRUE Refer to 2.1.3
control parameter
When manual
Operator Data Manual output Operation
MANMV - mode, MV=
value parameter
MANMV
Monitoring
EI error - Refer to 2.1.4
parameter
PV HH alarm Operation
PVHH TRUE Refer to 2.1.2
value parameter
PV H alarm Operation
PVH TRUE Refer to 2.1.2
value parameter
PV L alarm Operation
PVL TRUE Refer to 2.1.2
value parameter
PV LL alarm Operation
PVLL TRUE Refer to 2.1.2
value parameter
Measured value Operation
PVHYS TRUE Refer to 2.1.2
alarm hysteresis parameter
Deviation alarm Operation
DL TRUE Refer to 2.1.4
set value parameter
Deviation alarm Operation
Input Alarm DLHYS TRUE Refer to 2.1.4
hystersis value parameter
Settings
Deviation filter Operation
KSV TRUE Refer to 2.1.4
coefficient parameter
Deviation filter Operation
TSV TRUE Refer to 2.1.4
time constant(s) parameter
Valve position Related
Operation
NMFLIM negative error TRUE parameter: NMF.
parameter
thresholds Refer to 2.1.6
Related
Valve position
Operation parameter:
PMFLIM positive error TRUE
parameter PMF. Refer to
thresholds
2.1.6
Valve position
Operation
TMFHYS error alarm TRUE Refer to 2.1.6
parameter
hysteresis time
713
Function Block Reference
Application
Name Description Upload Properties
Reference
Bypass PID
operation, when
BYPASS=ON,
excise PID Operation
BYPASS TRUE Refer to
calculation, parameter
switch SV to MV
directly for
output
Enable switch,
when
Operation Related
Advance SWDB SWDB=ON, TRUE
parameter parameter: DB
Calculation deadband
Settings enable
Deadband band Operation It is active when
DB TRUE
size parameter SWDB=ON
Deadband band Operation
DBHYS TRUE Refer to
hysteresis parameter
Control output
type:
OFF=position Configuration Related
OUT_OPT -
type, parameter parameter: MV
ON=increment
type
Alarm PVHH alarm Monitoring
PVHHIND - Refer to 2.1.6
indication parameter
PV H Limit Monitoring
PVHIND - Refer to 2.1.6
alarm indication parameter
PV L limit alarm Monitoring
PVLIND - Refer to 2.1.6
indication parameter
PV LL limit Monitoring
PVLLIND - Refer to 2.1.6
alarm indication parameter
MV H limit alarm Monitoring
MVHIND - Refer to 2.1.6
indication parameter
MV L limit alarm Monitoring
MVLIND - Refer to 2.1.6
indication parameter
SV H limit alarm Monitoring
SVHIND - Refer to 2.1.6
indication parameter
SV L limit alarm Monitoring
SVLIND - Refer to 2.1.6
indication parameter
Positive
Monitoring
PEIIND deviation alarm - Refer to 2.1.6
parameter
indication
Negative
Monitoring
NEIIND deviation alarm - Refer to 2.1.6
parameter
indication
MV positive rate Monitoring
DMVHIND - Refer to 2.1.6
limit indication parameter
MV negative
Monitoring
DMVLIND rate limit - Refer to 2.1.6
parameter
indication
Valve position
Monitoring
NMFIND error negative - Refer to 2.1.6
parameter
alarm indication
714
Function Block Reference
Application
Name Description Upload Properties
Reference
Valve position
Monitoring
PMFIND error positive - Refer to 2.1.6
parameter
alarm indication
Input Refer to 2.1.2.
Operation
IK compensation TRUE Related
parameter
gain parameter: IA.
Input Refer to 2.1.2.
Operation
IB compensation TRUE Related
parameter
Compensation bias value parameter: IA.
Settings Output Refer to 2.1.4.
Operation
OK compensation TRUE Related
parameter
gain parameter: OA.
Output Refer to 2.1.4.
Operation
OB compensation TRUE Related
parameter
bias value parameter: OA.
Set MV manual
slow
MV manual slow increase/decrea
Operation
SMV increase/decrea TRUE se percentage in
parameter
se value (%) function block
properties
settings
Set MV manual
fast
MV manual fast increase/decrea
Operation
FMV increase/decrea TRUE se percentage in
parameter
se value (%) function block
properties
Fase/Slow/Increa settings
se/Decrease
Settings Set SV manual
slow
SV slow increase/decrea
Operation
SSV increase/decrea TRUE se percentage in
parameter
se value (%) function block
properties
settings
Set SV manual
fast
SV fast increase/decrea
Operation
FSV increase/decrea TRUE se percentage in
parameter
se value (%) function block
properties
settings
Extended range
Configuration
HORLIM maximum - Refer to 2.1.5
parameter
Extended Range percentage
Settings Extended range
Configuration
LORLIM minimum - Refer to 2.1.5
parameter
percentage
715
Function Block Reference
Application
Name Description Upload Properties
Reference
SV ramp
function switch.
When changing
Related
set value,
parameter:
incline it to SV
Operation RAMP
SWRAMP according to the TRUE
parameter active when in
set RAMP (s).
automatic or
OFF=SV ramp
cascade mode
function off,
ON=SV ramp
function on
Related
Ramp Operation
RAMP TRUE parameter:
SV Advance coefficient parameter
SWRAMP
Settings
SV track PV
switch
enable/disable:
OFF=not track,
ON=track. If
PV> SVH/ SVL,
SVTR_OP SV= range limit. Configuration
- Refer to 2.1.3
T used to prevent parameter
the output MV
from
interference
when changing
the control
mode.
Suppress
Operation
AOF module alarm, TRUE Refer to 2.1.6
parameter
Alarm Enabled on=prohibit to
and Suppress Alarm
ENALM Alarm enable TRUE Refer to 2.1.6
Parameter
FLAG Flag code - Output pin Refer to 2.1.6
Set as ON at the
Function block
Operation first time of
SWOOS disable TRUE
parameter function block
(ON=disable)
downloading
Related
Output value in Operation
OOSVAL TRUE parameter:
OOS status parameter
OOS_OPT=ON
Output value
OOS Settings
type in OOS
status. when
OOS_OPT
=ON, Configuration
OOS_OPT - Refer to 1.1.1
MV=OOSVAL, parameter
when
OOS_OPT
=OFF, maintain
the MV
716
Function Block Reference
The “Preference” and “Other Item” parameters of FLC are the same as PID except “FLC item”.
717
Function Block Reference
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Parameter Value
Name
PV Set the HH limit alarm value of
Preference 100.00
Alarm HH PVHH [SVSCL,SVSCH] loop PV. (Selecting the alarm
0
(%) means enable, or it is disbled.)
Set the H limit alarm value of
H PVH 90.000 [SVSCL,SVSCH] loop PV. (Selecting the alarm
means enable, or it is disbled.)
Set the L limit alarm value of
L PVL 10.000 [SVSCL,SVSCH] loop PV. (Selecting the alarm
means enable, or it is disbled.)
718
Function Block Reference
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Parameter Value
Name
Set the LL limit alarm value of
LL PVLL 0.000 [SVSCL,SVSCH] loop PV. (Selecting the alarm
means enable, or it is disbled.)
HYS PVHYS 0.000 - Alarm hysteresis value of PV
Set the H limit alarm value of
loop SV. (Selecting the alarm
H SVH 40.000 [SVSCL,SVSCH] means enable, or it is disbled.)
Note: SV limit will not be
SV affected by the selection.
Limits
(%) Set the L limit alarm value of
SV. (Selecting the alarm means
L SVL 0.000 [SVSCL,SVSCH] enable, or it is disbled.)
Note: SV limit will not be
affected by the selection.
Set the H limit alarm value of
loop MV. (Selecting the alarm
100.00
H MVH [MVSCL,MVSCH] means enable, or it is disbled.)
0
Note: MV limit will not be
MV affected by the selection.
Limits
(%) Set the L limit alarm value of
loop MV. (Selecting the alarm
L MVL 0.000 [MVSCL,MVSCH] means enable, or it is disbled.)
Note: MV limit will not be
affected by the selection.
Read-only. EI= SV-PV
EI EI 0.000 - (Selecting the alarm means
enable, or it is disbled.)
DMV
H Selecting positive deviation
- - -
(Selec alarm means enabled.
EI ted)
Alarm
(%) DMVL
Selecting negative deviation
(Selec - - -
alarm means enabled.
ted)
100.00 ± (Range H Limit
DL DL SV of Deviation alarm
0 – Range L Limit)
DLHY
DLHYS 0.000 - SV of alarm hysteresis value
S
100.00 Selecting positive deviation
PMF PMFLIM -
MF 0 alarm means enabled.
Alarm 100.00 Selecting negative deviation
NMF NMFLIM -
(%) 0 alarm means enabled.
TMFH TMFHYS 0.000 - SV of lag time.
DMV
H Selecting the positive velocity
- - -
MV (Selec alarm means enabled.
Veloci ted)
ty DMVL
Limits Selecting the negative velocity
(Selec - - -
(%) alarm means enabled.
ted)
DMVL 100.00
DMVLIM - SV of loop MV velocity limit
IM 0
719
Function Block Reference
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Parameter Value
Name
100.00 SV of bias adjusting factor
KE KE
0 parameter
FLC
Para 100.00 SV of output increment
KDE KDE
meter 0 adjusting factor parameter
SV of output increment
KDU KDU 0.000
adjusting factor parameter
Enabl
e Selecting the deadband
SWDB -
(Selec parameter means enable.
ted)
Dead Disabl
band Selecting the deadband
e
(%) SWDB √
(Selec parameter means disable.
ted)
DB DB 0.000 Size of deadband
DBHY
DBHYS 0.000 Hysysteris value of deadband
S
Enabl
e Selecting the SV ramp action
SWRAMP -
(Selec means enable.
FFLC SV ted)
Ramp Disabl
Action e Selecting the SV ramp action
(%) SWRAMP √
(Selec means disable.
ted)
RAM 100.00 SV of ramp coefficient (slope)
RAMP
P 0 parameter
Direct
Selecting the direct action
(Selec SWPN -
Contr means enable.
ted)
ol
Directi Rever
on se Selecting the reverse action
SWPN √
(Selec means enable.
ted)
The modification of function
block panel is enabled for the
Run BYPASS √
function block properties dialog
FLC in debugging.
Action The modification of function
Bypas block panel is disabled for the
BYPASS -
s function block properties dialog
in debugging.
Others Value Read-only. It can be set in
IA 0.000 -
Input (IA) configuration or program.
Comp Coeffi
ensati cient IK 1.000 - Input compensation gain
on (IK)
(%)
Bias
IB 0.000 - Input compensation bias value
(IB)
Outpu Value
OA 0.000 - Read-only, feedforward signal.
t (OA)
720
Function Block Reference
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Parameter Value
Name
Comp Coeffi
ensati cient OK 1.000 - Output compensation gain
on (OK)
(%) Bias Output compensation bias
DB 0.000 -
(DB) value
Error Coeffi
Alarm cient KSV 1.000 0~100 Bias filter coefficient
Filter (KSV)
Settin Time
gs TSV 0.000 0~1000s Constant between errors (s)
(TSV)
Feedb Track Read-only. It can be set in
BK_OPT - -
ack PV configuration or program.
Outpu
t Track Read-only. It can be set in
BK_OPT √ -
Track SV configuration or program.
SVTR_OP Read-only. It can be set in
Track √ -
SV T configuration or program.
Track Not SVTR_OP Read-only. It can be set in
- -
Track T configuration or program.
MAN_ Read-only. It can be set in
Panel MAN_OPT √ -
OPT configuration or program.
Settin Progr Read-only. It can be set in
gs MAN_OPT - -
am configuration or program.
SV_O Read-only. It can be set in
Panel SV_OPT - -
PT configuration or program.
Settin Progr Read-only. It can be set in
gs SV_OPT √ -
am configuration or program.
Track Value Read-only. Track the input
TV 0.000 -
(%) value (%).
13.1.3 Flag
Table 13-3 Flag
Flag Instruction
D0 Disabled
D1 Manual Initialize (IMAN)
D2 Manual (MAN)
D3 Tricking (TR)
D4 Automatic (AUTO)
D5 Cascade (CAS)
D8 PV HH Alarm (PVHH)
D9 PV LL Alarm (PVLL)
D10 PV High Limit Alarm (PVH)
D11 PV Low Limit Alarm (PVL)
D12 SV High Limit Alarm (SVH)
D13 SV Low Limit Alarm (SVL)
721
Function Block Reference
Flag Instruction
D14 MV High Limit Alarm (MVH)
D15 MV Low Limit Alarm (MVL)
D16 PEI Alarm (PEI)
D17 NEI alarm(NEI)
D18 Alarm for Range High/Low Limit Reversal (REVSCL)
D19 Alarm for Config Error (CFGERR)
ALARM FOR MV POSITIVE VELOCITY AMPLITUDE
D22
LIMITING (DMVH)
ALARM FOR MV NEGATIVE VELOCITY AMPLITUDE
D23
LIMITING (DMVL)
D27 Alarm for Valve Position Negative Deviation (NMF)
D28 Alarm for Valve Position Positive Deviation (PMF)
D25 Alarm Suppression (AOF)
13.1.4 Programming Example for Application
Variable(PFC)
PFC is a model predictive control algorithm: Predictive Functional Control. PFC has easy
algorithm, small calculating quantity, fast tracing, high precision and other characters. PFC has
been successfully applied in industrial robot for fast and high precision tracing, target tracing in
martial domain and other fast control systems as well as chemical batch reaction process, rolling
and other relatively slow rate control systems. It has also been successfully applied in PVC
polymeric reaction, PH control, chloridizing PVC and other producing processes.
PFC uses the first-order pure lag model to control the first-order pure lag object with fitting high
order asymptotic stable objects to first-order pure lag objects. PFC has PID in it. It could combine
process object with PID to make a whole, and define it a predictive control generalized object.
Regulating PID parameters to make generalized objects first-order pure lag objects.
The PFC is complex function block. The block performance period is 150μs.
722
Function Block Reference
723
Function Block Reference
724
Function Block Reference
725
Function Block Reference
726
Function Block Reference
727
Function Block Reference
728
Function Block Reference
729
Function Block Reference
730
Function Block Reference
Function
Block Initial Application
Panel Parameter Name Value Range
Parameter Value Instruction
Name
Set the HH limit
alarm value of
PV Alarm loop PV.
Preference (%) HH PVHH 100.000 [SVSCL,SVSCH] (Selecting the
alarm means
enable, or it is
disbled.)
Set the H limit
alarm value of
loop PV.
H PVH 90.000 [SVSCL,SVSCH] (Selecting the
alarm means
enable, or it is
disbled.)
731
Function Block Reference
Function
Block Initial Application
Panel Parameter Name Value Range
Parameter Value Instruction
Name
Set the L limit
alarm value of
loop PV.
L PVL 10.000 [SVSCL,SVSCH] (Selecting the
alarm means
enable, or it is
disbled.)
Set the LL limit
alarm value of
loop PV.
LL PVLL 0.000 [SVSCL,SVSCH] (Selecting the
alarm means
enable, or it is
disbled.)
Alarm hysteresis
HYS PVHYS 0.000 -
value of PV
Set the H limit
alarm value of
loop SV.
(Selecting the
alarm means
H SVH 100.000 [SVSCL,SVSCH]
enable, or it is
disbled.)
Note: SV limit will
not be affected by
SV the selection.
Limits(%) Set the L limit
alarm value of
loop SV.
(Selecting the
alarm means
L SVL 0.000 [SVSCL,SVSCH]
enable, or it is
disbled.)
Note: SV limit will
not be affected by
the selection.
Set the H limit
alarm value of
loop MV.
(Selecting the
alarm means
H MVH 100.000 [MVSCL,MVSCH]
enable, or it is
disbled.)
Note: MV limit will
not be affected by
MV the selection.
Limits(%) Set the L limit
alarm value of
loop MV.
(Selecting the
alarm means
L MVL 0.000 [MVSCL,MVSCH]
enable, or it is
disbled.)
Note: MV limit will
not be affected by
the selection.
732
Function Block Reference
Function
Block Initial Application
Panel Parameter Name Value Range
Parameter Value Instruction
Name
Selecting the
DMVH positive velocity
- -
(Selected) alarm means
enabled.
MV Rate Selecting the
Limit Alarm DMVL negative velocity
- -
(Selected) alarm means
enabled.
SV of loop MV
DMVLIM (%) DMVLIM 100.000
velocity limit
The gain
KM KM 1.000 parameter SV of
predict model
The time constant
TM TM 1.000 parameter SV of
predict model
Model
Parameter The time constant
TMB TMB 10.000 B parameter SV of
predict model
The pure lag time
constant
TDED TDED 1.000
parameter SV of
predict model
SV of control
TC (s) TC 1.000
period parameter
SV of pure lag
DEO DEO 1
step parameter
SV of predict step
PSTEP PSTEP 20.000
parameter
SV of referenced
locus dynamic
PFC LAMD LAMD 0.779 [0,1]
response speed
parameter
Parameter SV of step
STEP_SVH STEP_SVH 0.020 increment
parameter
SV of step
STEP_SVL STEP_SVL 0.020 increment L
parameter
Predict control
STEP_SV STEP_SV 0.000 distribution
increment output
Control output of
SVOUT SVOUT 0.000
SV
1st Order st
MODEL √ 1 Order =1
(Selected)
2nd 2nd
Model Nonautonomous MODEL - Nonautonomous
Type (Selected) =2
nd
2 Automomous 2nd Automomous
MODEL -
(Selected) =3
733
Function Block Reference
Function
Block Initial Application
Panel Parameter Name Value Range
Parameter Value Instruction
Name
Selecting the ramp
Enable RAMP_OPT - SV action means
enable.
734
Function Block Reference
C is the setpoint value. Yp (k) is the output of process. Tr is the time constant of referenced track. u
is the output of PFC. d is the disturbance in the process.
The final goal of Predictive Functional Control is to make the output of process object Yp(k) to
follow the referencing track(Referencing track is the output curve that has been defined in advance,
commonly a first order exponential curve) and gradually reach the set point value C. Through
contracting predictive model to simulate the features of actual inputs and outputs of process
objects, and calculate the intending outputs of the predictive model based on historical information
and intending inputs. So as long as PFC control output U to make the predictive model to put out
alonging referencing curve, that is equal to that the output curve of process object alonging
referencing curve. As predictive model is not strictly the same as actual process objects, use the
discrepancy between output of predictive model and actual object as a feedforward compensation
through the predictor to proofread the output of process to decrease the model mismatch problem
caused by disturbance, noise and so on.
735
Function Block Reference
2) BKIN and BKINERR link to feedback value of down stream function block
4) Capture gain, time constant and pure lag time of first-order pure lag object by step curve.
Then write these parameters to KM, TM and TDED. If the object is in reverse
characteristic then set KM to negative.
2) BKIN and BKINERR link to feedback value of down stream function block
3) This mode are used to cascade control. The PFC is outer loop and the PID is inner loop.
STEP_SV be used to inner loop setpoint.
4) First set inner loop to AUTO. Then change SV to step change and adjust PB_PID, TI_PID,
TD_PID, and adjust step response of object to border first-order pure lag curve.
5) Capture gain, time constant and pure lag time of first-order pure lag object by step curve.
Then write these parameters to KM, TM and TDED
6) Set the CSV of inner loop and then put outer loop to AUTO. Wait some times, then slow
let go STEP_SVH and STEP_SVL, achieve the PFC-PID cascade control.
Function block PID_TUN is to achieve PID parameters self-tuning function. After using relay
identification method to approximate the object to first-order pure lag, tune parameters through the
standard ZN method, CHR method and Lambda method.
The using method of PID_TUN is the same to PID except the PID parameters self-tuning function,
so the usage introduction of PID function block could be a reference.
The PID_TUN algorithm is the same as the PID function block. The block performance period is
150μs.
736
Function Block Reference
737
Function Block Reference
738
Function Block Reference
739
Function Block Reference
740
Function Block Reference
741
Function Block Reference
742
Function Block Reference
743
Function Block Reference
744
Function Block Reference
745
Function Block Reference
746
Function Block Reference
747
Function Block Reference
The PID_TUN function block face plate parameters same as the PID function block except
748
Function Block Reference
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Parameter Value
Name
Set the HH limit alarm value of
Preference HH PVHH 100.000 [SVSCL,SVSCH] loop PV. (Selecting the alarm
means enable, or it is disbled.)
Set the H limit alarm value of
H PVH 90.000 [SVSCL,SVSCH] loop PV. (Selecting the alarm
means enable, or it is disbled.)
PV Alarm
Set the L limit alarm value of
(%)
L PVL 10.000 [SVSCL,SVSCH] loop PV. (Selecting the alarm
means enable, or it is disbled.)
Set the LL limit alarm value of
LL PVLL 0.000 [SVSCL,SVSCH] loop PV. (Selecting the alarm
means enable, or it is disbled.)
HYS PVHYS 0.000 - Alarm hysteresis value of PV
Set the H limit alarm value of
loop SV. (Selecting the alarm
H SVH 40.000 [SVSCL,SVSCH] means enable, or it is disbled.)
Note: SV limit will not be
SV Limits affected by the selection.
(%) Set the L limit alarm value of
loop SV. (Selecting the alarm
L SVL 0.000 [SVSCL,SVSCH] means enable, or it is disbled.)
Note: SV limit will not be
affected by the selection.
Set the H limit alarm value of
loop MV. (Selecting the alarm
H MVH 100.000 [MVSCL,MVSCH] means enable, or it is disbled.)
Note: MV limit will not be
MV affected by the selection.
Limits
(%) Set the L limit alarm value of
loop MV. (Selecting the alarm
L MVL 0.000 [MVSCL,MVSCH] means enable, or it is disbled.)
Note: MV limit will not be
affected by the selection.
749
Function Block Reference
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Parameter Value
Name
Read-only. EI=
EI EI 0.000 - SV-PV(Selecting the alarm
means enable, or it is disbled.)
PEI
Selecting positive deviation
(Selec - - -
alarm means enabled.
ted)
EI Alarm
(%) NEI
Selecting negative deviation
(Selec - - -
alarm means enabled.
ted)
± (Range H Limit
DL DL 100.000 SV of Deviation alarm
– Range L Limit)
DLHY
DLHYS 0.000 - Hysteresis value of bias alarm
S
Selecting positive deviation
PMF PMFLIM 100.000 -
alarm means enabled.
MF
Alarm Selecting negative deviation
NMF NMFLIM 100.000 -
(%) alarm means enabled.
TMFH
TMFHYS 0.000 - SV of lag time
YS (s)
DMV
H Selecting the positive velocity
- - -
(Selec alarm means enabled.
MV ted)
Velocity
Limits DMVL
Selecting the negative velocity
(%) (Selec - - -
alarm means enabled.
ted)
DMVL
DMVLIM 100.000 - SV of loop MV velocity limit
IM
PID PB(% SV of loop proportional
PB 100.000 ≧0
) parameter
PID SV of loop integral time
TI(S) TI 20.000 ≧0
parameter
SV of loop differential time
TD(S) TD 0.000 ≧0
parameter
Incomple
te
Differenti Incomplete differential filter
KD(S) KD 10.000 ≧0
al coefficient
Coefficie
nt
Enabl
e Selecting the deadband
SWDB - -
(Selec parameter means enabled.
ted)
Deadban Disabl
d (%) e Selecting the deadband
SWDB √ -
(Selec parameter means disabled.
ted)
DB DB 0.000 - Size of deadband
DBHY
DBHYS 0.000 [0,DB] Hysteresis value of deadband
S
750
Function Block Reference
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Parameter Value
Name
Gap
Read-only, non-linear gain
Action
NGN_OPT - - selection switch, ON= gap
(Selec
action
ted)
Non-line Squar
ar Gain e Read-only, non-linear gain
(%) Root NGN_OPT √ - selection switch, OFF=square
(Selec root
ted)
GW GW 0.000 - Action range of non-linear gain
KN KN 1.000 [0,1.0] Non-linear gain coefficient
EA EA 0.000 - SV of range parameter
Integral
Seperati Integral cutting coefficient.
on (%) When EI>EA, cut the integral;
DK DK 0.000 -
when EI<EA, integral cutting is
disabled.
Enabl
e Selecting the SV ramp action
SWRAMP - -
(Selec means enable.
ted)
SV
RampAct Disabl
ion (%) e Selecting the SV ramp action
SWRAMP √ -
(Selec means disable.
ted)
RAM
RAMP 100.000 - SV of coefficient parameter
P
Direct
Selecting the direct action
(Selec SWPN - -
means enable.
ted)
Control
Direction Rever
se Selecting the reverse action
SWPN √ -
(Selec means enable.
ted)
Run
Selecting proportional action
(Selec STOPP √ -
Proportio means enabled.
ted)
nal
Selecting proportional action
Stop STOPP - -
means disabled.
Selecting integral action means
Run STOPI √ -
Integral enabled.
Action Selecting integral action means
Stop STOPI - -
disabled.
The modification of function
block panel is enabled for the
Run BYPASS √ -
function block properties dialog
PID in debugging.
Action The modification of function
Bypas block panel is disabled for the
BYPASS - -
s function block properties dialog
in debugging.
Others Input Read-only. It can be set in
IA IA 0.000 -
Compen configuration or program.
sation IK IK 1.000 - Input compensation gain
751
Function Block Reference
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Parameter Value
Name
(%) Bias value of input
IB IB 0.000 -
compensation
Output OA OA 0.000 - Read-only, feedforward signal
Compen OK OK 1.000 - Output compensation gain
sation
(%) Bias value of output
DB DB 0.000 -
compensation
Set EI KSV KSV 1.000 0~100 Bias filter coefficient
alarm
filter TSV TSV 0.000 0~1000s Constant between errors (s)
Read-only. It can be set in
Feedbac PV BK_OPT - -
configuration or program.
k Output
Track Read-only. It can be set in
SV BK_OPT √ -
configuration or program.
SVTR_OP Read-only. It can be set in
Track √ -
T configuration or program.
SV Track
Not SVTR_OP Read-only. It can be set in
- -
Track T configuration or program.
Read-only. It can be set in
MAN_O Panel MAN_OPT √ -
configuration or program.
PT
Settings Progr Read-only. It can be set in
MAN_OPT - -
am configuration or program.
Read-only. It can be set in
Panel SV_OPT - -
SV_OPT configuration or program.
Settings Progr Read-only. It can be set in
SV_OPT √ -
am configuration or program.
Read-only. Track the input
TV (%) TV 0.000 -
value (%).
Self-tune Mode Read-only. It can be set in
MODE √
0 configuration or program.
Mode Read-only. It can be set in
MODE -
1 configuration or program.
Mode Read-only. It can be set in
Tuning MODE -
2 configuration or program.
Mode
Option Mode Read-only. It can be set in
MODE -
3 configuration or program.
Mode Read-only. It can be set in
MODE -
4 configuration or program.
Mode Read-only. It can be set in
MODE -
5 configuration or program.
Tuning Read-only. It can be set in
NB NB 1.000
Paramet configuration or program.
er Read-only. It can be set in
Settings MA MA 10.000
configuration or program.
Auto
Read-only. It can be set in
Updat UPDATE -
configuration or program.
Paramet e
er Manu
Update al Read-only. It can be set in
UPDATE √
Updat configuration or program.
e
752
Function Block Reference
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Parameter Value
Name
Stabili
zing STC_MOD Read-only. It can be set in
-
Waitin E configuration or program.
g
Tuning Relay
STC_MOD Read-only. It can be set in
Process Oscill -
E configuration or program.
ation
Tunin
g STC_MOD Read-only. It can be set in
-
Failur E configuration or program.
e
Tunin
Read-only. It can be set in
g STC -
configuration or program.
Mode Mode
Option Contr
Read-only. It can be set in
ol STC √
configuration or program.
Mode
Read-only. It can be set in
P -
configuration or program.
Tuning
Objectiv Read-only. It can be set in
PI -
e configuration or program.
Read-only. It can be set in
PID √
configuration or program.
PBC Read-only. It can be set in
PBC 100.000
(%) configuration or program.
TIC Read-only. It can be set in
TIC 1.000
(s) configuration or program.
PID TDC Read-only. It can be set in
TDC 1.000
Tuned (s) configuration or program.
Paramet Read-only. It can be set in
er K K 1.000
configuration or program.
Read-only. It can be set in
T (s) T 1.000
configuration or program.
Read-only. It can be set in
L (s) L 1.000
configuration or program.
13.3.3 PID Parameters Self-Tuning
Start Self-tuning
In no mode can self-tuning mode been entered in except in manual, automatic and
cascade modes. Make STC = ON to enter in self-tuning mode. MA ,that is, the
amplitude of relay oscillation must be set before starting self-tuning.
Tuning Process
1) After entering into self-tuning mode, switch loop to manual and keep the current output
value unchanged. Note that automated and cascade button can not be manipulated at
this time, otherwise tuning would be failed to. A certain period of time should be waited
for stability.
2) After reaching stability, calculate the mean of the current object and noise band;
753
Function Block Reference
3) Do relay oscillation;
4) End the relay oscillation, and calculate PID parameters according to settings;
5) Complete tuning.
13.3.4 Flag
Table 13-9 Flag
Flag Instruction
D0 Disabled
D1 Manual Initialize (IMAN)
D2 Manual (MAN)
D3 Tricking (TR)
D4 Automatic (AUTO)
D5 Cascade (CAS)
D8 PV HH Alarm (PVHH)
D9 PV LL Alarm (PVLL)
D10 PV High Limit Alarm (PVH)
D11 PV Low Limit Alarm (PVL)
D12 SV High Limit Alarm (SVH)
D13 SV Low Limit Alarm (SVL)
D14 MV High Limit Alarm (MVH)
D15 MV Low Limit Alarm (MVL)
D16 PEI Alarm (PEI)
D17 NEI alarm(NEI)
D18 Alarm for Range High/Low Limit Reversal (REVSCL)
D19 Alarm for Config Error (CFGERR)
D22 Alarm for MV Positive Velocity Amplitude Limiting (DMVH)
D23 Alarm for MV Negative Velocity Amplitude Limiting (DMVL)
D27 Alarm for Valve Position Negative Deviation (NMF)
D28 Alarm for Valve Position Positive Deviation (PMF)
D20 Tricking Value Error (TVERR)
D21 Output Compensation Value Error (OCVERR)
D29 PV Error
D30 SV Error
D25 Alarm Suppression (AOF)
754
Function Block Reference
Industrial process objects usually have pure lag. Pure lag part would make it difficult to control the
process, resulting in decreased in quality control, and even cause system instability. It is difficult to
obtain good control effect using conventional PID in pure lag systems. In order to achieve effective
control for pure lag systems, the pure delay compensation control method could be used. SMITH
predictor is the most commonly used method in industry.
SMITH contains SMITH predictor and PI controller, which could be applied to pure lag objects
control. The control effect is badly affected by the stability of the lag character of objects. The
control effect would be well when the lag character is stable, otherwise the effect would
deteriorate.
The using method of SMITH is the same to PID except the internal controls, tuning parameters
and tuning method. so the usage introduction of PID function block can be a reference.
The SMITH is complex function block. The block performance period is 150μs.
755
Function Block Reference
756
Function Block Reference
757
Function Block Reference
758
Function Block Reference
759
Function Block Reference
760
Function Block Reference
761
Function Block Reference
762
Function Block Reference
763
Function Block Reference
The SMITH function block face plate parameters same as the PID function block except “SMITH”
page parameters. The “SMITH” page parameters shown as follow.
764
Function Block Reference
765
Function Block Reference
766
Function Block Reference
767
Function Block Reference
Flag Instruction
D0 Disabled
D1 Manual Initialize (IMAN)
D2 Manual (MAN)
D3 Tricking (TR)
D4 Automatic (AUTO)
D5 Cascade (CAS)
D8 PV HH Alarm (PVHH)
D9 PV LL Alarm (PVLL)
D10 PV High Limit Alarm (PVH)
D11 PV Low Limit Alarm (PVL)
D12 SV High Limit Alarm (SVH)
D13 SV Low Limit Alarm (SVL)
D14 MV High Limit Alarm (MVH)
D15 MV Low Limit Alarm (MVL)
D16 PEI Alarm (PEI)
D17 NEI alarm(NEI)
D18 Alarm for Range High/Low Limit Reversal (REVSCL)
D19 Alarm for Config Error (CFGERR)
ALARM FOR MV POSITIVE VELOCITY AMPLITUDE
D22
LIMITING (DMVH)
ALARM FOR MV NEGATIVE VELOCITY AMPLITUDE
D23
LIMITING (DMVL)
D27 Alarm for Valve Position Negative Deviation (NMF)
D28 Alarm for Valve Position Positive Deviation (PMF)
D25 Alarm Suppression (AOF)
768
Function Block Reference
K
G (s) e Ds
Ls 1
K is the object gain, L is the time constant for the object, D is the pure lag time of the
object.
Model parameters K, L, D should be set in function blocks when in application. The
more accurate the model parameters are, the better the control effect would be.
Intending control effect may be not reached without accurate model parameters.
Controller need to tune parameter T, which can be regarded as the time constant of
closed-loop systems. Therefore, when T decreases, the response speed of system
becomes faster, but the stability reduces. When T increases, the response speed of
system becomes slower, while the stability increases.
(BALANCE8)
Function block (BALANCE) balance controls 8 branches at most. Tube-type heating furnace is the
most common heating furnace in production of oil refining &chemical industry, which costs about
10% of the equipment investment. It is used to heat the oil in the furnace to the required
temperature and then go on with fractional distillation, cracking and reactions in the next process
equipment. Because of the large amount of oil to be heated, it is usually divided into multiple
branches in heating furnace. As the combustion in the furnace chamber is uneven and the heat
transfer characteristics of each branch tube is different, outlet temperature of each branch is also
different, which has a great effect on the level operation of the downstream atmospheric tower.
Therefore, the Crude Oil Unit Furnace outlet temperature balance is an important control target
aim, which is of great importance to production safety and reducing energy consumption.
The BALANCE8 is complex function block. The block performance period is 2000μs.
769
Function Block Reference
770
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Input Parameter
0/
Header pipe
FTTL REAL Non-config 0.0 No Yes No
flow
urable
0/
FTTLSE Set Header
REAL Non-config 0.0 No Yes No
T pipe flow
urable
0/
Branch flow
FPASS1 REAL Non-config 0.0 No Yes No
PV 1
urable
0/
Branch flow
FPASS2 REAL Non-config 0.0 No Yes No
PV 2
urable
0/
Branch flow
FPASS3 REAL Non-config 0.0 No Yes No
PV 3
urable
0/
Branch flow
FPASS4 REAL Non-config 0.0 No Yes No
PV 4
urable
0/
Branch flow
FPASS5 REAL Non-config 0.0 No Yes No
PV 5
urable
0/
Branch flow
FPASS6 REAL Non-config 0.0 No Yes No
PV 6
urable
0/
Branch flow
FPASS7 REAL Non-config 0.0 No Yes No
PV 7
urable
0/
Branch flow
FPASS8 REAL Non-config 0.0 No Yes No
PV 8
urable
Branch 0/
TPASS1 REAL temperature Non-config 0.0 No Yes No
1 urable
Branch 0/
TPASS2 REAL temperature Non-config 0.0 No Yes No
2 urable
Branch 0/
TPASS3 REAL temperature Non-config 0.0 No Yes No
3 urable
Branch 0/
TPASS4 REAL temperature Non-config 0.0 No Yes No
4 urable
Branch 0/
TPASS5 REAL temperature Non-config 0.0 No Yes No
5 urable
Branch 0/
TPASS6 REAL temperature Non-config 0.0 No Yes No
6 urable
771
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Branch 0/
TPASS7 REAL temperature Non-config 0.0 No Yes No
7 urable
Branch 0/
TPASS8 REAL temperature Non-config 0.0 No Yes No
8 urable
0/
Temperature
TCS1 REAL Non-config 0.0 No Yes No
in furnace 1
urable
0/
Temperature
TCS2 REAL Non-config 0.0 No Yes No
in furnace 2
urable
0/
Temperature
TCS3 REAL Non-config 0.0 No Yes No
in furnace 3
urable
0/
Temperature
TCS4 REAL Non-config 0.0 No Yes No
in furnace 4
urable
0/
Temperature
TCS5 REAL Non-config 0.0 No Yes No
in furnace 5
urable
0/
Temperature
TCS6 REAL Non-config 0.0 No Yes No
in furnace 6
urable
0/
Temperature
TCS7 REAL Non-config 0.0 No Yes No
in furnace 7
urable
0/
Temperature
TCS8 REAL Non-config 0.0 No Yes No
in furnace 8
urable
Feedback of 0/
BKIN1 REAL branch flow Non-config 0.0 No Yes No
SV 1 urable
Feedback of 0/
BKIN2 REAL branch flow Non-config 0.0 No Yes No
SV 2 urable
Feedback of 0/
BKIN3 REAL branch flow Non-config 0.0 No Yes No
SV 3 urable
Feedback of 0/
BKIN4 REAL branch flow Non-config 0.0 No Yes No
SV 4 urable
Feedback of 0/
BKIN5 REAL branch flow Non-config 0.0 No Yes No
SV 5 urable
Feedback of 0/
BKIN6 REAL branch flow Non-config 0.0 No Yes No
SV 6 urable
Feedback of 0/
BKIN7 REAL branch flow Non-config 0.0 No Yes No
SV 7 urable
Feedback of 0/
BKIN8 REAL branch flow Non-config 0.0 No Yes No
SV 8 urable
772
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Status
0/
BKINER feedback of
BOOL Non-config OFF No Yes No
R1 branch flow
urable
SV 1
Status
0/
BKINER feedback of
BOOL Non-config OFF No Yes No
R2 branch flow
urable
SV 2
Status
0/
BKINER feedback of
BOOL Non-config OFF No Yes No
R3 branch flow
urable
SV 3
Status
0/
BKINER feedback of
BOOL Non-config OFF No Yes No
R4 branch flow
urable
SV 4
Status
0/
BKINER feedback of
BOOL Non-config OFF No Yes No
R5 branch flow
urable
SV 5
Status
0/
BKINER feedback of
BOOL Non-config OFF No Yes No
R6 branch flow
urable
SV 6
Status
0/
BKINER feedback of
BOOL Non-config OFF No Yes No
R7 branch flow
urable
SV 7
Status
0/
BKINER feedback of
BOOL Non-config OFF No Yes No
R8 branch flow
urable
SV 8
0/
FTTLER HeaderPipe
BOOL Non-config OFF No Yes No
R flow fault
urable
Branch 0/
TPSERR
BOOL temperature Non-config OFF No Yes No
1
1 fault urable
Branch 0/
TPSERR
BOOL temperature Non-config OFF No Yes No
2
2 fault urable
Branch 0/
TPSERR
BOOL temperature Non-config OFF No Yes No
3
3 fault urable
Branch 0/
TPSERR
BOOL temperature Non-config OFF No Yes No
4
4 fault urable
Branch 0/
TPSERR
BOOL temperature Non-config OFF No Yes No
5
5 fault urable
Branch 0/
TPSERR
BOOL temperature Non-config OFF No Yes No
6
6 fault urable
773
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Branch 0/
TPSERR
BOOL temperature Non-config OFF No Yes No
7
7 fault urable
Branch 0/
TPSERR
BOOL temperature Non-config OFF No Yes No
8
8 fault urable
Temperature 0/
TCSER
BOOL in furnace 1 Non-config OFF No Yes No
R1
fault urable
Temperature 0/
TCSER
BOOL in furnace 2 Non-config OFF No Yes No
R2
fault urable
Temperature 0/
TCSER
BOOL in furnace 3 Non-config OFF No Yes No
R3
fault urable
Temperature 0/
TCSER
BOOL in furnace 4 Non-config OFF No Yes No
R4
fault urable
Temperature 0/
TCSER
BOOL in furnace 5 Non-config OFF No Yes No
R5
fault urable
Temperature 0/
TCSER
BOOL in furnace 6 Non-config OFF No Yes No
R6
fault urable
Temperature 0/
TCSER
BOOL in furnace 7 Non-config OFF No Yes No
R7
fault urable
Temperature 0/
TCSER
BOOL in furnace 8 Non-config OFF No Yes No
R8
fault urable
Output
Paramet
er
Feedback of 0/
FPSET1 REAL branch flow Non-config 0.0 No Yes No
SV 1 urable
Feedback of 0/
FPSET2 REAL branch flow Non-config 0.0 No Yes No
SV 2 urable
Feedback of 0/
FPSET3 REAL branch flow Non-config 0.0 No Yes No
SV 3 urable
Feedback of 0/
FPSET4 REAL branch flow Non-config 0.0 No Yes No
SV 4 urable
Feedback of 0/
FPSET5 REAL branch flow Non-config 0.0 No Yes No
SV 5 urable
Feedback of 0/
FPSET6 REAL branch flow Non-config 0.0 No Yes No
SV 6 urable
Feedback of 0/
FPSET7 REAL branch flow Non-config 0.0 No Yes No
SV 7 urable
774
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Feedback of 0/
FPSET8 REAL branch flow Non-config 0.0 No Yes No
SV 8 urable
0/
BKOUT REAL BKOUT Non-config 0.0 No Yes No
urable
0/
BKOUT
BOOL BKOUTERR Non-config OFF No Yes No
ERR
urable
Monitori
ng
Paramet
er
Maximum
0/
FMAXE flow error of
REAL Non-config 100.0 No Yes No
R21 2-branch
urable
balance 1
Maximum
temperature 0/
TMAXE
REAL error of Non-config 100.0 No Yes No
R21
2-branch urable
balance 1
Maximum
0/
FMAXE flow error of
REAL Non-config 100.0 No Yes No
R22 2-branch
urable
balance 2
Maximum
temperature 0/
TMAXE
REAL error of Non-config 100.0 No Yes No
R22
2-branch urable
balance 2
Maximum
0/
FMAXE flow error of
REAL Non-config 100.0 No Yes No
R41 4-branch
urable
balance 1
Maximum
temperature 0/
TMAXE
REAL error of Non-config 100.0 No Yes No
R41
4-branch urable
balance 1
Maximum
0/
FMAXE flow error of
REAL Non-config 100.0 No Yes No
R23 2-branch
urable
balance 3
Maximum
temperature 0/
TMAXE
REAL error of Non-config 100.0 No Yes No
R23
2-branch urable
balance 3
Maximum
0/
FMAXE flow error of
REAL Non-config 100.0 No Yes No
R24 2-branch
urable
balance 4
775
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Maximum
temperature 0/
TMAXE
REAL error of Non-config 100.0 No Yes No
R24
2-branch urable
balance 4
Maximum
0/
FMAXE flow error of
REAL Non-config 100.0 No Yes No
R42 4-branch
urable
balance 2
Maximum
temperature 0/
TMAXE
REAL error of Non-config 100.0 No Yes No
R42
4-branch urable
balance 2
Maximum
0/
FMAXE flow error of
REAL Non-config 100.0 No Yes No
R8 8-branch
urable
balance
Maximum
temperature 0/
TMAXE
REAL error of Non-config 100.0 No Yes No
R8
8-branch urable
balance
0/
USIN Current work
MODE Non-config 0 No Yes No
T mode
urable
0/
USIN Standby
IMODE Non-config 0 No Yes No
T work mode
urable
Branch 0/
RUN_ST UDIN
running Non-config 0 No Yes No
AT T
status urable
Whether
0/
USIN output can
PERMIT Non-config 0 No Yes No
T manually set
urable
Bit0
0/
UDIN
FLAG Flag Non-config 0 No Yes No
T
urable
Actual SV
value of 0/
MODE_
REAL model Non-config 0.0 No Yes No
SV
method urable
branch
5/
Select OOS
SWOOS BOOL Configurabl OFF Yes Yes Yes
status
e
Cascade
select
switch: 5/
SWSV BOOL OFF= Configurabl OFF Yes Yes Yes
non-cascade e
, ON=
cascade
776
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
5/
Select
SWAM BOOL Configurabl OFF Yes Yes Yes
auto/manual
e
2-branch 5/
SW21 BOOL balance 1 Configurabl OFF Yes Yes Yes
switch e
2-branch 5/
SW22 BOOL balance 2 Configurabl OFF Yes Yes Yes
switch e
4-branch 5/
SW41 BOOL balance 1 Configurabl OFF Yes Yes Yes
switch e
2-branch 5/
SW23 BOOL balance 3 Configurabl OFF Yes Yes Yes
switch e
2-branch 5/
SW24 BOOL balance 4 Configurabl OFF Yes Yes Yes
switch e
4-branch 5/
SW42 BOOL balance 2 Configurabl OFF Yes Yes Yes
switch e
6-branch 5/
SW6 BOOL balance Configurabl OFF Yes Yes Yes
switch e
8-branch 5/
SW8 BOOL balance Configurabl OFF Yes Yes Yes
switch e
Select
control
method, 0=
differential 5/
SWMOD USIN
method, 1= Configurabl 0 Yes Yes Yes
E T
model e
method, 2=
average
method
5/
Module
AOF BOOL Configurabl OFF Yes Yes Yes
alarm shield
e
Troubleshoot
ing mode,
OFF: only
5/
influence
SWFAIL BOOL Configurabl OFF Yes Yes Yes
fault branch
e
ON: all
branches
exit switch
5/
Enable feed
SWFF BOOL Configurabl OFF Yes Yes Yes
forward
e
5/
SWDEB
BOOL Debug mode Configurabl OFF Yes Yes Yes
UG
e
777
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Average
method,
5/
SWAME OFF= output
BOOL Configurabl OFF Yes Yes Yes
ND non-balance,
e
ON= - output
balance
Positive and
negative 5/
SWPN BOOL action, ON= Configurabl OFF Yes Yes Yes
negative e
action
Operatio
n
Paramet
er
Feedback
output high 5/
FPSETH
REAL limit of Configurabl 100.0 Yes Yes No
1
branch flow e
SV 1
Feedback
output low 5/
FPSETL
REAL limit of Configurabl 0.0 Yes Yes No
1
branch flow e
SV 1
Feedback
5/
FPSETV rate limit of
REAL Configurabl 100.0 Yes Yes No
L1 branch flow
e
SV 1
Feedback
output high 5/
FPSETH
REAL limit of Configurabl 100.0 Yes Yes No
2
branch flow e
SV 2
Feedback
output low 5/
FPSETL
REAL limit of Configurabl 0.0 Yes Yes No
2
branch flow e
SV 2
Feedback
5/
FPSETV rate limit of
REAL Configurabl 100.0 Yes Yes No
L2 branch flow
e
SV 2
Feedback
output high 5/
FPSETH
REAL limit of Configurabl 100.0 Yes Yes No
3
branch flow e
SV 3
Feedback
output low 5/
FPSETL
REAL limit of Configurabl 0.0 Yes Yes No
3
branch flow e
SV 3
778
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Feedback
5/
FPSETV rate limit of
REAL Configurabl 100.0 Yes Yes No
L3 branch flow
e
SV 3
Feedback
output high 5/
FPSETH
REAL limit of Configurabl 100.0 Yes Yes No
4
branch flow e
SV 4
Feedback
output low 5/
FPSETL
REAL limit of Configurabl 0.0 Yes Yes No
4
branch flow e
SV 4
Feedback
5/
FPSETV rate limit of
REAL Configurabl 100.0 Yes Yes No
L4 branch flow
e
SV 4
Feedback
output high 5/
FPSETH
REAL limit of Configurabl 100.0 Yes Yes No
5
branch flow e
SV 5
Feedback
output low 5/
FPSETL
REAL limit of Configurabl 0.0 Yes Yes No
5
branch flow e
SV 5
Feedback
5/
FPSETV rate limit of
REAL Configurabl 100.0 Yes Yes No
L5 branch flow
e
SV 5
Feedback
output high 5/
FPSETH
REAL limit of Configurabl 100.0 Yes Yes No
6
branch flow e
SV 6
Feedback
output low 5/
FPSETL
REAL limit of Configurabl 0.0 Yes Yes No
6
branch flow e
SV 6
Feedback
5/
FPSETV rate limit of
REAL Configurabl 100.0 Yes Yes No
L6 branch flow
e
SV 6
Feedback
output high 5/
FPSETH
REAL limit of Configurabl 100.0 Yes Yes No
7
branch flow e
SV 7
Feedback
output low 5/
FPSETL
REAL limit of Configurabl 0.0 Yes Yes No
7
branch flow e
SV 7
779
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Feedback
5/
FPSETV rate limit of
REAL Configurabl 100.0 Yes Yes No
L7 branch flow
e
SV 7
Feedback
output high 5/
FPSETH
REAL limit of Configurabl 100.0 Yes Yes No
8
branch flow e
SV 8
Feedback
output low 5/
FPSETL
REAL limit of Configurabl 0.0 Yes Yes No
8
branch flow e
SV 8
Feedback
5/
FPSETV rate limit of
REAL Configurabl 100.0 Yes Yes No
L8 branch flow
e
SV 8
2-branch 5/
K211 REAL balance 1 Configurabl 100.0 Yes Yes No
coefficient 1 e
2-branch 5/
K212 REAL balance 1 Configurabl 0.5 Yes Yes No
coefficient 2 e
2-branch 5/
K213 REAL balance 1 Configurabl 20 Yes Yes No
coefficient 3 e
2-branch 5/
K221 REAL balance 2 Configurabl 100.0 Yes Yes No
coefficient 1 e
2-branch 5/
K222 REAL balance 2 Configurabl 0.5 Yes Yes No
coefficient 2 e
2-branch 5/
K223 REAL balance 2 Configurabl 20 Yes Yes No
coefficient 3 e
2-branch 5/
K411 REAL balance 1 Configurabl 100.0 Yes Yes No
coefficient 1 e
2-branch 5/
K412 REAL balance 1 Configurabl 0.5 Yes Yes No
coefficient 2 e
2-branch 5/
K413 REAL balance 1 Configurabl 20 Yes Yes No
coefficient 3 e
2-branch 5/
K231 REAL balance 3 Configurabl 100.0 Yes Yes No
coefficient 1 e
2-branch 5/
K232 REAL balance 3 Configurabl 0.5 Yes Yes No
coefficient 2 e
2-branch 5/
K233 REAL balance 3 Configurabl 20 Yes Yes No
coefficient 3 e
780
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
2-branch 5/
K241 REAL balance 4 Configurabl 100.0 Yes Yes No
coefficient 1 e
2-branch 5/
K242 REAL balance 4 Configurabl 0.5 Yes Yes No
coefficient 2 e
2-branch 5/
K243 REAL balance 4 Configurabl 20 Yes Yes No
coefficient 3 e
4-branch 5/
K421 REAL balance 2 Configurabl 100.0 Yes Yes No
coefficient 1 e
2-branch 5/
K422 REAL balance 2 Configurabl 0.5 Yes Yes No
coefficient 2 e
2-branch 5/
K423 REAL balance 2 Configurabl 20 Yes Yes No
coefficient 3 e
8-branch 5/
K81 REAL balance Configurabl 100.0 Yes Yes No
coefficient 1 e
8-branch 5/
K82 REAL balance Configurabl 0.5 Yes Yes No
coefficient 2 e
8-branch 5/
K83 REAL balance Configurabl 20 Yes Yes No
coefficient 3 e
Flow
deviation 5/
FERLMT
REAL limit of Configurabl 100.0 Yes Yes No
21
2-branch e
balance 1
Flow
deviation 5/
TERLMT
REAL limit of Configurabl 100.0 Yes Yes No
21
2-branch e
balance 1
Flow
deviation 5/
FERLMT
REAL limit of Configurabl 100.0 Yes Yes No
22
2-branch e
balance 2
Flow
deviation 5/
TERLMT
REAL limit of Configurabl 100.0 Yes Yes No
22
2-branch e
balance 2
Flow
deviation 5/
FERLMT
REAL limit of Configurabl 100.0 Yes Yes No
41
4-branch e
balance 1
781
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Flow
deviation 5/
TERLMT
REAL limit of Configurabl 100.0 Yes Yes No
41
4-branch e
balance 1
Flow
deviation 5/
FERLMT
REAL limit of Configurabl 100.0 Yes Yes No
23
2-branch e
balance 3
Flow
deviation 5/
TERLMT
REAL limit of Configurabl 100.0 Yes Yes No
23
2-branch e
balance 3
Flow
deviation 5/
FERLMT
REAL limit of Configurabl 100.0 Yes Yes No
24
2-branch e
balance 4
Flow
deviation 5/
TERLMT
REAL limit of Configurabl 100.0 Yes Yes No
24
2-branch e
balance 4
Flow
deviation 5/
FERLMT
REAL limit of Configurabl 100.0 Yes Yes No
42
4-branch e
balance 2
Flow
deviation 5/
TERLMT
REAL limit of Configurabl 100.0 Yes Yes No
42
4-branch e
balance 2
Flow
deviation 5/
FERLMT
REAL limit of Configurabl 100.0 Yes Yes No
8
8-branch e
balance
Flow
deviation 5/
TERLMT
REAL limit of Configurabl 100.0 Yes Yes No
8
8-branch e
balance
Output high
5/
limit of
HLMT21 REAL Configurabl 100.0 Yes Yes No
2-branch
e
balance 1
Output low
5/
limit of
LLMT21 REAL Configurabl -100.0 Yes Yes No
2-branch
e
balance 1
782
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Output high
5/
limit of
HLMT22 REAL Configurabl 100.0 Yes Yes No
2-branch
e
balance 2
Output low
5/
limit of
LLMT22 REAL Configurabl -100.0 Yes Yes No
2-branch
e
balance 2
Output high
5/
limit of
HLMT41 REAL Configurabl 100.0 Yes Yes No
4-branch
e
balance 1
Output low
5/
limit of
LLMT41 REAL Configurabl -100.0 Yes Yes No
4-branch
e
balance 1
Output high
5/
limit of
HLMT23 REAL Configurabl 100.0 Yes Yes No
2-branch
e
balance 3
Output low
5/
limit of
LLMT23 REAL Configurabl -100.0 Yes Yes No
2-branch
e
balance 3
Output high
5/
limit of
HLMT24 REAL Configurabl 100.0 Yes Yes No
2-branch
e
balance 4
Output low
5/
limit of
LLMT24 REAL Configurabl -100.0 Yes Yes No
2-branch
e
balance 4
Output high
5/
limit of
HLMT42 REAL Configurabl 100.0 Yes Yes No
4-branch
e
balance 2
Output low
5/
limit of
LLMT42 REAL Configurabl -100.0 Yes Yes No
4-branch
e
balance 2
Output high
5/
limit of
HLMT8 REAL Configurabl 100.0 Yes Yes No
8-branch
e
balance
Output low
5/
limit of
LLMT8 REAL Configurabl -100.0 Yes Yes No
8-branch
e
balance
Average
method 5/
PB_AVE
REAL proportion Configurabl 100.0 Yes Yes No
1
parameter of e
branch 1
783
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Average
method 5/
TI_AVE1 REAL integral Configurabl 20.0 Yes Yes No
parameter of e
branch 1
Average
method 5/
TD_AVE
REAL differential Configurabl 0.0 Yes Yes No
1
parameter of e
branch 1
Average
method 5/
PB_AVE
REAL proportion Configurabl 100.0 Yes Yes No
2
parameter of e
branch 2
Average
method 5/
TI_AVE2 REAL integral Configurabl 20.0 Yes Yes No
parameter of e
branch 2
Average
method 5/
TD_AVE
REAL differential Configurabl 0.0 Yes Yes No
2
parameter of e
branch 2
Average
method 5/
PB_AVE
REAL proportion Configurabl 100.0 Yes Yes No
3
parameter of e
branch 3
Average
method 5/
TI_AVE3 REAL integral Configurabl 20.0 Yes Yes No
parameter of e
branch 3
Average
method 5/
TD_AVE
REAL differential Configurabl 0.0 Yes Yes No
3
parameter of e
branch 3
Average
method 5/
PB_AVE
REAL proportion Configurabl 100.0 Yes Yes No
4
parameter of e
branch 4
Average
method 5/
TI_AVE4 REAL integral Configurabl 20.0 Yes Yes No
parameter of e
branch 4
Average
method 5/
TD_AVE
REAL differential Configurabl 0.0 Yes Yes No
4
parameter of e
branch 4
784
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Average
method 5/
PB_AVE
REAL proportion Configurabl 100.0 Yes Yes No
5
parameter of e
branch 5
Average
method 5/
TI_AVE5 REAL integral Configurabl 20.0 Yes Yes No
parameter of e
branch 5
Average
method 5/
TD_AVE
REAL differential Configurabl 0.0 Yes Yes No
5
parameter of e
branch 5
Average
method 5/
PB_AVE
REAL proportion Configurabl 100.0 Yes Yes No
6
parameter of e
branch 6
Average
method 5/
TI_AVE6 REAL integral Configurabl 20.0 Yes Yes No
parameter of e
branch 6
Average
method 5/
TD_AVE
REAL differential Configurabl 0.0 Yes Yes No
6
parameter of e
branch 6
Average
method 5/
PB_AVE
REAL proportion Configurabl 100.0 Yes Yes No
7
parameter of e
branch 7
Average
method 5/
TI_AVE7 REAL integral Configurabl 20.0 Yes Yes No
parameter of e
branch 7
Average
method 5/
TD_AVE
REAL differential Configurabl 0.0 Yes Yes No
7
parameter of e
branch 7
Average
method 5/
PB_AVE
REAL proportion Configurabl 100.0 Yes Yes No
8
parameter of e
branch 8
Average
method 5/
TI_AVE8 REAL integral Configurabl 20.0 Yes Yes No
parameter of e
branch 8
785
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Average
method 5/
TD_AVE
REAL differential Configurabl 0.0 Yes Yes No
8
parameter of e
branch 8
Feed
forward 5/
PB_FF1 REAL proportion Configurabl 100.0 Yes Yes No
parameter of e
branch 1
Feed
forward 5/
TI_FF1 REAL integral Configurabl 20.0 Yes Yes No
parameter of e
branch 1
Feed
forward 5/
TD_FF1 REAL differential Configurabl 0.0 Yes Yes No
parameter of e
branch 1
Feed
forward 5/
PB_FF2 REAL proportion Configurabl 100.0 Yes Yes No
parameter of e
branch 2
Feed
forward 5/
TI_FF2 REAL integral Configurabl 20.0 Yes Yes No
parameter of e
branch 2
Feed
forward 5/
TD_FF2 REAL differential Configurabl 0.0 Yes Yes No
parameter of e
branch 2
Feed
forward 5/
PB_FF3 REAL proportion Configurabl 100.0 Yes Yes No
parameter of e
branch 3
Feed
forward 5/
TI_FF3 REAL integral Configurabl 20.0 Yes Yes No
parameter of e
branch 3
Feed
forward 5/
TD_FF3 REAL differential Configurabl 0.0 Yes Yes No
parameter of e
branch 3
Feed
forward 5/
PB_FF4 REAL proportion Configurabl 100.0 Yes Yes No
parameter of e
branch 4
786
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Feed
forward 5/
TI_FF4 REAL integral Configurabl 20.0 Yes Yes No
parameter of e
branch 4
Feed
forward 5/
TD_FF4 REAL differential Configurabl 0.0 Yes Yes No
parameter of e
branch 4
Feed
forward 5/
PB_FF5 REAL proportion Configurabl 100.0 Yes Yes No
parameter of e
branch 5
Feed
forward 5/
TI_FF5 REAL integral Configurabl 20.0 Yes Yes No
parameter of e
branch 5
Feed
forward 5/
TD_FF5 REAL differential Configurabl 0.0 Yes Yes No
parameter of e
branch 5
Feed
forward 5/
PB_FF6 REAL proportion Configurabl 100.0 Yes Yes No
parameter of e
branch 6
Feed
forward 5/
TI_FF6 REAL integral Configurabl 20.0 Yes Yes No
parameter of e
branch 6
Feed
forward 5/
TD_FF6 REAL differential Configurabl 0.0 Yes Yes No
parameter of e
branch 6
Feed
forward 5/
PB_FF7 REAL proportion Configurabl 100.0 Yes Yes No
parameter of e
branch 7
Feed
forward 5/
TI_FF7 REAL integral Configurabl 20.0 Yes Yes No
parameter of e
branch 7
Feed
forward 5/
TD_FF7 REAL differential Configurabl 0.0 Yes Yes No
parameter of e
branch 7
787
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Feed
forward 5/
PB_FF8 REAL proportion Configurabl 100.0 Yes Yes No
parameter of e
branch 8
Feed
forward 5/
TI_FF8 REAL integral Configurabl 20.0 Yes Yes No
parameter of e
branch 8
Feed
forward 5/
TD_FF8 REAL differential Configurabl 0.0 Yes Yes No
parameter of e
branch 8
5/
Temperature
TPS_DB REAL Configurabl 0.0 Yes Yes No
dead zone
e
Model 5/
KPM1 REAL coefficient K Configurabl 1.0 Yes Yes No
of branch 1 e
Model 5/
TPM1 REAL coefficient T Configurabl 10.0 Yes Yes No
of branch 1 e
Model 5/
LPM1 REAL coefficient L Configurabl 2.0 Yes Yes No
of branch 1 e
Model 5/
KPM2 REAL coefficient K Configurabl 1.0 Yes Yes No
of branch 2 e
Model 5/
TPM2 REAL coefficient T Configurabl 10.0 Yes Yes No
of branch 2 e
Model 5/
LPM2 REAL coefficient L Configurabl 2.0 Yes Yes No
of branch 2 e
Model 5/
KPM3 REAL coefficient K Configurabl 1.0 Yes Yes No
of branch 3 e
Model 5/
TPM3 REAL coefficient T Configurabl 10.0 Yes Yes No
of branch 3 e
Model 5/
LPM3 REAL coefficient L Configurabl 2.0 Yes Yes No
of branch 3 e
Model 5/
KPM4 REAL coefficient K Configurabl 1.0 Yes Yes No
of branch 4 e
Model 5/
TPM4 REAL coefficient T Configurabl 10.0 Yes Yes No
of branch 4 e
Model 5/
LPM4 REAL coefficient L Configurabl 2.0 Yes Yes No
of branch 4 e
788
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Model 5/
KPM5 REAL coefficient K Configurabl 1.0 Yes Yes No
of branch 5 e
Model 5/
TPM5 REAL coefficient T Configurabl 10.0 Yes Yes No
of branch 5 e
Model 5/
LPM5 REAL coefficient L Configurabl 2.0 Yes Yes No
of branch 5 e
Model 5/
KPM6 REAL coefficient K Configurabl 1.0 Yes Yes No
of branch 6 e
Model 5/
TPM6 REAL coefficient T Configurabl 10.0 Yes Yes No
of branch 6 e
Model 5/
LPM6 REAL coefficient L Configurabl 2.0 Yes Yes No
of branch 6 e
Model 5/
KPM7 REAL coefficient K Configurabl 1.0 Yes Yes No
of branch 7 e
Model 5/
TPM7 REAL coefficient T Configurabl 10.0 Yes Yes No
of branch 7 e
Model 5/
LPM7 REAL coefficient L Configurabl 2.0 Yes Yes No
of branch 7 e
Model 5/
KPM8 REAL coefficient K Configurabl 1.0 Yes Yes No
of branch 8 e
Model 5/
TPM8 REAL coefficient T Configurabl 10.0 Yes Yes No
of branch 8 e
Model 5/
LPM8 REAL coefficient L Configurabl 2.0 Yes Yes No
of branch 8 e
5/
Estimated
PSTEP REAL Configurabl 20 Yes No No
steps
e
5/
Sampling
TC UINT Configurabl 1.0 Yes No No
cycle
e
adjust
parameter
by reference 5/
LAMD REAL of contrail Configurabl 0.779 Yes No No
dynamic e
response
velocity [0,1]
Alarm
Paramet
er
789
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
5/
UDIN Alarm
ENALM Configurabl 0 Yes Yes No
T Enable
e
Configur
ation
Paramet
er
High limit of 0/
FTTLSC
REAL header pipe Non-config 100.0 No No No
H
flow urable
Low limit of 0/
FTTLSC
REAL header pipe Non-config 0.0 No No No
L
flow urable
High limit of 0/
FPSCH REAL branch flow Non-config 100.0 No No No
PV urable
Low limit of 0/
FPSCL REAL branch flow Non-config 0.0 No No No
PV urable
Branch 0/
TPSCH REAL temperature Non-config 100.0 No No No
high limit urable
Branch 0/
TPSCL REAL temperature Non-config 0.0 No No No
low limit urable
Temperature 0/
TCSSC
REAL in furnace Non-config 100.0 No No No
H
high limit urable
Temperature 0/
TCSSCL REAL in furnace Non-config 0.0 No No No
low limit urable
Unit of 0/
EUTY
FTTLEU header pipe Non-config 0 No No No
PE
flow urable
Unit of 0/
EUTY
FPEU branch flow Non-config 0 No No No
PE
PV urable
Branch 0/
EUTY
TPEU temperature Non-config 0 No No No
PE
unit urable
Temperature 0/
EUTY
TCSEU in furnace Non-config 0 No No No
PE
unit urable
Header pipe 0/
FFTLDL USIN
flow decimal Non-config 3 No Yes No
EN T
digits [0,5] urable
Branch flow 0/
USIN
FPDLEN PV decimal Non-config 3 No Yes No
T
digits [0,5] urable
Branch
0/
USIN temperature
TPDLEN Non-config 3 No Yes No
T decimal
urable
digits [0,5]
790
Function Block Reference
Panel Confirm
Upload Extend
Name Type Description Operation Default Panel
Parameter Parameter
Authority Operation
Temperature
0/
TCSDLE USIN in furnace
Non-config 3 No Yes No
N T decimal
urable
digits [0,5]
2-branch,
0/
RUN_M USIN 4-branch,
Non-config 0 No No No
ODE T 6-branch,
urable
8-branch
ON= auto 0/
MODE_
BOOL back, OFF= Non-config OFF No No No
OPT
manual back urable
The function block panel include: branch temperature alarm page, furnace tube surface
temperature alarm page, input rate alarm page etc. branch model coefficient page shown as
follow.
791
Function Block Reference
792
Function Block Reference
793
Function Block Reference
794
Function Block Reference
795
Function Block Reference
796
Function Block Reference
Function
Initial
Panel Parameter Block Range Application
Value
Parameter
Branch
TPASS1~ Branch temperature is
temperature, 0.0 [TPSCL,TPSCH]
8 overlimit, shown as red.
branches 1~8
Branch flow output, FPSET1~ [FTTLSCL, If branch BKINERR= ON,
0.0
Major panel branches 1~8 8 FTTLSCH] the frame is red.
[FTTLSCL, If header pipe flow PV has
Header pipe flow FTTL 0.000
FTTLSCH] fault, the frame is red.
Set header pipe [FTTLSCL, Read-only, can be set in
FTTLSET 0.000
flow FTTLSCH] configuration or program.
Temperature
Preference deviation dead TPS_DB 0.0 -
zone
797
Function Block Reference
Function
Initial
Panel Parameter Block Range Application
Value
Parameter
If the temperature fault is
Temperature in ON, the frame is red. Fault
furnace, branches TCS1~8 0.0 parameter corresponding to
1~8 TCS1 is TCSERR1, others
are in the same way.
Branch flow PV, FPASS1~
0.000 [FPSCL,FPSCH] -
branches 1~8 FPASS8
RUN_MO
Balance mode 0 - -
DE
Control mode SWMODE 0 - -
Positive and
SWPN OFF - -
negative action
Troubleshooting SWFAIL OFF - -
MODE_O
Restore fault OFF - -
PT
Flow
Branch EI FERLMT2 100.00 Parameter SV of flow
deviatio [FPSCL,FPSCH]
1 0 deviation limit
n limit
Maxim
um FMAXER2 Read-only, can be set in
0.000 [FPSCL,FPSCH]
deviatio 1 configuration or program.
2-branch n
balance Temper
1 ature TERLMT2 100.00 Parameter SV of
[TPSCL,TPSCH]
deviatio 1 0 temperature deviation limit
n limit
Maxim
um TMAXER2 Read-only, can be set in
0.000 [TPSCL,TPSCH]
deviatio 1 configuration or program.
n
Flow
FERLMT2 100.00 Parameter SV of flow
deviatio [FPSCL,FPSCH]
2 0 deviation limit
n limit
Maxim
um FMAXER2 Read-only, can be set in
0.000 [FPSCL,FPSCH]
deviatio 2 configuration or program.
2-branch n
balance Temper
2 ature TERLMT2 100.00 Parameter SV of
[TPSCL,TPSCH]
deviatio 2 0 temperature deviation limit
n limit
Maxim
um TMAXER2 Read-only, can be set in
0.000 [TPSCL,TPSCH]
deviatio 2 configuration or program.
n
2-branch Flow
FERLMT2 100.00 Parameter SV of flow
balance deviatio [FPSCL,FPSCH]
3 0 deviation limit
3 n limit
Maxim
um FMAXER2 Read-only, can be set in
0.000 [FPSCL,FPSCH]
deviatio 3 configuration or program.
n
798
Function Block Reference
Function
Initial
Panel Parameter Block Range Application
Value
Parameter
Temper
ature TERLMT2 100.00 Parameter SV of
[TPSCL,TPSCH]
deviatio 3 0 temperature deviation limit
n limit
Maxim
um TMAXER2 Read-only, can be set in
0.000 [TPSCL,TPSCH]
deviatio 3 configuration or program.
n
Flow
FERLMT2 100.00 Parameter SV of flow
deviatio [FPSCL,FPSCH]
4 0 deviation limit
n limit
Maxim
um FMAXER2 Read-only, can be set in
0.000 [FPSCL,FPSCH]
deviatio 4 configuration or program.
2-branch n
balance Temper
4 ature TERLMT2 100.00 Parameter SV of
[TPSCL,TPSCH]
deviatio 4 0 temperature deviation limit
n limit
Maxim
um TMAXER2 Read-only, can be set in
0.000 [TPSCL,TPSCH]
deviatio 4 configuration or program.
n
Flow
FERLMT4 100.00 Parameter SV of flow
deviatio [FPSCL,FPSCH]
1 0 deviation limit
n limit
Maxim
um FMAXER4 Read-only, can be set in
0.000 [FPSCL,FPSCH]
deviatio 1 configuration or program.
4-branch n
balance Temper
1 ature TERLMT4 100.00 Parameter SV of
[TPSCL,TPSCH]
deviatio 1 0 temperature deviation limit
n limit
Maxim
um TMAXER4 Read-only, can be set in
0.000 [TPSCL,TPSCH]
deviatio 1 configuration or program.
n
Flow
FERLMT4 100.00 Parameter SV of flow
deviatio [FPSCL,FPSCH]
2 0 deviation limit
n limit
Maxim
um FMAXER4 Read-only, can be set in
0.000 [FPSCL,FPSCH]
deviatio 2 configuration or program.
4-branch n
balance Temper
2 ature TERLMT4 100.00 Parameter SV of
[TPSCL,TPSCH]
deviatio 2 0 temperature deviation limit
n limit
Maxim
um TMAXER4 Read-only, can be set in
0.000 [TPSCL,TPSCH]
deviatio 2 configuration or program.
n
799
Function Block Reference
Function
Initial
Panel Parameter Block Range Application
Value
Parameter
Flow
100.00 Parameter SV of flow
deviatio FERLMT8 [FPSCL,FPSCH]
0 deviation limit
n limit
Maxim
um Read-only, can be set in
FMAXER8 0.000 [FPSCL,FPSCH]
deviatio configuration or program.
8-branch
n
balance/
6-branch Temper
balance ature 100.00 Parameter SV of
TERLMT8 [TPSCL,TPSCH]
deviatio 0 temperature deviation limit
n limit
Maxim
um Read-only, can be set in
TMAXER8 0.000 [TPSCL,TPSCH]
deviatio configuration or program.
n
High Branch FPSETL1
100.0 - -
limit es 1~8 ~8
Flow output Branch FPSETL1
limit Low limit 0.0 - -
es 1~8 ~8
Rate Branch FPSETVL
100.0 - -
limit es 1~8 1~8
Differential Output
HLMT21~
method high 100.0 - -
HLMT24
coefficient limit
Output
LLMT21~
low -100.0 - -
2-branch LLMT24
limit
balance
K211~
1~4 K1 100.0 - -
K241
K212~
K2 0.5 - -
K242
K213~
K3 20.0 -
K243
Output
HLMT41~
high 100.0 - -
HLMT42
limit
Output
LLMT41~
low -100.0 - -
4-branch LLMT42
limit
balance
K411~
1~2 K1 100.0 - -
K421
K412~
K2 0.5 - -
K422
K413~
K3 20.0 -
K423
2-branch Output
balance high HLMT8 100.0 - -
limit
Output
low LLMT8 -100.0 - -
limit
K1 K81 100.0 - -
800
Function Block Reference
Function
Initial
Panel Parameter Block Range Application
Value
Parameter
K2 K82 0.5 - -
K3 K83 20.0 - -
Branch
1~ KPM1~
K 1.0 - -
branch KPM8
8
Branch
1~ TPM1~
T 10.0 - -
branch TPM8
8
Branch
1~ LPM1~
Branch L 2.0 - -
branch LPM8
model 8
coefficient
Estimat
ed PSTEP 20 - -
steps
Estimate
d Sampli
paramet ng TC 1.0 - -
er cycle
settings Adjusti
ng
LAMD 0.779
parame
ter
Branch PB_AVE1
1~
P(%) ~ 100.0 - -
branch
PB_AVE8
8
Branch
1~ TI_AVE1~
Average I(s) 20.0 - -
branch TI_AVE8
method 8
parameter
Branch TD_AVE1
1~
D(s) ~ 0.0 - -
branch
TD_AVE8
8
SWAMEN OFF= output non-balance
Output balance OFF -
D ON= output balance
Branch 1~ PB_FF1~
P(%) 100.0 - -
branch 8 PB_FF8
Branch 1~ TI_FF1~
I(s) 20.0 - -
Feed-forwar branch 8 TI_FF8
d parameter Branch 1~ TD_FF1~
D(s) 0.0 - -
branch 8 TD_FF8
OFF= output non-balance
Output balance SWFF OFF -
ON= output balance
Flag Instruction
801
Function Block Reference
Flag Instruction
D0 OOS
D1 IMAN
D2 MAN
D4 AUTO
D5 CAS
D6 FF
D8 AOF
802
Function Block Reference
MAN (manual):
If SWFAIL= OFF
SWAM=ON
When RUN_MODE= 0, if a BKINERR || TPS_ERR=ON or all TPS_ ERR= ON for branch
1 and branch 2, enter into MAN status, not perform balance control.
When RUN_MODE= 1, if 3 BKINERR || TPS_ERR= ON or all TPS_ ERR= ON for
branches 1~4, enter into MAN status.
When RUN_MODE= 2, if 5 BKINERR || TPS_ERR= ON or all TPS_ ERR= ON for
branches 1~6, enter into MAN status.
803
Function Block Reference
If SWFAIL= ON
SWAM= ON
If a channel temperature measurement has fault or BKINERR= ON, enter into MAN
status, not perform balance control.
SWAM= OFF
When RUN_MODE= 0, if at least 1 BKINERR= OFF for branch 1 and branch 2, enter
into MAN status.
When RUN_MODE= 1, if at least 1 BKINERR= OFF for branches 1~4, enter into MAN
status.
When RUN_MODE= 2, if at least 1 BKINERR= OFF for branches 1~6, enter into MAN
status.
When RUN_MODE= 3, if at least 1 BKINERR= OFF for branches 1~ 8, enter into MAN
status.
In manual status, not modify SWAM and SWSV values automatically.
If SWFAIL= OFF
804
Function Block Reference
When RUN_MODE= 0
If no BKINERR || TPS_ERR=ON for branch 1 and branch 2, enter into AUTO mode, and
perform 2-branch balance control.
When RUN_MODE= 1
If 2 BKINERR || TPS_ERR=ON for branches 1~4, enter into AUTO mode, perform
balance control for 2 branches. If one MON BKINERR || TPS_ERR=ON for branches
1~4, enter into AUTO mode, perform balance control for 3 branches. If no BKINERR ||
TPS_ERR=ON, perform 4-branch balance control.
When RUN_MODE= 2
If 4 BKINERR || TPS_ERR=ON for branches 1~ 6, enter into AUTO mode, perform
balance control for 2 branches. If 3 MON BKINERR || TPS_ERR=ON for branches 1~6,
enter into AUTO mode, perform balance control for 3 branches. If 2 BKINERR ||
TPS_ERR=ON for branches 1~6, enter into AUTO mode, perform balance control for 4
branches. If 1 BKINERR || TPS_ERR=ON for branches 1~6, enter into AUTO mode,
perform balance control for 5 branches. If no BKINERR || TPS_ERR=ON for branches
1~6, enter into AUTO mode, perform 6-branch balance control.
When RUN_MODE= 3
If 6 BKINERR || TPS_ERR=ON for branches 1~8, enter into AUTO mode, perform
balance control for 2 branches. If 5 MON BKINERR || TPS_ERR=ON for branches 1~8,
enter into AUTO mode, perform balance control for 3 branches. If 4 BKINERR ||
TPS_ERR=ON for branches 1~8, enter into AUTO mode, perform balance control for 4
branches. If 3 BKINERR || TPS_ERR=ON for branches 1~8, enter into AUTO mode,
perform balance control for 5 branches. If 2 BKINERR || TPS_ERR=ON for branches
1~8, enter into AUTO mode, perform balance control for 6 branches. If 1 BKINERR ||
TPS_ERR=ON for branches 1~ 8, enter into AUTO mode, perform balance control for 7
branches. If no BKINERR || TPS_ERR=ON for branches 1~ 8, enter into AUTO mode,
perform 8-branch balance control.
If SWFAIL= ON, a channel temperature measurement has fault or BKINERR= ON,
enter into MAN status, not perform balance control.
If SWFAIL= OFF
When RUN_MODE= 0
805
Function Block Reference
If no BKINERR || TPS_ERR=ON for branch 1and branch 2, enter into AUTO mode, and
perform 2-branch balance control.
When RUN_MODE= 1
If 2 BKINERR || TPS_ERR=ON for branches 1~4, enter into AUTO mode, perform
balance control for 2 branches. If one MON BKINERR || TPS_ERR=ON for branches
1~4, enter into AUTO mode, perform balance control for 3 branches. If no BKINERR ||
TPS_ERR=ON, perform 4-branch balance control.
When RUN_MODE= 2
If 4 BKINERR || TPS_ERR=ON for branches 1~ 6, enter into AUTO mode, perform
balance control for 2 branches. If 3 MON BKINERR || TPS_ERR=ON for branches 1~6,
enter into AUTO mode, perform balance control for 3 branches. If 2 BKINERR ||
TPS_ERR=ON for branches 1~6, enter into AUTO mode, perform balance control for 4
branches. If 1 BKINERR || TPS_ERR=ON for branches 1~6, enter into AUTO mode,
perform balance control for 5 branches. If no BKINERR || TPS_ERR=ON for branches
1~6, enter into AUTO mode, perform 6-branch balance control.
When RUN_MODE= 3
If 6 BKINERR || TPS_ERR=ON for branches 1~8, enter into AUTO mode, perform
balance control for 2 branches. If 5 MON BKINERR || TPS_ERR=ON for branches 1~8,
enter into AUTO mode, perform balance control for 3 branches. If 4 BKINERR ||
TPS_ERR=ON for branches 1~8, enter into AUTO mode, perform balance control for 4
branches. If 3 BKINERR || TPS_ERR=ON for branches 1~8, enter into AUTO mode,
perform balance control for 5 branches. If 2 BKINERR || TPS_ERR=ON for branches
1~8, enter into AUTO mode, perform balance control for 6 branches. If 1 BKINERR ||
TPS_ERR=ON for branches 1~ 8, enter into AUTO mode, perform balance control for 7
branches. If no BKINERR || TPS_ERR=ON for branches 1~ 8, enter into AUTO mode,
perform 8-branch balance control. If SWFAIL= ON, a channel temperature measurement
has fault or BKINERR= ON, enter into MAN status, not perform balance control.
CAS: cascade
Compare header pipe flow and set flow, assign operation results to output values according to
each branch flow.
When RUN_MODE= 0, if any loop BKINERR= ON for branch 1 and branch 2, or exit cascade
806
Function Block Reference
When RUN_MODE= 1, if any loop BKINERR= ON for branches 1~4, or exit cascade status if
branch temperature PV has fault, enter into AUTO status.
When RUN_MODE= 2, if any loop BKINERR= ON for branches 1~6, or exit cascade status if
branch temperature PV has fault, enter into AUTO status.
When RUN_MODE= 3, if any loop BKINERR= ON for branches 1~ 8, or exit cascade status if
branch temperature PV has fault, enter into AUTO status.
When feed forward, control temperature in furnace. If temperature in furnace has fault, cut the
feed forward of that channel. Feed forward applies present PD control algorithm of proportion
differential.
807
Function Block Reference
13.5.9 Algorithm
Differential method
In differential method, 2 branches form a pair, 4 branches form a group and 8 branches form a set.
2-branch balance
4- branch balance
4-branch balance controls branch flow by PD controller based on two 2-branch balances.
To 4-branch balance controller, SV = (temperature feedback of branch 1 + temperature
feedback of branch 2)/2, PV = (temperature feedback of branch 3 + temperature
feedback of branch 4)/2, and EI= PV - SV.
4-branch balance output = PD controller output.
2-branch balance 1 output 1 = BKIN1 + 2-branch 1 PD controller output + 4-branch
balance output *K212,
2-branch balance 1 output 2 = BKIN2 - 2-branch 1 PD controller output + 4-branch
balance output *(1-K212),
808
Function Block Reference
809
Function Block Reference
6-branch balance
810
Function Block Reference
0, and 2-branch output 1, 2-branch output2, 2-branch output 3 and 2-branch output 4 will
be decreased, while 2-branch output 5 and 2-branch output 6 will be added.
8-branch balance
811
Function Block Reference
Model method
812
Function Block Reference
Model controller
Each branch is approximated as first-order pure time lag by model controller and the
object model is as follows.
Average Method
2-branch balance
4-branch balance
6-branch balance
813
Function Block Reference
8-branch balance
FPSET1= (MV1-AVE )
...
FPSET8= (MV8-AVE )
Alarm
Output of each balance controller must be between its high limit and low limit in
814
Function Block Reference
differential method.
Output of each branch set value must be between its high limit and low limit, and it is
limited by its velocity limit.
When branch 1and branch 2 flows have difference, if branch 1 flow is larger, in 2-branch balance,
branch 1 flow cannot be added, while branch 2 flow cannot be decreased. Vice versa.
When branch 1 and branch 2 temperatures have difference, in positive action, if branch 1
temperature is higher, in 2-branch balance, branch 1 temperature cannot be decreased, while
branch 2 temperature cannot be added, vice versa.
When both temperatures and flows of branch 1 and branch 2 have differences, if actions for
branch are opposite, output according to balance operation.
Differential method:
Difference of branch temperature and all branch temperature average is in TPS_DB, the branch
output keeps.
Function block MOTOR_PT is used for one driver common motor control.
The MOTOR_PT is complex function block. The block performance period is 150μs.
815
Function Block Reference
816
Function Block Reference
817
Function Block Reference
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Parameter Value
Name
Run Enable STO - Lights on when STT=ON
Group Control MA - Lights on when MA=ON
State Ready R - Lights on when R=ON
Information Run A - Lights on when A=ON
Fault F - Lights on when F=ON
Drive C - Lights on when C=ON
Alarm Response
A_ALM - Lights on when A_ALM=ON
Information Fault
818
Function Block Reference
Function
Block Initial
Panel Parameter Name Value Range Application Instruction
Parameter Value
Name
Ready Lose R_ALM - Lights on when R_ALM=ON
Safe Stop FO - Lights on when FO=ON
Process Stop LKO - Lights on when LKO=ON
Start the single machine
Run STR -
(STR=ON)
Stop the single machine
Stop STP -
(STP=ON)
Operate
Reset CLR - Alarm reset
Unlock the technical interlock
Unlock SLK -
(SLK=ON)
Interlock LK √ Technical interlock (LK=ON)
13.6.3 Function Block Flag Code
Table 13-18 Flag
819
Function Block Reference
Function block MOTOR_FM is used for positive/negative rotating motor control with position limit.
The MOTOR_FM is complex function block. The block performance period is 150μs.
820
Function Block Reference
821
Function Block Reference
822
Function Block Reference
When RRN, FRN and SQF are all OFF and SQR is ON, the bit is
3 RRN, FRN , SQF , SQR
1. Otherwise, it is 0.
Running alarm output. If ALM=ON, this bit is 1 and other bits are
4 ALM
all 0. If ALM=OFF, this bit is 0.
Note:
1) If feedback signal of positive run isn”t received (FRN=OFF) within time TM1 after positive
drive with device is delivered, running lose alarm will be generated. When R=ON, if
positive drive signal disappears and feedback signal of positive run does not disappear
(FRN=ON) after time TM3, running lose alarm will be generated too. So does the reverse
case. When alarm reset CLR=ON, alarm will be reset.
2) When positive drive is delivered and positive feedback is received, if positive limit SQF
does not turn OFF within time TM2, position limit lose alarm will be generated. So does
the reverse case. When alarm reset CLR=ON, alarm will be reset.
Function
Block Initial Value
Panel Parameter Name Application Instruction
Parameter Value Range
Name
State Combined GROUP - Lights on when GROUP=ON
Information
Ready R - Lights on when R=ON
Positive FRN - Lights on when FRN=ON
Positive DF - Lights on when DF=ON
823
Function Block Reference
Function
Block Initial Value
Panel Parameter Name Application Instruction
Parameter Value Range
Name
Positive SQF - Lights on when SQF=ON
Reverse RRN Lights on when RRN=ON
Reverse DR Lights on when DR=ON
Invert SQR - Lights on when SQR=ON
Response A_ALM - Lights on when A_ALM=ON
Alarm
Information Ready R_ALM - Lights on when R_ALM=ON
Limit Fault S_ALM - Lights on when S_ALM=ON
Direct M_DF - Start the single machine directly
Reverse M_DR - Start the single machine reversely
824
Function Block Reference
To achieve the switch control of field valve as shown in Figure 13-5, and can be operated in flow
chart.
Dual-DI (Spacing) Dual-DI (Running) Dual-DO (Driver) Valve motor driven valve refers to device to
achieve valave performer switch control via direct/reverse motor driver. Valve switch status is
shown by dual-DI feedbacks. When valve control is applied, on DO and off driver should keep
output, and stop DO output when reached spacing. It is often used for limited direct/reverse motor
control, such as winding motor, motor driven door and flashboard valve.
Figure 13-5 Dual-DI (Spacing) Dual-DI (Running) Dual-DO (Driver) Valve Diagram
Its program is shown below, which applied MOTOR_FM and the upper computer can control DO
via function block tag.
825
Function Block Reference
Figure 13-6 Valve Program of Dual-DI (Spacing) Dual-DI (Running) Dual-DO (Driver)
Corresponding Tag
No. Function Block Pin Description Remarks
Type
Input Parameter
001 R Ready DI Input M1501_READY
826
Function Block Reference
When the operation parameter SHSLK in basic parameter is OFF, the interlock button on
flow chart device panel truns grey, when it is ON, the interlock button can be operated.
When the operation parameter CSLK in basic parameter is ON, interlock is started
automatically.
Alarm Settings
When the operation parameter TM1 in basic parameter is set as 3s, it means that there is
no DI running feedback in the 3s after outputing DO driver, alarm generates (supervision
parameter A_ALM and output parameter ALM is ON), driver output is canceled (the time
is adjustable).
When the operation parameter TM2 in basic parameter is set as 30s, it means that there
is no spacing running feedback in the 30s after outputing DO driver, alarm space is
limited (supervision parameter S_ALM and output parameter ALM is ON), driver output is
canceled (the time is adjustable).
When the operation parameter TM3 in basic parameter is set as 3s, it means that there is
DI running feedback in the 3s after canceling DO driver, alarm generates (supervision
827
Function Block Reference
parameter A_ALM and output parameter ALM is ON), driver output is canceled (the time
is adjustable).
Figure 13-7 Valve Instrument Panel of Dual-DI (Spacing) Dual-DI (Running) Dual-DO (Driver)
Function block MOTOR_SIM is used for one driver common motor control. The function block can
do simulation run.
The MOTOR_SIM is complex function block. The block performance period is 150μs.
828
Function Block Reference
829
Function Block Reference
830
Function Block Reference
831
Function Block Reference
832
Function Block Reference
If have not ready signal then show STA=5. It isn”t affected by simulation;
If have ready signal but exist equipment failure at one time then show STA=3. It isn”t affected by
simulation;
If have ready signal and have not equipment failure signal input but exist running fault then show
STA=4. when simulation have not this item;
When have ready signal and no equipment failure input and no running fault, if have running
feedback then STA=1 else STA=2. when simulation result rest with operation command.
833
Function Block Reference
Monitoring
Flag Description
Assign
D2 Disable Group control device startup/stop operation(PCMD_B)
D3 - -
D4 Disable Ready(R_B)
D5 Disable running(A_B)
D6 Disable Device fault(F_B)
D7 Disable Emergency stop(ESTP_B)
D8 Disable Craft interlock(LK_B)
D9 Enable(STT) Startup enable input(STT_B)
D10 Disable Device drive(C_B)
D11 Disable Alarm output(ALM_B)
D12 Enable(MSTR) Stand-alone device startup input(MSTR_B)
D13 Enable(MSTP) Stand-alone device stop input(MSTP_B)
D14 Enable(CLR) Alarm reset(CLR_B)
D15 Enable(SLK) Craft interlock remove input(SLK_B)
D16 - -
D17 - -
D18 Disable Ready lose alarm output(R_ALM_B)
D19 Disable Running alarm output(A_ALM_B)
D20 Disable Output for device safe interlock status(STO_B)
D21 Disable Output for device craft interlock(LKO_B)
D22 Disable Running fault(FO_B)
D23 Enable(SWSIM) Simulation switch(SWSIM_B)
D24~29 - -
D30 Enable(AOF) Alarm shield(AOF)
13.8.3 Logic Time Sequencing
Table 13-27 start-up/stop/drive/alarm logic sequencing list
Device Drive
Device Control Mode Control Element
Status
Group control startup R=ON, STT=ON, LK=ON, PCMD=ON Out is ON
(MA=ON) stop ALM=ON or ESTP=ON or PCMD=OFF Out is OFF
Stand-alone startup R=ON, STT=ON, LK=ON, MSTR up-jump Out is ON
control
(MA=OFF) stop ALM=ON or ESTP=ON or MSTP up-jump Out is OFF
One
SWOUT=OFF C
drive
Output mode
Two
SWOUT=ON RUN and STOP
drive
Alarm status (ALM=ON) F=ON or R=OFF or A=OFF C=OFF
(DIO21V_SIM)
DIO-21V function block enables control and interlock protect to dual DI feedback/single DO output
equipment by last level sequence control command or operator operating. Monitoring can use
834
Function Block Reference
The function block can simulation running. The function block direction for use respect to direction
of DIO-21V. Valve control function block with simulation
The DIO21V_SIM is complex function block. The block performance period is 150μs.
Application
Name Description Upload Properties
Reference
Device Run time
(Unit: s)
Basic Mode If the device run time
Operation
Parameters Settings TOC greater then TOC TRUE -
parameter
value and not
feedback, then output
OPEL=ON
Whether to Confirm
Running Fault.
(ON=Yes).
OPFLA Operation
It is active with TRUE -
CK parameter
interlock and
MAN/AUTO
command.
Whether to Eliminate
running Failure
Auto(ON=Auto).
When AUTOCLR=ON
and OPFL=ON, if
recover status
feedback then
AUTO Operation
OPEL=OFF. TRUE -
CLR parameter
When
AUTOCLR=OFF and
OPFL=ON, then
OPEL=OFF after
recover status
feedback and
acknowledgement.
Input Command
IGNOR Operation
Shield Alarm TRUE -
ALM parameter
(OFF=NO)
835
Function Block Reference
Application
Name Description Upload Properties
Reference
Whether to Output
Command Ignore
Feedback.
If the value is ON
If the value is ON then
then DO is not
IGNOR currently output Do Operation
TRUE affected by OPFL
STA not judge feedback parameter
else DO is
status; if the value is
affected by OPFL
OFF then currently
output judge feedback
status.
Output Safety Mode
SAFE_ Selection(OFF=Not Operation
TRUE -
OPT Reset Output, parameter
ON=Reset Output)
Extended OPNST Open Status
- Input pin Connect to DI
Parameters A Feedback
CLSST Close Status
- Input pin Connect to DI
A Feedback
Command Input
Connect to
PCMD (ON=Open - Input pin
upstream block.
OFF=Close)
EMOP Interlock Open Connect to
- Input pin
N Command upstream block.
Input Pin
Interlock Close Connect to
EMCLS - Input pin
Command upstream block.
OPNP Open Permission Connect to
TRUE Input pin
RM Signal upstream block.
CLSPR Close Permission Connect to
TRUE Input pin
M Signal upstream block.
Manual-automatic
Connect to
SWAM Switch (ON=Auto - Input pin
upstream block.
OFF=Manual)
Simulation switch.
If SWSIM=OFF then
the valve function
block not have
simulation and DO
output normal; if Connect to
SWSIM - Input pin
SWSIM=ON then upstream block.
Simulatio valve function block
n have simulation
function and block
calculation value do
not output to DO.
DO output select
switch. Operation
SWDO TRUE -
(OFF=output, ON=not parameter
output)
Output DO Output - Output pin Connect to DO
Pin
ALM alarm - Output pin -
836
Function Block Reference
Application
Name Description Upload Properties
Reference
Indication of Device
Status.
STA=1: FAIL=OFF,
OPFL=OFF,
OPNSTA=ON;
STA STA=2: FAIL=OFF, - Output pin -
OPFL=OFF,
CLSSTA=ON;
STA=3: FAIL=ON;
STA=4: FAIL=OFF,
OPFL=ON
Enabled Operation
AOF Module Alarm shield TRUE -
and parameter
Suppress FLAG Flag code - Output pin -
Device Fault.
If OPNSTA=ON and Monitoring
FAIL - -
CLSSTA=ON then parameter
FAIL=ON
If OPFL=ON then
new command
input
Running Fault Monitoring
OPFL - ineffectiveness; if
(ON=Fault). parameter
OPEL=OFF then
new command
input effective
Device Running
Status STAOP Monitoring
Status - -
N parameter
Indication(ON=Open)
STACL Device Stop Status Monitoring
- -
S Indication(ON=Close) parameter
Function Block Monitoring
MODE Note1 - -
Mode(Observe) parameter
Open Command
OPNFL Monitoring
Output - -
AG parameter
Process(Observe)
Close Command
CLSFL Monitoring
Output - -
AG parameter
Process(Observe)
Function block is OOS
OOS SWOO Operation
Status when TRUE -
Settings S parameter
SWOOS=ON
Manual Command
Operation
Operation MCMD (ON=Open - -
parameter
Paramete OFF=Close)
r Operation
MACK Manual Confirm - -
parameter
Note1:
OOS(MODE=1)
837
Function Block Reference
When SWOOS=ON, function block is in OOS status and does not respond to
command output. The output maintains.
When function block is not in OOS status, and input interlock open or interlock close
command, function block turns to interlock mode. Interlock command input adopts
positive transmission check.
When both interlock open, interlock close commands are inputted, the system does
not respond to interlock command.
When interlock open command is inputted first and interlock close command is
inputted in effective time of interlock open command, execute interlock open
command first and then interlock close command after interlock open command is
over.
When interlock close command is inputted first and interlock open command is
inputted in effective time of interlock close command, execute interlock close
command first and then interlock open command after interlock close command is
over.
The validity of interlock command is restricted by open/close enable (OPNPRM,
CLSPRM), device fault FAIL and running fault OPFL. Running fault limit can be
shielded by OPFLACK, FAIL and OPFL limit can be shielded by IGNORALM.
When function block is not in all statuses above, it is in manual /auto selection mode.
Automatic status output instruction is decided by PCMD and manual status output
instruction is by MCMD.
Man/auto command input adopts positive transmission check.
If interlock open EMOPN is continuously ON, then manual close and auto close
command disables.
If interlock close EMCLS is continuously ON, then manual open and auto open
command disables.
The validity of man/auto command is restricted by open/close enable (OPNPRM,
CLSPRM), device fault FAIL and running fault OPFL. Running fault limit can be
shielded by OPFLACK. FAIL and OPFL limit can be shielded by IGNORAM.
13.9.2 Function Block Flag Code
Table 13-29 Flag
838
Function Block Reference
Supervision
Flag Description
Assignment
Enable
D0 Tag Disable (OOS)
(SWOOS)
D1 - -
D2 - -
D3 Disable Interlock Open (EMOPN_B)
D4 Disable Interlock Close (EMCLS_B)
D5 Disable Manual (MAN_B)
D6 Enable (SWAM) Auto (AUTO_B)
D7 - -
D8 - -
D9 Disable Running Fault (OPFL_B)
D10 Disable Device Fault (FAIL_B)
D11 Disable Device Open Status (STAOPN_B)
D12 Disable Device Close Status (STACLS_B)
D13 - -
D14 - -
D15 - -
D16 Enable (EMOPN) Interlock Open Condition Indication (EMOPN_B)
D17 Enable (EMCLS) Interlock Close Condition Indication (EMCLS_B)
D18 Enable (AOF) Alarm Suppression (AOF)
D19 - -
Enable
D20 Open Permission Indication (OPNPRM_B)
(OPNPRM)
Enable
D21 Close Permission Indication (CLSPRM_B)
(CLSPRM)
D22 Enable (MCMD) Manual Command (MCMD_B)
D23 Enable (MACK) Acknowledge (MACK_B)
D24 Enable (SWSIM) Simulation switch (SWSIM_B)
839
Function Block Reference
FOUNDATION Fieldbus (FF) is a fieldbus for process control developed by Fieldbus FOUNDATION. FF
provides the Function Block (FB) for user layer as basic unit for control engineer to perform control
application. FB is a software logic process unit taking data structure as the core, to execute an
independent and completed control function, and provides diagnosis and alarm functions.
Function block of filed device consists of FF standard function block and customized function block
of manufacturer.
ECS-700 system provides mapping function block for each FF standard function block. For
example, mapping function blocks FFAI, FFPID, FFAO are provided to correspond to FF standard
function blocks AI, PID, AO separately. For customized function block of manufacturer,
FFCUSTOM is provided for unified mapping.
Mapping function block represents the FF field device function block in DCS, by which to achieve
real-time monitoring, control scheme configuration, alarm collection and real-time control can be
achieved in ECS-700 system. Mapping function block connecting standard function block can
achieve mixed control.
14.1.1 Modes
Supported and Permitted Modes
All blocks have a mode parameter, which consists of Target Mode, Actual mode, Permit Mode,
Normal Mode.
MODE_TRG
It is user-defined and should be an option of MODE_PER. Only one target mode can
be set at one time.
MODE_ACT
The actual mode is worked out by FF function block combining target mode, input
parameter status and other parameter (such as track switch), etc.
MODE_PER
It is user-defined and should be mode for the function block type permitted by FF
protocol. Several modes can be set once. IMAN and LO cannot be options of
Permitted Mode.
840
Function Block Reference
MODE_NR
Mode Definition
FF standard protocol provides 8 modes, which sorted by priority are OOS > IMAN > LO > MAN >
AUTO > CAS > RCAS > ROUT.
OOS
IMAN
When the downstream function block is not in CAS mode or not use the output
parameter of upstream function block to calculate output, the upstream function block
enters IMAN mode.
LO
For control function block like FFPID, when SWTR = ON, and the function block cannot
meet higher priority condition, it enters LO mode, and the output is track input value. For
output function block FFAO, when the target mode is CAS, and the input value from
upstream function block cannot meet the condition to enter CAS mode, output hold or
failsafe value.
MAN
AUTO
CAS
Activate function block control algorithm. Calculate output value via CSV (FF parameter
CAS_IN) set by upstream block. It connects BKOUT (FF parameter BKCAL_OUT) with
upstream function block and achieve non-reference switch o between modes.
RCAS
841
Function Block Reference
Activate function block control algorithm. Like CAS, while using RSVI (FF parameter
RCAS_IN) to calculate output value. It connects RSVO (FF parameter RCAS_OUT) with
upstream block to achieve non-reference switch between modes.
ROUT
Like MAN, while it is given by outer program via ROI (FF parameter ROUT_IN), but not
by operator manually. It connects ROO (FF parameter ROUT_OUT) with upstream block
to achieve non-reference switch between modes.
14.1.2 I/O Block Channel Setting
Function blocks of input and output include FFAI, FFAO, FFDI, FFDO, FFMAI, FFMAO, FFMDI,
FFMDO, etc. They work with transducer blocks to achieve input and output of field signal.
Single-input/output blocks, such as FFAI, FFAO, FFDI, FFDO, can associate with transducer block
via CHANNEL.
Multi-input/output blocks, such as FFMAI, FFMAO, FFMDI, FFMDO, perform multi-channel mode
settings via CHANNEL. There are 2 methods, associate by fixed sequence, or each channel
perform single channel setting separately.
The number, serial number and measuring type of transducer block are different for different
device. Thus, one FFAI block has different channel values for different transducer block of device.
Please refer to the device user manual for details. The channel value is valid transducer block
serial number of device, the type of transducer block corresponding to channel value should be
same with the block type. FFAI block cannot associate with a transducer block of Discrete.
If the channel is set illegally, the device will generates alarm or not receive write-in of illegal value.
Only function blocks of output, i.e. FFAO, FFDO, FFMAO, FFMDO, support failsafe function.
Time counting will be started once the device function block detects fault. When the accumulated
time reaches FST_TIME, output function block activates failsafe function and enters LO mode,
keep output value or output FST_VAL, to achieve protection for field when fault occurs.
Conditions trigger starting fault time accumulation including communication failure, status of
cascade input pin is GoodCascade_Initiate Fault State, and power down restart.
User can set "Fault State to Value" and "Use Fault State Value on restart" of IO_OPTS,
MO_OPTS to use the output fault value of block when failsafe function is activated.
842
Function Block Reference
ERR
ERR will be generated when the mapping function block detects that the fault of AM712
has accumulated to 8s, or corresponding device lost, or configuration mismatched.
When the alarm generates, the mapping function block will stop updating data of device
function block.
FF_ALARM
When BLOCK_ERR is not 0, FF_ALARM is generated.
Each mapping function block supports 4 extend pins, P01 and P02 of REAL and P03, P04 of
USINT. Extend pin corresponds to the pin parameter of extend parameter/custom parameter in FF
device function block, and set as input or output pin. Except that, FF mapping function block has
no extend parameter and custom parameter.
In extend pin setting interface, user can build mapping relationship between extend pin and FF
custom parameter via selecting FF custom parameter.
Only when FF extend pin connects DCS function block, the mapping function block can update
data. When mapping function block connects or does not connect FF pin, the operations for FF
843
Function Block Reference
device function block can be performed normally, while mapping function block cannot update
date.
STATUS_OPTS
Propagate Fault
4 - - Optional Optional - -
Backward
Target to Manual
5 - - - - - Optional
if BAD IN
6 Uncertain if Limited Optional - - - - -
7 BAD if Limited Optional - - - - -
8 Uncertain if Man mode Optional Optional - - - -
Target to next permitted
9 - - - - - Optional
mode if BAD CAS_IN
Target to Man if BAD
10 - - - - - Optional
TRK_IN_D
11 IFS if BAD TRK_IN_D - - - - - Optional
844
Function Block Reference
CONTROL_OPTS
Pin of FF function block consists of value and status. FF protocol defines the status specification,
please refer to it for details.
When pins of two function blocks connect, the value and status of pin will be sent from upstream
block to downstream block as a whole. The status transition of parameter is only valid for input and
output pins. Parameter with status of FF device function block consists of value and _STA.
The status parameter of mapping function block consists of value, _STA and _ERR.
Connect the 2 FF pins to achieve transition between value and status, and keep the
status process function of FF function block.
Calculate _ERR via _STA.
845
Function Block Reference
FF Input Pin
Achieve the value transition from DCS pin to FF input pin via the connection.
Calculate _STA via _ERR.
FF Output Pin
Achieve the value transition from FF output pin to DCS pin via the connection.
Calculate _ERR via _STA.
14.2.1 Pin Status Instruction
Table 14-4 Pin Status Instruction of Mapping Function Block
ERR>STA STA>ERR
FFAI
When in status of GoodNC or GoodC, ERR =
OUT - OFF,
otherwise ERR=ON.
FFPID
846
Function Block Reference
ERR>STA STA>ERR
When STA is GoodC_NonSpecific, ERR = OFF,
BKOUT -
otherwise ERR=ON.
FFDI
When in status of GoodNC or GoodC, ERR =
OUT - OFF,
otherwise ERR=ON.
FFDO
When in status of GoodNC or GoodC, ERR =
ERR = OFF, STA = GoodC_NS;
CSV OFF,
ERR = ON, STA = Bad
otherwise ERR=ON.
When in status of GoodNC or GoodC, ERR =
OUT - OFF,
otherwise ERR=ON.
When STA is GoodC_NonSpecific, ERR = OFF,
BKOUT -
otherwise ERR=ON.
FFMAI
When in status of GoodNC or GoodC, ERR =
OUT1~8 - OFF,
otherwise ERR=ON.
FFMAO
When in status of GoodNC or GoodC, ERR =
ERR = OFF, STA = GoodC_NS;
IN1~8 OFF,
ERR = ON, STA = Bad
otherwise ERR=ON.
FFMDI
When in status of GoodNC or GoodC, ERR =
OUT1~8 - OFF,
otherwise ERR=ON.
FFMDO
When in status of GoodNC or GoodC, ERR =
ERR = OFF, STA = GoodC_NS;
IN1~8 OFF,
ERR = ON, STA = Bad
otherwise ERR=ON.
FFISEL
When in status of GoodNC or GoodC, ERR =
ERR = OFF, STA = GoodC_NS;
IN1~4 OFF,
ERR = ON, STA = Bad
otherwise ERR=ON.
When in status of GoodNC or GoodC, ERR =
ERR = OFF, STA = GoodC_NS;
DIS1~4 OFF,
ERR = ON, STA = Bad
otherwise ERR=ON.
When in status of GoodNC or GoodC, ERR =
ERR = OFF, STA = GoodC_NS;
OP_SEL OFF,
ERR = ON, STA = Bad
otherwise ERR=ON.
When in status of GoodNC or GoodC, ERR =
OUT - OFF,
otherwise ERR=ON.
When in status of GoodNC or GoodC, ERR =
SEL - OFF,
otherwise ERR=ON.
FFCTLSL
When in status of GoodNC or GoodC, ERR =
ERR = OFF, STA = GoodC_NS;
IN1~3 OFF,
ERR = ON, STA = Bad
otherwise ERR=ON.
RR = OFF, STA = GoodC_NS; When STA is GoodC_NonSpecific, ERR = OFF,
BKIN
ERR = ON, STA = Bad otherwise ERR=ON.
847
Function Block Reference
ERR>STA STA>ERR
When STA is GoodC_NonSpecific or
BKOUT
- GoodC_NotSelect, ERR = OFF,
1~3
otherwise ERR=ON.
When in status of GoodNC or GoodC, ERR =
OUT - OFF,
otherwise ERR=ON.
FFARTHM
When in status of GoodNC or GoodC, ERR =
ERR = OFF, STA = GoodC_NS;
IN OFF,
ERR = ON, STA = Bad
otherwise ERR=ON.
When in status of GoodNC or GoodC, ERR =
ERR = OFF, STA = GoodC_NS;
IN1~3 OFF,
ERR = ON, STA = Bad
otherwise ERR=ON.
When in status of GoodNC or GoodC, ERR =
ERR = OFF, STA = GoodC_NS;
IN_L OFF,
ERR = ON, STA = Bad
otherwise ERR=ON.
When in status of GoodNC or GoodC, ERR =
OUT - OFF,
otherwise ERR=ON.
FFINT
When in status of GoodNC or GoodC, ERR =
ERR = OFF, STA = GoodC_NS;
IN1~2 OFF,
ERR = ON, STA = Bad
otherwise ERR=ON.
When in status of GoodNC or GoodC, ERR =
ERR = OFF, STA = GoodC_NS;
RIN OFF,
ERR = ON, STA = Bad
otherwise ERR=ON.
When in status of GoodNC or GoodC, ERR =
ERR = OFF, STA = GoodC_NS;
REV1~2 OFF,
ERR = ON, STA = Bad
otherwise ERR=ON.
When in status of GoodNC or GoodC, ERR =
OUT - OFF,
otherwise ERR=ON.
When in status of GoodNC or GoodC, ERR =
PTRP - OFF,
otherwise ERR=ON.
When in status of GoodNC or GoodC, ERR =
TRIP - OFF,
otherwise ERR=ON.
FFSGCR
When in status of GoodNC or GoodC, ERR =
ERR = OFF, STA = GoodC_NS;
IN1~2 OFF,
ERR = ON, STA = Bad
otherwise ERR=ON.
When in status of GoodNC or GoodC, ERR =
OUT1~2 - OFF,
otherwise ERR=ON.
FFSPLIT
BKIN1~ ERR = OFF, STA = GoodC_NS; When STA is GoodC_NonSpecific, ERR = OFF,
2 ERR = ON, STA = Bad otherwise ERR=ON.
When in status of GoodNC or GoodC, ERR =
ERR = OFF, STA = GoodC_NS;
CSV OFF,
ERR = ON, STA = Bad
otherwise ERR=ON.
When STA is GoodC_NonSpecific, ERR = OFF,
BKOUT -
otherwise ERR=ON.
848
Function Block Reference
ERR>STA STA>ERR
When in status of GoodNC or GoodC, ERR =
MV1~2 - OFF,
otherwise ERR=ON.
14.2.2 Notice of FF and DCS Blocks
Different Result with only FF connection.
For single loop, the upstream PID is FF device function block, AO function block is DCS
block. If fault of AO occurs, the BKINERR of upstream FFPID block connected is ON, the
BKIN _STA value of FFPID is GoodC_NI. FFPID enters IMAN.
If AO function block is FF device function block, when fault (communication fault with
field) of AO occurs, _STA of BKIN is Bad_NoCommuWithLUV. FFPID enters IMAN,
while the BKIN status of FFPID will be different in 2 configurations.
For others, because the process of FF block is different with DCS block, for the same
program, applying FF block or DCS block will generate different results.
For example, when FFPID calculates IN_STA via IN_ERR, information loss will occur.
IN_ERR is provided by AI block of DCS, i.e. ERR pin of AI. Conditions when ERR=ON
include communication failure, AI block fault, AI channel fault. Sub-status cannot be
confirmed via ERR = ON. Thus, when IN_ERR=ON, set _STA as Bad_NonSpecific, the
sub-status information has a loss.
Because the write status cannot get the limit information of input, the sending _STA will
not contain limit information. If FFPID connects AO, and its BKIN loses limit information,
the anti-integral saturation function of FFPID will be influenced. For example, when the
downstream AO reaches maximum output, and FFPID does not reach limit, because
there is no limit information feedback to FFPID via BKIN, thus the integral will continue
accumulation till the limit of FFPID, and FFPID enters the saturation area of a range (AO
limit, FFPID limit).
849
Function Block Reference
14.3 FFAI
14.3.1 Overview
FFAI block represents the field device function block AI, by which DCS can monitor and control the
field device AI.
FF
Application
Parameter Name Description Upload Property Parameter
Instruction
Name
Signal Operatio
Basic PV_FTI Filter Time n Not filter when it
Convert TRUE PV_FTIME
Parameters ME Constant Paramete is 0.
Setting
r
Configura Associate
CHAN tion transducer block
Channel TRUE CHANNEL
NEL Paramete in the same type
r of device.
850
Function Block Reference
FF
Application
Parameter Name Description Upload Property Parameter
Instruction
Name
IO options. It
can be viewed Configura
Enable functions
IO_OP and configured tion
TRUE IO_OPTS of low cutoff and
TS by clicking Paramete
units conversion.
“Settings” r
button.
Signal
conversion
type. It can be Configura
Set the signal
L_TYP viewed and tion
TRUE L_TYPE conversion
E configured by Paramete
method.
clicking r
“Settings”
button.
Status options.
It can be
Configura
viewed and Process when
STA_O tion STATUS_O
configured by TRUE parameter status
PTS Paramete PTS
clicking is illegal.
r
“Settings”
button.
Configura
OUT_S Output Scale H tion OUT_SCAL
TRUE
CH Limit Paramete E
r
Configura
OUT_S Output Scale H tion OUT_SCAL
TRUE
CL Limit Paramete E
r Work for OUT
Configura and PV.
OUT_E tion OUT_SCAL
Output Unit TRUE
U Paramete E
r
Configura
OUT_D Output Decimal tion OUT_SCAL
TRUE
LEN Digits Paramete E
Scale r
Setting Configura Set the H/L limits
XD_SC Field Signal tion as same as
TRUE XD_SCALE
H Scale H Limit Paramete range of
r corresponding
Configura transducer
XD_SC Field Signal tion block, and the
TRUE XD_SCALE unit as same as
L Scale H Limit Paramete
r transducer
block. The unit
Configura type should be
Field Signal tion supported by
XD_EU TRUE XD_SCALE
Unit Paramete transducer
r block.
Configura Otherwise, the
XD_DL Field Signal tion function block
TRUE XD_SCALE
EN Decimal Digits Paramete will be in OOS
r mode.
Extended Output Output
OUT Output Value - OUT -
Parameters Pin Pin
851
Function Block Reference
FF
Application
Parameter Name Description Upload Property Parameter
Instruction
Name
OUT_E Output
Output Quality - - -
RR Pin
Output status, it
can be viewed
OUT_S Output
by clicking - OUT -
TA Pin
“Settings”
button.
Block alarm, it
Monitorin
can be viewed
BLCK_ g BLOCK_ER
by clicking - -
ERR Paramete R
“Settings”
r
button.
Monitorin
g
H H Limit Alarm - HI_ALM
Paramete
r
Monitorin
g
HH HH Limit Alarm - HI_HI_ALM ON when the
Paramete
Alarm alarm occurs.
r
Indication Alarm is
Monitorin generated by
g device.
L L Limit Alarm - LO_ALM
Paramete
r
Monitorin
g LO_LO_AL
LL LL Limit Alarm -
Paramete M
r
Monitorin
g
FLAG Flag - -
Paramete
r
Monitorin Detected value
Real FLD_V Raw Input g of hardware
Status - FIELD_VAL
AL Value Paramete channel,
r percentage.
Raw input
status, it can be Monitorin
FLD_S viewed by g
- FIELD_VAL
TA clicking Paramete
“Settings” r
button.
Process value of
Monitorin
hardware
g
PV Process Value - PV channel,
Paramete
engineering
r
value.
Process Value
Status, it can Monitorin
PV_ST be viewed by g
- PV
A clicking Paramete
“Settings” r
button.
852
Function Block Reference
FF
Application
Parameter Name Description Upload Property Parameter
Instruction
Name
When static
Monitorin parameter
ST_RE - g changes, the
Static Revision ST_REV
V Paramete static revision
r will be
incremented.
Actual mode, it
Monitorin
can be viewed Actual mode of
MODE g
by clicking - MODE_BLK running function
_ACT Paramete
“Settings” block.
r
button.
In OOS and
Operatio MAN modes,
Manual
MANO n change
Operate Output TRUE -
UT Paramete MANOUT can
Value
r change output
value directly.
Target mode. It
can be viewed Operatio Target mode
MODE and configured n should be one of
Operate TRUE MODE_BLK
_TRG by clicking Paramete the permit
Command “Settings” r modes.
button.
Permit mode. It
can be viewed Operatio
MODE and configured n
TRUE MODE_BLK Permit Mode
_PRM by clicking Paramete
“Settings” r
button.
Normal mode.
Normal mode
It can be
Operatio provides
viewed and
MODE n guidance and
configured by TRUE MODE_BLK
_NR Paramete has no influence
clicking
r for control
“Settings”
algorithm.
button.
Operatio
Suppress n
AOF TRUE -
Module Alarm Paramete
r
Operatio
Automatically
ACK_O n ACK_OPTI
Acknowledged TRUE
PT Paramete ON
Alarm Options
r
Alarm Operatio
Managem Enable Suppress/
n ALARM_SU
ent ENALM Fieldbus Alarm TRUE Enable alarm in
Paramete M
in Device device.
r
Enable alarm in
controller, it can
Operatio
be viewed and Suppress/
ENALM n
configured by TRUE - Enable
_EX Paramete
clicking Controller Alarm
r
“Settings”
button.
853
Function Block Reference
FF
Application
Parameter Name Description Upload Property Parameter
Instruction
Name
Operatio
Signal
LOW_ Low Cutoff n
Convert TRUE LOW_CUT Actual Value
CUT Value Paramete
Setting
r
Operatio
ALM_H Alarm n ALARM_HY
TRUE Unit: Percentage
YS Hysteresis Paramete S
r
Operatio
HH_LI n
HH Alarm Limit TRUE HI_HI_LIM
M Paramete
r
Operatio
n
H_LIM H Alarm Limit TRUE HI_LIM
Paramete
Alarm
r
Limits
Setting
H Limit Alarm of
Operatio OUT
n
L_LIM L Alarm Limit TRUE LO_LIM
Paramete
r
Operatio
n
LL_LIM LL Alarm Limit TRUE LO_LO_LIM
Paramete
r
Extend pin
of actual
configuratio
Extend Extend n
Pin P01 Extend Pin1 - -
Pin associated
device
function
block
Extend pin
status of
Extend Pin1
actual
status, it can be
configuratio
P01_S viewed by Extend
- n -
TA clicking Pin
associated
“Settings”
device
button.
function
block
Extend pin
of actual
configuratio
Extend n
P02 Extend Pin2 - -
Pin associated
device
function
block
854
Function Block Reference
FF
Application
Parameter Name Description Upload Property Parameter
Instruction
Name
Extend pin
status of
Extend Pin2
actual
status, it can be
configuratio
P02_S viewed by Extend
- n -
TA clicking Pin
associated
“Settings”
device
button.
function
block
Extend pin
of actual
configuratio
Extend n
P03 Extend Pin3 - -
Pin associated
device
function
block
Extend pin
status of
Extend Pin3
actual
status, it can be
configuratio
P03_S viewed by Extend
- n -
TA clicking Pin
associated
“Settings”
device
button.
function
block
Extend pin
of actual
configuratio
Extend n
P04 Extend Pin4 - -
Pin associated
device
function
block
Extend pin
status of
Extend Pin4
actual
status, it can be
configuratio
P04_S viewed by Extend
- n -
TA clicking Pin
associated
“Settings”
device
button.
function
block
14.3.3 Instruction Details
Schematic of AI
855
Function Block Reference
Algorithm
Scale Setting
XD_SCALE
XD_SCH and XD_SCL are applied to the value the channel to produce the FIELD_VAL
in percent. Thus, the limits of range should be same with transducer block. Otherwise,
difference between output value and actual value will be generated.
The XD_EU unit must be same with the corresponding transducer block. Otherwise, the
function block will be in OOS mode.
XD_DLEN is applied when function block getting channel value from transducer block. It
will influence the later control precision.
OUT_SCALE
OUT_SCH and OUT_SCL determine the conversion from FIELD_VAL to output. PV and
OUT always have identical scaling.
OUT_EU is normally set as the unit of transducer measuring signal.
OUT_DLEN will only work for display but has no influence for control precision.
Signal Conversion
856
Function Block Reference
FIELD_VAL = 100* (channel value - Scale H Limit)/ (Scale H Limit - Scale H Limit). The
scale is XD scale.
Set L_TYPE as no conversion
PV = channel value.
Set L_TYPE as linear conversion
PV = (FIELD_VAL/100) * (Scale H Limit - Scale H Limit) + Scale H Limit (The scale is
OUT scale).
Set L_TYPE as linear conversion
PV = sqrt (FIELD_VAL/100) * (Scale H Limit - Scale H Limit) + Scale H Limit (The scale
is OUT scale).
Low Cutoff
If IO_OPTS selects Low Cutoff, the Low Cutoff will be performed. When input signal is
less than Low Cutoff Value, AI value is 0% of scale, and equal to Scale H Limit.
Low Cutoff Value is Actual Value.
Filter
The first order hysteresis filter performed by input AI signal can prevent from high/low
frequency interference, eliminate serious random interference and interference of large
input jump caused by unsteady field transducer.
Filter time is PV_FTIME, when PV_FTIME = 0, no filter.
Supported Mode
Alarm Types
The function block can perform alarm process, including HH, H, L, LL, for OUT, each
can has hysteresis.
Panel
Input tag name in supervision to pop up the operation panel of FF block, the device
panel displays OUT trend.
Other
FFAI does not support the setting of simulation function block and parameter alarm
priority. Simulation function block can be set via FFBuilder.
857
Function Block Reference
14.3.4 Flag
Flag Instruction
D0 OOS (Actual mode)
D1 -
D2 -
D3 MAN (Actual mode)
D4 AUTO (Actual mode)
D5 -
D6 -
D7 -
D8 FF_ALARM (BLOCK_ERR Fault Occurs)
D9 -
D10 -
D11 PVL
D12 PVLL
D13 PVH
D14 PVHH
D15 -
D16 OUTH
D17 OUTL
D18 -
D19 -
D20 -
D21 -
D24 -
D25 -
D26
D27 CFGERR
D28 -
D29 ERR
D30 Alarm Suppress (AOF)
D31 -
858
Function Block Reference
14.4 FFPID
14.4.1 Overview
FFPID block represents the field device function block PID, by which DCS can monitor and control
the field device PID.
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
859
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Operation
SVRL SV Velocity L SP_RATE_D
TRUE Paramete
_LIM Limit Value N
r
Control Configure
options, It can functions such
be viewed Configurat as bypass, SV
CTR_ and ion CONTROL_O track,
TRUE
OPTS configured by Paramete PTS direct/indirect
clicking r acting, track
“Settings” mode and
button. output limit, etc.
Options
Setting
Status
options. It can
be viewed Configurat
Function
STA_ and ion STATUS_OP
TRUE configuration of
OPTS configured by Paramete TS
status.
clicking r
“Settings”
button.
Configurat
Scale FF_S FF_VAL Scale ion
Setting TRUE FF_SCALE
CH High Limit Paramete
r
Configurat
FF_S FF_VAL Scale ion
TRUE FF_SCALE
CL Low Limit Paramete
r Parameter of
Configurat FF_VAL Scale
FF_VAL
FF_E ion
Engineering TRUE FF_SCALE
U Paramete
Unit
r
Configurat
FF_D FF_VAL ion
TRUE FF_SCALE
LEN Decimal Digits Paramete
r
Configurat
MV_S MV Scale H ion
TRUE OUT_SCALE
CH Limit Paramete
r
Configurat
MV_S MV Scale H ion
TRUE OUT_SCALE
CL Limit Paramete
r Parameter of
Configurat MV Scale
MV
MV_E ion
Engineering TRUE OUT_SCALE
U Paramete
Unit
r
Configurat
MV_D MV Decimal ion
TRUE OUT_SCALE
LEN Digits Paramete
r
860
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Configurat
PV_S PV Scale H ion
TRUE PV_SCALE
CH Limit Paramete
r
Configurat
PV_S PV Scale H ion
TRUE PV_SCALE
CL Limit Paramete
r Parameter of PV
Configurat and SV Scales
PV
PV_E ion
Engineering TRUE PV_SCALE
U Paramete
Unit
r
Configurat
PV_D PV Decimal ion
TRUE PV_SCALE
LEN Digits Paramete
r
Configurat
TR_S TV Scale H ion
TRUE TRK_SCALE
CH Limit Paramete
r
Configurat
TR_S TV Scale H ion
TRUE TRK_SCALE
CL Limit Paramete
r
Configurat
TV Parameter of TV
TR_E ion
Engineering TRUE TRK_SCALE Scale
U Paramete
Unit
r
Configurat
TR_D TV Decimal ion
TRUE TRK_SCALE
LEN Digits Paramete
r
Connect to
BKOUT pin of
downstream
Extended Input function block,
Feedback
Parameters Pin BKIN - Input Pin BKCAL_IN and achieve
Input
troubleshooting
and
anti-saturation
functions.
When the
downstream is
DCS function
BKIN Feedback
- Input Pin - block, connect
ERR Input Quality
to the
BKOUTERR
pin.
861
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Feedback
input status. It
can be viewed
BKIN and
- Input Pin - -
_STA configured by
clicking
“Settings”
button.
Cascade input
SV, assigned by
Cascade
CSV - Input Pin CAS_IN program link.
Input
Used in CAS
mode.
CSV_ Cascade
- Input Pin - -
ERR Input Quality
Cascade input
status. It can
be viewed
CSV_ and
- Input Pin CAS_IN -
STA configured by
clicking
“Settings”
button.
Analog Input Process variable
IN - Input Pin IN
Value input value.
When AI is DCS
tag, if PID is
required to
IN_E Analog Input
- Input Pin - process AI fault,
RR Value Quality
it could connect
ERR pin of AI
tag.
Analog input
value status. It
can be viewed
IN_ST and
- Input Pin IN -
A configured by
clicking
“Settings”
button.
FF_V Feedforward
- Input Pin FF_VAL -
AL Value
FF_E Feedforward
- Input Pin - -
RR Value Quality
862
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Feedforward
status. It can
be viewed
FF_S and
- Input Pin FF_VAL -
TA configured by
clicking
“Settings”
button.
Work with
“Track Enable”
SWT function of
Track Switch - Input Pin TRK_IN_D
R CTR_OPTS to
enable track
function.
SWT
Track Switch
R_ER - Input Pin - -
Quality
R
Track switch
status. It can
be viewed
SWT
and
R_ST - Input Pin TRK_IN_D -
configured by
A
clicking
“Settings”
button.
Track Input Input Value in
TV - Input Pin TRK_VAL
Value LO Mode
TV_E Track Input
- Input Pin - -
RR Value Quality
Track input
value status. It
can be viewed
TV_S and
- Input Pin TRK_VAL -
TA configured by
clicking
“Settings”
button.
Output Operation Output
MV - OUT -
Pin Output Value Pin
Operation
MV_E Output
Output Value - - -
RR Pin
Quality
Operation
output status,
it can be
MV_S Output
viewed by - OUT -
TA Pin
clicking
“Settings”
button.
If the upstream
function block
BKOU Feedback Output supporting
- BKCAL_OUT
T Output Value Pin feedback,
connect to its
BKIN pin.
863
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
If the upstream
function block
supports
BKOU Feedback Output feedback and is
- -
TERR Output Status Pin DCS function
block, connect
to its BKINERR
pin.
Feedback
output status,
it can be
BKO_ Output
viewed by - BKCAL_OUT -
STA Pin
clicking
“Settings”
button.
Remot Remote Operation RCAS mode,
e RSVI Setpoint TRUE Paramete RCAS_IN SV calculation
Params Value r source.
Remote
setpoint
status. It can
be viewed Operation
RSVI
and TRUE Paramete RCAS_IN -
_STA
configured by r
clicking
“Settings”
button.
Feedback
output value in
Remote Operation RCAS mode,
RSVO Cascade TRUE Paramete RCAS_OUT connect to BKIN
Output r of function block
providing RSVI
parameter.
Remote
cascade
output status.
It can be Operation
RSVO
viewed and TRUE Paramete RCAS_OUT -
_STA
configured by r
clicking
“Settings”
button.
Input Value of Operation
ROUT mode,
ROI Remote TRUE Paramete ROUT_IN
input value.
Output Mode r
864
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Input status of
remote output
mode. It can
be viewed Operation
ROI_
and TRUE Paramete ROUT_IN -
STA
configured by r
clicking
“Settings”
button.
In ROUT mode,
feedback output
Output Value Operation value, connects
ROO of Remote TRUE Paramete ROUT_OUT with BKIN pin of
Output Mode r function block
providing ROI
parameter.
Output status
of remote
output mode It
can be viewed Operation
ROO_
and TRUE Paramete ROUT_OUT -
STA
configured by r
clicking
“Settings”
button.
Block alarm, it
Alarm Monitorin
can be viewed
Indicati BLCK g
by clicking - BLOCK_ERR -
on _ERR Paramete
“Settings”
r
button.
Monitorin
g
FLAG Flag - - -
Paramete
r
Monitorin Alarm indication.
Deviation g ON when device
PEI - DV_HI_ALM
High Alarm Paramete generates the
r alarm.
Monitorin
Deviation Low g
NEI - DV_LO_ALM
Alarm Paramete
r
Monitorin
g
PVHH PV HH Alarm - HI_HI_ALM
Paramete
r
Monitorin
g
PVH PV H Alarm - HI_ALM
Paramete
r
Monitorin
g
PVL PV L Alarm - LO_ALM
Paramete
r
865
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Monitorin
g
PVLL PV LL Alarm - LO_LO_ALM
Paramete
r
Process variable
Monitorin value of IN after
g processing such
PV Process Value - PV
Paramete as filter, count
r output value
with SV.
Process Value
Status, it can Monitorin
PV_S be viewed by g
- PV -
Real TA clicking Paramete
Status “Settings” r
button.
It will be
Monitorin
incremented
ST_R Static - g
ST_REV each time a
EV Revision Paramete
static parameter
r
is changed.
Operation
Suppress
AOF TRUE Paramete - -
Module Alarm
r
Enable
fieldbus alarm
in device. It
can be viewed Operation
ENAL Controller Alarm
and TRUE Paramete
M Enabled
Alarm configured by r
Manag clicking
ement “Settings”
button.
Enable alarm
in controller. It
can be viewed
Operation
ENAL and Device Alarm
TRUE Paramete -
M_EX configured by Enabled
r
clicking
“Settings”
button.
Actual mode,
Operat it can be Monitorin
e MOD
viewed by g
Comm E_AC - MODE_BLK Actual mode
clicking Paramete
and T
“Settings” r
button.
In OOS and
Manual Operation
MAN MAN modes,
Operate TRUE Paramete -
MV change MANMV
Output Value r
to change MV.
Operation Setpoint Value,
Setpoint
SV TRUE Paramete SP count output
Value
r value with PV.
866
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Setpoint value
status. It can
be viewed
Operation
SV_S and
TRUE Paramete SP -
TA configured by
r
clicking
“Settings”
button.
Target mode.
It can be
Target mode, it
MOD viewed and Operation
should be one of
E_TR configured by TRUE Paramete ALARM_SUM
the permitted
G clicking r
modes.
“Settings”
button.
Permit mode.
It can be
MOD viewed and Operation
E_PR configured by TRUE Paramete ALARM_SUM Permit Mode
M clicking r
“Settings”
button.
Normal mode.
It can be
Supporting
viewed and Operation
MOD mode, not
configured by TRUE Paramete ALARM_SUM
E_NR influence the
clicking r
control logic.
“Settings”
button.
Operation
FF_G Feedforward
TRUE Paramete FF_GAIN -
AIN Gain Value
r
Bypass. It can
be viewed
Advanc and Operation
ed BYPA
configured by TRUE Paramete BYPASS Bypass Switch
Options SS
clicking r
“Settings”
button.
Operation
PV_F Filter Time Filter time. Not
TRUE Paramete PV_FTIME
TIME Constant filter when it is 0.
r
Final
proportional
PID Operation
Proportional coefficient.
Params KP TRUE Paramete GAIN
Gain Value Proportional
r
action varies
with KP.
867
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Integral Time.
Unit: seconds.
Operation
Less the TI is,
TI Integral Time TRUE Paramete RESET
the more
r
powerful integral
action is.
Derivative Time.
Operation
Derivative Unit: seconds.
TD TRUE Paramete RATE
Time Derivative action
r
varies with TD.
Process Value Operation
ALM_
Alarm TRUE Paramete ALARM_HYS -
HYS
Hysteresis r
Operation
PEI_L H Deviation
TRUE Paramete DV_HI_LIM -
IM Alarm Limit
r
Operation
NEI_L L Deviation
TRUE Paramete DV_LO_LIM -
IM Alarm Limit
r
Alarm Operation
Limits PVHH PVHH Limit
TRUE Paramete HI_HI_LIM -
Setting _LIM Alarm Value
r
Operation
PVH_ PVH Limit
TRUE Paramete HI_LIM -
LIM Alarm Value
r
Operation
PVL_ PVL Limit
TRUE Paramete LO_LIM -
LIM Alarm Value
r
Operation
PVLL PVLL Limit
TRUE Paramete LO_LO_LIM -
_LIM Alarm Value
r
Manual Slow Operation
SMV Increase/Decr TRUE Paramete - -
ease Value r
868
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Extend pin of
actual
Extend configuration
P01 Extend Pin1 - -
Pin associated
device
function block
Extend pin
Extend Pin1
status of
status, it can
actual
P01_ be viewed by Extend
- configuration -
STA clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P02 Extend Pin2 - -
Pin associated
device
function block
Extend
Pin Extend pin
Extend Pin2
status of
status, it can
actual
P02_ be viewed by Extend
- configuration -
STA clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P03 Extend Pin3 - -
Pin associated
device
function block
Extend pin
Extend Pin3
status of
status, it can
actual
P03_ be viewed by Extend
- configuration -
STA clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P04 Extend Pin4 - -
Pin associated
device
function block.
869
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Extend pin
status
Extend Pin4 parameter
status, it can supported by
P04_ be viewed by Extend device
- -
STA clicking Pin function block
“Settings” associating
button. based on
actual
configuration.
14.4.3 Instruction Details
Schematic of PID
14.4.4 Algorithm
Input Process
PID performs first-order filter to work out PV, the filter time is PV_FTIME. PV and SV
calculate the output value.
SV Process
870
Function Block Reference
Direct/Indirect Action
Set the Direct/Indirect Action via changing Direct Acting options of CTR_OPTS.
Selected means direct acting, unselected means indirect action.
Bypass
If the bypass is enabled, output is equal to the value of SP after scale conversion.
PID Algorithm
Output Limit
Feedforward Action
After scale switch, add FF_VAL to PID algorithm Output. For example, if FF_VAL is BAD,
apply last good value for calculation.
Supported Modes
871
Function Block Reference
AUTO: Target Mode is AUTO, and not meets the condition of high priority. Operator
change the SV, count Output Value with PV.
CAS: Target Mode is CAS, and not meets the condition of high priority. SV is
worked out via CSV set by upstream, and count Output Value with PV. Provide
BKOUT feedback to upstream block.
RCAS: Target Mode is RCAS, and not meets the condition of high priority. SV is
worked out via RSVI, and count Output Value with PV. Provide RSVO feedback to
upstream block.
ROUT: Target Mode is ROUT, and not meets the condition of high priority. ROUT is
like manual mode, while Output Value is set by ROI. Provide ROO feedback to
upstream block.
Among them, CAS, RCAS, ROUT modes can be run with upstream block.
Upstream/downstream blocks are all needed, and through the 4 pins. For example, in
CAS mode, the block initialization should be achieved via status transmission of the 4
pins, BKIN and OUT of upstream block and CSV and BKOUT of downstream block.
User can build the relation of block upstream/downstream, or via pin assignment
association in program.
Alarm
Process Alarm from Device: 1. The function block can perform alarm process, including
HH, H, L, LL, for OUT, each can has hysteresis. 2. Perform H/L limit alarm for deviation.
Process alarm from FFPID.
Unified ERR and FF_ALARM alarms.
MVH and MVL of output.
SVH and SVL of SV.
Panel
Input tag name in supervision to pop up the operation panel of FF block, the device
panel displays MV, PV, SV trends.
Other
872
Function Block Reference
Flag Instruction
D0 OOS (Actual mode)
D1 IMAN (Actual mode)
D2 LO (Actual mode)
D3 MAN (Actual mode)
D4 AUTO (Actual mode)
D5 CAS (Actual mode)
D6 RCAS (Actual mode)
D7 ROUT (Actual mode)
D8 FF_ALARM (BLOCK_ERR Fault Occurs)
D9 NEI
D10 PEI
D11 PVL
D12 PVLL
D13 PVH
D14 PVHH
D15 -
D16 MVH
D17 MVL
D18 SVH
D19 SVL
D20 -
D21 -
D24 -
D25 -
D26
D27 CFGERR
D28 -
D29 ERR
D30 Alarm Suppress (AOF)
D31 -
873
Function Block Reference
14.5 FFAO
14.5.1 Overview
FFAO block represents the field device function block AO, by which DCS can monitor and control
field device AO.
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
874
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Configurat
PV
ion
PV_EU Engineering TRUE PV_SCALE
Paramete
Unit
r
Configurat
PV_DLE PV Decimal ion
TRUE PV_SCALE
N Digits Paramete
r
Configurat
Field Signal
XD_SC ion
Scale H TRUE XD_SCALE
H Paramete
Limit
r
Configurat
Field Signal
ion
XD_SCL Scale H TRUE XD_SCALE
Paramete
Limit
r Used by OUT
Configurat and RBACK.
Field Signal ion
XD_EU TRUE XD_SCALE
Unit Paramete
r
Configurat
Field Signal
XD_DLE ion
Decimal TRUE XD_SCALE
N Paramete
Digits
r
875
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
When
upstream block
is DCS
Feedback function block,
BKOUT Output
Output - - connect the pin
ERR Pin
Status to BKINERR
pin of
upstream
block.
Feedback
output
status, it can
BKO_ST Output
be viewed by - BKCAL_OUT -
A Pin
clicking
“Settings”
button.
Block alarm,
it can be Monitorin
BLCK_E viewed by g
- BLOCK_ERR -
RR clicking Paramete
Alarm r
“Settings”
Indicatio
button.
n
Monitorin
g
FLAG Flag - -
Paramete
r
Monitorin Original check
Process g or simulation,
PV - PV
Value Paramete PV_SCAL
r scale.
Process
Value Status,
Monitorin
it can be
g
PV_STA viewed by - PV
Paramete
clicking
r
“Settings”
button.
Monitorin Original check
Read Back g or simulation,
Real RBACK - READBACK
Value Paramete XD_SCALE
Status r scale.
Read Back
Value status,
Monitorin
it can be
RBACK_ g
viewed by READBACK -
STA Paramete
clicking
r
“Settings”
button.
When static
Monitorin parameter
Static g changes, the
ST_REV - ST_REV
Revision Paramete static revision
r will be
incremented.
876
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Actual
mode, it can Monitorin
MODE_ be viewed by g
- MODE_BLK -
ACT clicking Paramete
“Settings” r
button.
Change the
Manual parameter in
Operation
MANOU Operate OOS and MAN
TRUE Paramete -
T Output modes, to
r
Value change OUT
parameter.
Operation
Setpoint
SV TRUE Paramete SP -
Value
r
Setpoint
value status.
It can be
Operation
viewed and
SV_STA TRUE Paramete SP -
configured
r
by clicking
“Settings”
Operate button.
Comma
Target
nd
mode. It can
be viewed
Operation
MODE_ and
TRUE Paramete MODE_BLK -
TRG configured
r
by clicking
“Settings”
button.
Permit
mode. It can
be viewed
Operation
MODE_ and
TRUE Paramete MODE_BLK -
PRM configured
r
by clicking
“Settings”
button.
Normal
mode. It can
be viewed
Operation
MODE_ and
TRUE Paramete MODE_BLK -
NR configured
r
by clicking
“Settings”
button.
Alarm Suppress Operation
Manage AOF Module TRUE Paramete - -
ment Alarm r
877
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Enable
alarm in
controller. It
can be Operation Mapping
ENALM_
viewed and TRUE Paramete - function block
EX
configured r alarm enabled.
by clicking
“Settings”
button.
Remote Operation In RCAS
RSVI Cascade TRUE Paramete RCAS_IN mode, input
Input r value.
Remote
setpoint
status. It can
be viewed Operation
RSVI_S
and TRUE Paramete RCAS_IN -
TA
configured r
by clicking
“Settings”
button.
Remote Monitorin In RCAS
Params Remote
g mode,
RSVO Cascade TRUE RCAS_OUT
Paramete feedback
Output
r output value.
Remote
cascade
output
status. It can Monitorin
RSVO_ be viewed g
TRUE RCAS_OUT -
STA and Paramete
configured r
by clicking
“Settings”
button.
Activate
Advance Operation failsafe
d FST_TI Failure Time, FSTATE_TIM
TRUE Paramete function when
Options ME (Unit: S) E
r reaching the
failure time.
Output the
value when
“Fault State to
Operation Value” of
FST_VA
Fault Value TRUE Paramete FSTATE_VAL IO_OPTS
L
r enabled and
failsafe
function
activated.
878
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Action of
remote
control
timeout. It
Operation
SHED_ can be
TRUE Paramete SHED_OPT -
OPT viewed and
r
configured
by clicking
“Settings”
button.
Extend pin of
actual
Extend Extend configuration
Pin P01 Extend Pin1 - -
Pin associated
device
function block
Extend pin
Extend Pin1
status of
status, it can
actual
P01_ST be viewed by Extend
- configuration -
A clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P02 Extend Pin2 - -
Pin associated
device
function block
Extend pin
Extend Pin2
status of
status, it can
actual
P02_ST be viewed by Extend
- configuration -
A clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P03 Extend Pin3 - -
Pin associated
device
function block
Extend pin
Extend Pin3
status of
status, it can
actual
P03_ST be viewed by Extend
- configuration -
A clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P04 Extend Pin4 - -
Pin associated
device
function block.
879
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Extend pin
status
Extend Pin4 parameter
status, it can supported by
P04_ST be viewed by Extend device
- -
A clicking Pin function block
“Settings” associating
button. based on
actual
configuration.
14.5.3 Instruction Details
Schematic of AO
Algorithm
Channel Setting
Associate function block and transducer via CHANNEL. Details refer to 14.1.2I/O Block
Channel Setting.
SV Process
In CAS mode, SP can be worked out by CAS_IN. In RCAS mode, SP can be worked out
by RCAS_IN.
Perform H/L limits for SV via SP_HI_LIM, SP_LO_LIM. Perform rate limit for SV via
SP_RATE_DN, SP_RATE_UP 对 SV.
Direct/Indirect Action
Set the direct/indirect action of AO via “Increase to close” option of IO_OPTS. When
enabled, invert the output value of AO in scale AO, and output to corresponding channel.
880
Function Block Reference
Signal Conversion
Supported Modes
Failsafe Function
Counting time started once the fault of block is detected. When it reaches FST_TIME,
failsafe function is activated. Keep output or output fault value. Details please refer to
14.1.3 Failsafe Function.
Panel
Input tag name in supervision to pop up the operation panel of FF block, the device
panel displays OUT trends.
Other
881
Function Block Reference
14.5.4 Flag
Flag Instruction
D0 OOS (Actual mode)
D1 IMAN (Actual mode)
D2 TR (Actual mode)
D3 MAN (Actual mode)
D4 AUTO (Actual mode)
D5 CAS (Actual mode)
D6 RCAS (Actual mode)
D7 -
D8 FF_ALARM (BLOCK_ERR Fault Occurs)
D9 -
D10 -
D11 -
D12 -
D13 -
D14 -
D15 -
D16 OUTH
D17 OUTL
D18 SVH
D19 SVL
D20 -
D21 -
D24 -
D25 -
D26
D27 CFGERR
D28 -
D29 ERR
D30 Alarm Suppress (AOF)
D31 -
882
Function Block Reference
14.6 FFDI
14.6.1 Overview
FFDI block represents the field device function block DI, by which DCS can monitor and control
the field device DI.
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Associate
Configurat
transducer
CHAN ion
Channel TRUE CHANNEL block with
NEL Paramete
same type of
r
device.
Configure
IO options. It
“Invert”
can be
Configurat options,
viewed and
IO_OP ion whether to
Signal configured TRUE IO_OPTS
Basic TS Paramete invert when
Convert by clicking
Parameters r saving field
Setting “Settings”
detecting
button.
value to PV.
Status
options. It
can be Configurat
STA_O viewed and ion STATUS_OPT
TRUE -
PTS configured Paramete S
by clicking r
“Settings”
button.
Extended Output
OUT Output Value - OUT_D -
Parameters Pin
OUT_E Output Output
- - -
RR Quality Pin
Output
Output
Pin
status, it can
OUT_S be viewed by Output
- OUT_D -
TA clicking Pin
“Settings”
button.
Block alarm,
Alarm it can be Monitorin
Indicatio BLCK_ viewed by g
- BLOCK_ERR -
n ERR clicking Paramete
“Settings” r
button.
Monitorin
DISC_ g Discrete
Switch Alarm - DISC_ALM
ALM Paramete Alarm
r
883
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Monitorin
g
FLAG Flag - -
Paramete
r
Monitorin Detecting
FLD_V Raw Input g Value of
- FIELD_VAL_D
AL Value Paramete Hardware
r Channel
Raw input
status, it can Monitorin
FLD_S be viewed by g
- FIELD_VAL_D -
TA clicking Paramete
“Settings” r
button.
Monitorin
Real Process g
PV - PV_D -
Status Value Paramete
r
Process
Value Status,
Monitorin
it can be
PV_ST g
viewed by - PV_D -
A Paramete
clicking
r
“Settings”
button.
Monitorin
ST_RE Static g
- ST_REV -
V Revision Paramete
r
Actual
Operate mode, it can Monitorin
Comma MODE be viewed by g
- MODE_BLK Actual mode
nd _ACT clicking Paramete
“Settings” r
button.
In OOS and
Manual MAN modes,
Operation
MANO Operate change
TRUE Paramete -
UT Output MANOUT to
r
Value change
Output Value.
Target
mode. It can
Target mode
be viewed
Operation should be
MODE and
TRUE Paramete MODE_BLK one of the
_TRG configured
r permitted
by clicking
modes.
“Settings”
button.
Permit
mode. It can
be viewed
Operation
MODE and
TRUE Paramete MODE_BLK Permit Mode
_PRM configured
r
by clicking
“Settings”
button.
884
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Normal
mode. It can
be viewed
Operation
MODE and
TRUE Paramete MODE_BLK Normal Mode
_NR configured
r
by clicking
“Settings”
button.
Suppress Operation
AOF Module TRUE Paramete - -
Alarm r
Enable
fieldbus
alarm in
Alarm device. It
Manage Operation
can be
ment ENALM TRUE Paramete ALARM_SUM -
viewed and
r
configured
by clicking
“Settings”
button.
Enable
alarm in
controller. It
can be Operation
ENALM
viewed and TRUE Paramete - -
_EX
configured r
by clicking
“Settings”
button.
Signal Operation
PV_FTI Filter
Convert TRUE Paramete PV_FTIME -
ME Constant
Setting r
Operation
OUT_S Output
TRUE Paramete OUT_STATE -
Status TT status
r
Definitio
n Operation
XD_ST State of Field
TRUE Paramete XD_STATE -
T Value
r
Extend pin of
actual
Extend Extend configuration
Pin P01 Extend Pin1 - -
Pin associated
device function
block
885
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Extend pin of
actual
Extend configuration
P02 Extend Pin2 - -
Pin associated
device function
block
Extend Pin2 Extend pin
status, it can status of actual
P02_S be viewed by Extend configuration
- -
TA clicking Pin associated
“Settings” device function
button. block
Extend pin of
actual
Extend configuration
P03 Extend Pin3 - -
Pin associated
device function
block
Extend Pin3 Extend pin
status, it can status of actual
P03_S be viewed by Extend configuration
- -
TA clicking Pin associated
“Settings” device function
button. block
Extend pin of
actual
Extend configuration
P04 Extend Pin4 - -
Pin associated
device function
block.
Extend pin
status
Extend Pin4 parameter
status, it can supported by
P04_S be viewed by Extend device function
- -
TA clicking Pin block
“Settings” associating
button. based on
actual
configuration.
14.6.3 Instruction Details
Schematic of DI
886
Function Block Reference
Algorithm
Filter Process
Direct/Indirect Action
Supported Modes
Panel
Input tag name in supervision to pop up the operation panel of FF block, the device
panel displays OUT trends.
Other
Flag Instruction
D0 OOS (Actual mode)
D1 -
D2 -
D3 MAN (Actual mode)
D4 AUTO (Actual mode)
D5 -
D6 -
D7 -
D8 FF_ALARM (BLOCK_ERR Fault Occurs)
D9 -
887
Function Block Reference
Flag Instruction
D10 -
D11 -
D12 -
D13 -
D14 -
D15 DISC_ALM (Discrete Status Alarm )
D16 -
D17 -
D18 -
D19 -
D20 -
D21 -
D24 -
D25 -
D26
D27 CFGERR
D28 -
D29 ERR
D30 Alarm Suppress (AOF)
D31 -
888
Function Block Reference
14.7 FFDO
14.7.1 Overview
FFDO block represents the field device function block DO, by which DCS can monitor and control
the field device DO.
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Associate
Configurat
transducer
CHAN ion
Channel TRUE CHANNEL block with
NEL Paramete
same type of
r
device.
Configure
IO options. It
process
can be
Configurat variable invert,
viewed and
IO_OP ion track options of
configured TRUE IO_OPTS
TS Paramete SV, failsafe
Signal by clicking
Basic r mode and
Convert “Settings”
Parameters output invert,
Setting button.
etc.
Whether
Status generate alarm
options. It and transition
can be Configurat when it is in
STA_O viewed and ion STATUS_OP statuses such
TRUE
PTS configured Paramete TS as
by clicking r configuration
“Settings” performer fault/
button. LO Activation/
failsafe start.
Extended Cascade
CSV - Input Pin CAS_IN_D -
Parameters Input
CSV_E Cascade
- Input Pin - -
RR Input Quality
Cascade
Input Pin input status.
It can be
CSV_S viewed and
- Input Pin CAS_IN_D -
TA configured
by clicking
“Settings”
button.
Output Output
OUT Output Value - OUT_D -
Pin Pin
889
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Output
status, it can
OUT_S be viewed by Output
- OUT_D -
TA clicking Pin
“Settings”
button.
Feedback Output BKCAL_OUT
BKOUT - -
Output Value Pin _D
Feedback
BKOUT Output
Output - - -
ERR Pin
Status
Feedback
output
status, it can
BKO_S Output BKCAL_OUT
be viewed by - -
TA Pin _D
clicking
“Settings”
button.
Block alarm,
it can be Monitorin
Alarm
BLCK_ viewed by g
Indicatio - BLOCK_ERR -
ERR clicking Paramete
n
“Settings” r
button.
Monitorin
Process g
PV - PV_D -
Value Paramete
r
Process
Value Status,
Monitorin
it can be
PV_ST g
viewed by - PV_D -
A Paramete
clicking
r
“Settings”
button.
Real
Status Monitorin
Read Back g READBACK_
RBCK - -
Value Paramete D
r
Monitorin
RBCK_ Read Back g READBACK_
- -
STA Value Status Paramete D
r
Monitorin
ST_RE Static - g
ST_REV -
V Revision Paramete
r
Actual
Operate mode, it can Monitorin
Comma MODE be viewed by g
- MODE_BLK Actual mode
nd _ACT clicking Paramete
“Settings” r
button.
890
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
In OOS and
Manual MAN modes,
Operation
MANO Operate change
TRUE Paramete -
UT Output MANOUT to
r
Value change Output
Value.
Target
mode. It can
be viewed
Operation
MODE and
TRUE Paramete MODE_BLK Target Mode
_TRG configured
r
by clicking
“Settings”
button.
Permit
mode. It can
be viewed
Operation
MODE and
TRUE Paramete MODE_BLK Permit Mode
_PRM configured
r
by clicking
“Settings”
button.
Normal
mode. It can
be viewed
Operation
MODE and
TRUE Paramete MODE_BLK Normal Mode
_NR configured
r
by clicking
“Settings”
button.
Operation
Setpoint
SV TRUE Paramete SP_D -
Value
r
Setpoint
value status.
It can be
Operation
SV_ST viewed and
TRUE Paramete SP_D -
A configured
r
by clicking
“Settings”
button.
Suppress Operation
Alarm AOF Module TRUE Paramete - -
Manage Alarm r
ment Extend
FLAG Flag - - -
Pin
Activate
Advance Operation failsafe
d FST_V FSTATE_VAL
Fault Value TRUE Paramete function when
Options AL _D
r reaching the
failure time.
891
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Output the
value when
“Fault State to
Operation Value” of
FST_TI FSTATE_TIM
Failure Time TRUE Paramete IO_OPTS
ME E
r enabled and
failsafe
function
activated.
Action of
remote
control
timeout. It
Operation
SHED_ can be
TRUE Paramete SHED_OPT -
OPT viewed and
r
configured
by clicking
“Settings”
button.
Remote Operation In RCAS
RSVI Cascade TRUE Paramete RCAS_IN_D mode, input
Input r value.
Remote
setpoint
status. It can
be viewed Operation
RSVI_
and TRUE Paramete RCAS_IN_D
STA
configured r
by clicking
“Settings”
button.
Remote
Params Remote Operation RCAS mode,
RCAS_OUT_
RSVO Cascade TRUE Paramete feedback
D
Output r output value.
Remote
cascade
output
status. It can
Operation
RSVO_ be viewed RCAS_OUT_
TRUE Paramete -
STA and D
r
configured
by clicking
“Settings”
button.
Operation
XD_ST Output
TRUE Paramete XD_STATE -
Status T status
r
Definitio
n Operation
PV_ST State of Field
TRUE Paramete PV_STATE -
T Value
r
Extend pin of
actual
Extend Extend configuration
Pin P01 Extend Pin1 - -
Pin associated
device
function block
892
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Extend pin
Extend Pin1
status of
status, it can
actual
P01_S be viewed by Extend
- configuration -
TA clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P02 Extend Pin2 - -
Pin associated
device
function block
Extend pin
Extend Pin2
status of
status, it can
actual
P02_S be viewed by Extend
- configuration -
TA clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P03 Extend Pin3 - -
Pin associated
device
function block
Extend pin
Extend Pin3
status of
status, it can
actual
P03_S be viewed by Extend
- configuration -
TA clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P04 Extend Pin4 - -
Pin associated
device
function block.
Extend pin
status
Extend Pin4 parameter
status, it can supported by
P04_S be viewed by Extend device
- -
TA clicking Pin function block
“Settings” associating
button. based on
actual
configuration.
14.7.3 Instruction Details
Schematic of DO
893
Function Block Reference
Algorithm
Failsafe Function
Supported Modes
OOS, LO, IMAN, MAN, AUTO, CAS, and RCAS. The MAN mode can be used to force
the output. It may be that MAN mode is not permitted, but it must be supported so that
MAN mode may be entered when leaving O/S. The IMAN mode is used to indicate that
there is no path to the final element.
Panel
Input tag name in supervision to pop up the operation panel of FF block, the device
panel displays OUT trends.
Other
Flag Instruction
D0 OOS (Actual mode)
894
Function Block Reference
Flag Instruction
D1 IMAN (Actual mode
D2 TR (Actual mode
D3 MAN (Actual mode)
D4 AUTO (Actual mode)
D5 CAS (Actual mode
D6 RCAS (Actual mode
D7 -
D8 FF_ALARM (BLOCK_ERR Fault Occurs)
D9 -
D10 -
D11 -
D12 -
D13 -
D14 -
D15 -
D16 -
D17 -
D18 -
D19 -
D20 -
D21 -
D24 -
D25 -
D26
D27 CFGERR
D28 -
D29 ERR
D30 Alarm Suppress (AOF)
D31 -
14.8 FFARTHM
14.8.1 Overview
FFARTHM block represents the field device function block DO, by which DCS can monitor and
control the field device DO.
895
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Arithmetic type.
It can be
Set Function
Basic viewed and
ARTH_ Operation Block
Parameters configured by TRUE ARITH_TYPE
TPY Parameter Arithmetic
clicking
Type
“Settings”
Operate button.
Param Input option Configure
settings. It can the process
be viewed and method
IN_OP Operation
configured by TRUE INPUT_OPTS when status
TS Parameter
clicking of input pin
“Settings” is failed or
button. suspicious.
Output
Operation Compensati
BIAS Bias Value TRUE BIAS
Parameter on Bias
Value
Bias Value for Operation Bias Value
BIAS1 TRUE BIAS_IN_1
IN1 Parameter for IN1
Bias Value for Operation Bias Value
BIAS2 TRUE BIAS_IN_2
IN2 Parameter for IN2
Gain and Bias Value for Operation Bias Value
BIAS3 TRUE BIAS_IN_3
Bias IN3 Parameter for IN3
Operation Feedforward
GAIN Gain Value TRUE GAIN
Parameter Gain Value
Gain Value for Operation Gain Value
GAIN1 TRUE GAIN_IN_1
IN1 Parameter for IN1
Gain Value for Operation Gain Value
GAIN2 TRUE GAIN_IN_2
IN2 Parameter for IN2
Gain Value for Operation Gain Value
GAIN3 TRUE GAIN_IN_3
IN3 Parameter for IN3
Input
CMPH Operation COMP_HI_LI
Compensation TRUE -
_LIM Parameter M
H Limit
Input
CMPL_ Operation COMP_LO_LI
Compensation TRUE -
LIM Parameter M
L Limit
Limits OUTH_ Operation
Output H Limit TRUE OUT_HI_LIM -
Setting LIM Parameter
OUTL_ Operation
Output L Limit TRUE OUT_LO_LIM -
LIM Parameter
INH_LI Operation
Input H Limit TRUE RANGE_HI -
M Parameter
INL_LI Operation
Input L Limit TRUE RANGE_LO -
M Parameter
Scale Configurati
OUT_S Output Scale H OUT_RANGE
Setting TRUE on -
CH Limit
Parameter
Configurati
OUT_S Output Scale H
TRUE on -
CL Limit
Parameter
Configurati
OUT_E
Output Unit TRUE on -
U
Parameter
896
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Configurati
OUT_D Output Decimal
TRUE on -
LEN Digits
Parameter
Configurati
PV_SC PV Scale H
TRUE on -
H Limit
Parameter
Configurati
PV_SC PV Scale H
TRUE on -
L Limit
Parameter
PV_SCALE
Configurati
PV_EU PV UNIT TRUE on -
Parameter
Configurati
PV_DL PV Decimal
TRUE on -
EN Digits
Parameter
Extended Input Pin IN Input Value - Input Pin IN -
Parameters
IN_ER
Input Quality - Input Pin - -
R
Input status. It
can be viewed
and configured
IN_STA - Input Pin IN -
by clicking
“Settings”
button.
IN_LO Local Input - Input Pin IN_LO -
IN_LO_ Local Input
- Input Pin - -
ERR Quality
Local input
status. It can be
viewed and
IN_LO_
configured by - Input Pin IN_LO -
STA
clicking
“Settings”
button.
IN1 IN1 - Input Pin IN_1
IN1_E
IN1 Quality - Input Pin - -
RR
IN1 status. It
can be viewed
IN1_ST and configured
- Input Pin IN_1 -
A by clicking
“Settings”
button.
IN2 IN2 - Input Pin IN_2 -
IN2_E
IN2 Quality - Input Pin - -
RR
IN2 status. It
can be viewed
IN2_ST and configured
- Input Pin IN_2 -
A by clicking
“Settings”
button.
IN3 IN3 - Input Pin IN_3 -
897
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
IN3_E
IN3 Quality - Input Pin - -
RR
IN3 status. It
can be viewed
IN3_ST and configured
- Input Pin IN_3 -
A by clicking
“Settings”
button.
OUT Output Value - Output Pin OUT -
OUT_E
Output Quality - Output Pin - -
RR
Output
Output status, it
Pin
can be viewed
OUT_S
by clicking - Output Pin OUT -
TA
“Settings”
button.
Block error, it
can be viewed
BLCK_ Monitoring
by clicking - BLOCK_ERR -
ERR Parameter
“Settings”
button.
Monitoring
FLAG Flag - - -
Parameter
Alarm Suppress Operation
Param AOF TRUE - -
Module Alarm Parameter
Enable alarm in
controller. It
can be viewed
ENALM Operation
and configured TRUE - -
_EX Parameter
by clicking
“Settings”
button.
Function
block
calculated
value, in
Real Calculated Monitoring AUTO
Status POUT - PRE_OUT
Output Value Parameter mode,
Output
Value OUT
is equal to
POUT.
Calculated
output status, it
POUT_ can be viewed Monitoring
- PRE_OUT -
STA by clicking Parameter
“Settings”
button.
Input value
Monitoring of IN and
PV Process Value - PV
Parameter IN_LO
linear.
898
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Process Value
Status, it can
PV_ST be viewed by Monitoring
- PV -
A clicking Parameter
“Settings”
button.
ST_RE Monitoring
Static Revision - ST_REV -
V Parameter
In OOS and
MAN
modes,
Manual
MANO Operation change
Operate Output TRUE -
UT Parameter MANOUT to
Value
change
Output
Value.
Actual mode, it
can be viewed
MODE Monitoring
by clicking - MODE_BLK Actual mode
_ACT Parameter
“Settings”
button.
Introduced
balanced
time to avoid
BAL_TI Operation
Balanced Time TRUE BAL_TIME jump when
ME Parameter
switching
manual to
auto.
Target mode. It
Target mode
can be viewed
should be
Operate MODE and configured Operation
TRUE MODE_BLK one of the
Param _TRG by clicking Parameter
permitted
“Settings”
modes.
button.
Permit mode. It
can be viewed
MODE and configured Operation Permit
TRUE MODE_BLK
_PRM by clicking Parameter Mode
“Settings”
button.
Normal mode.
It can be
Normal
viewed and
MODE Operation mode. Have
configured by TRUE MODE_BLK
_NR Parameter no influence
clicking
for control.
“Settings”
button.
Extend pin of
actual
Extend configuration
Pin P01 Extend Pin1 - Extend Pin -
associated
device
function block
899
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Extend pin
Extend Pin1
status of
status, it can be
actual
P01_S viewed by
- Extend Pin configuration -
TA clicking
associated
“Settings”
device
button.
function block
Extend pin of
actual
configuration
P02 Extend Pin2 - Extend Pin -
associated
device
function block
Extend pin
Extend Pin2
status of
status, it can be
actual
P02_S viewed by
- Extend Pin configuration -
TA clicking
associated
“Settings”
device
button.
function block
Extend pin of
actual
configuration
P03 Extend Pin3 - Extend Pin -
associated
device
function block
Extend pin
Extend Pin3
status of
status, it can be
actual
P03_S viewed by
- Extend Pin configuration -
TA clicking
associated
“Settings”
device
button.
function block
Extend pin of
actual
configuration
P04 Extend Pin4 - Extend Pin -
associated
device
function block.
Extend pin
status
Extend Pin4 parameter
status, it can be supported by
P04_S viewed by device
- Extend Pin -
TA clicking function block
“Settings” associating
button. based on
actual
configuration.
14.8.3 Instruction Details
Schematic of AR
900
Function Block Reference
Algorithm
Use IN and IN_LO to work out PV, and combine PV with IN1, IN2, IN3 to work out the function
value via selected ARTH_TYPE. Then perform gain and compensation, and limit process to work
out the final value. Count the Output Value according to mode.
Equation for PV
PV = G*IN+ (1-G)*IN_LO
G is 0 for IN less than INL_LIM (FF parameter RANGE_LO), and it is 1 when IN is
greater than INH_LIM (FF parameter RANGE_HI). It is interpolated from 0 to 1 over the
range of INL_LIM to INH_LIM.
Input Compensation
For each of IN1, IN2, IN3, there is a Gain and Bias, the compensation way is shown
below.
IN (k) enabled:
t (k ) GAIN (k ) ( BAIS (k ) IN (k ))
Calculation Modes
Linear
func f PV
f t (1) / t (2)
901
Function Block Reference
Square Root
func f PV
f t (1) / t (2)
Approximate
func f PV
BTU Flow
func f PV
f t (1) t (2)
func f PV
Average
Traditional Summer
func ( PV t (1))
( PV t (2))
Fourth order polynomial based on PV
Output Compensation
902
Function Block Reference
Perform output compensation for calculated func by GAIN and BAIS. Compensation
Output Limit
Perform H/L limits for value performed output compensation and work out Algorithm
Output Value POUT (FF parameter PRE_OUT). In AUTO mode, Output Value is equal to
POUT.
Supported Modes
Flag Instruction
D0 OOS (Actual mode)
D1 -
D2 -
D3 MAN (Actual mode)
D4 AUTO (Actual mode)
D5 -
D6 -
D7 -
D8 FF_ALARM (BLOCK_ERR Fault Occurs)
D9 -
D10 -
D11 -
D12 -
D13 -
D14 -
D15 -
D16 OUTH
D17 OUTL
D18 -
D19 -
D20 -
D21 -
D24 -
D25 -
D26
D27 CFGERR
D28 -
D29 ERR
903
Function Block Reference
Flag Instruction
D30 Alarm Suppress (AOF)
D31 -
904
Function Block Reference
14.9 FFCTLSL
14.9.1 Overview
FFCTLSL block represents the field device function block Control Selector, by which DCS can
monitor and control the field device CS. FFCTLSL is mainly used to select control output variable.
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Input options
type. It can
be viewed Control
SEL Operation
Operate and options, have 3
_TP TRUE Paramete SEL_TPYE
Param configured choices, high,
YE r
by clicking low, middle.
“Settings”
button.
Configurat
OUT
Output Scale ion
_SC TRUE
H Limit Paramete
H
r
Configurat
OUT
Output Scale ion
_SC TRUE
L Limit Paramete
L
r
OUT_SCALE Output Scale
Configurat
OUT ion
Output Unit TRUE
_EU Paramete
Basic r
Parameters Configurat
OUT Output
ion
_DL Decimal TRUE
Paramete
EN Digits
Scale r
Setting Configurat
IN_S Input Scale ion
TRUE
CH H Limit Paramete
r
Configurat Input scale, not
IN_S Input Scale L ion FF parameter.
TRUE
CL Limit Paramete It will not
r influence
-
Configurat function block
IN_E Input Value ion logic process
TRUE but only
U Unit Paramete
r display them.
Configurat
Input
IN_D ion
Decimal TRUE
LEN Paramete
Digits
r
Extended Input IN1 IN1 - Input Pin SEL_1 -
Parameters Param
IN1_
IN1 Quality - Input Pin - -
ERR
905
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
IN1 status. It
can be
viewed and
IN1_
configured - Input Pin SEL_1 -
STA
by clicking
“Settings”
button.
IN2 IN2 - Input Pin SEL_2 -
IN2_
IN2 Quality - Input Pin - -
ERR
IN2 status. It
can be
viewed and
IN2_
configured - Input Pin SEL_2 -
STA
by clicking
“Settings”
button.
IN3 IN3 - Input Pin SEL_3 -
IN3_
IN3 Quality - Input Pin - -
ERR
IN3 status. It
can be
viewed and
IN3_
configured - Input Pin SEL_3 -
STA
by clicking
“Settings”
button.
Connect to
BKI Feedback BKOUT of
Input Pin -
N Input downstream
function block.
When
downstream
block is DCS
BKI
Feedback function block,
NER - Input Pin -
Input Quality connect to
R
BKOUTERR of
downstream
function block.
Feedback
input status.
It can be
BKI
viewed and
N_S - Input Pin - -
configured
TA
by clicking
“Settings”
button.
Connect to
Output Feedback
BKO Output BKIN of
Param Output - BKCAL_SEL1
UT1 Pin upstream block
Value1
providing IN1.
906
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
If the upstream
block
connected to
Feedback
BKO IN1 is DCS
Output Output
1_E - - block, connect
Value1 Pin
RR the pin with
Quality
BKINERR pin
of upstream
block.
Feedback
Output
Value1
BKO
status, it can Output
1_ - BKCAL_SEL1 -
be viewed by Pin
STA
clicking
“Settings”
button.
Connect to
Feedback
BKO Output BKIN of
Output - BKCAL_SEL2
UT2 Pin upstream block
Value2
providing IN2.
If the upstream
block
connected to
Feedback
BKO IN2 is DCS
Output Output
2_E - - block, connect
Value2 Pin
RR the pin with
Quality
BKINERR pin
of upstream
block.
Feedback
output
BKO status, it can
Output
2_ be viewed by - BKCAL_SEL2 -
Pin
STA clicking
“Settings”
button.
Connect to
Feedback
BKO Output BKIN of
Output - BKCAL_SEL3
UT3 Pin upstream block
Value3
providing IN3.
If the upstream
block
connected to
Feedback
BKO IN3 is DCS
Output Output
3_E - - block, connect
Value3 Pin
RR the pin with
Quality
BKINERR pin
of upstream
block.
Feedback
Output
Value3
BKO
status, it can Output
3_ - BKCAL_SEL3 -
be viewed by Pin
STA
clicking
“Settings”
button.
907
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Output
OUT Output Value - OUT -
Pin
OUT
Output Output
_ER - - -
Quality Pin
R
Output
status, it can
OUT
be viewed by Output
_ST - OUT -
clicking Pin
A
“Settings”
button.
Block error, it
can be Monitorin
BLC
viewed by g
K_E - BLOCK_ERR -
clicking Paramete
RR
“Settings” r
button.
Monitorin
FLA g
Flag - - -
G Paramete
r
Alarm Suppress Operation
Param AOF Module TRUE Paramete - -
Alarm r
Enable
alarm in
controller. It
ENA can be Operation
LM_ viewed and TRUE Paramete - -
EX configured r
by clicking
“Settings”
button.
Monitorin
Real ST_ Static g
- ST_REV -
Status REV Revision Paramete
r
Actual
mode, it can Monitorin
Operate MO
be viewed by g
Param DE_ - MODE_BLK Actual mode
clicking Paramete
ACT
“Settings” r
button.
In MAN and
Manual OOS modes,
Operation
MAN Operate change
TRUE Paramete -
OUT Output MANOUT to
r
Value change Output
Value
908
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Target
mode. It can
Target mode
be viewed
MO Operation should be one
and
DE_ TRUE Paramete MODE_BLK of the
configured
TRG r permitted
by clicking
modes.
“Settings”
button.
Permit
mode. It can
be viewed
MO Operation
and
DE_ TRUE Paramete MODE_BLK Permit Mode
configured
PRM r
by clicking
“Settings”
button.
Normal
mode. It can
be viewed
MO Operation
and
DE_ TRUE Paramete MODE_BLK Normal Mode
configured
NR r
by clicking
“Settings”
button.
Status
options. It
can be Configurat
STA
viewed and ion STATUS_OP Status process
_OP TRUE
configured Paramete TS options.
TS
by clicking r
“Settings”
button.
OUT Operation
Output H
H_LI TRUE Paramete OUT_HI_LIM -
Limit Value
Limits M r
Setting OUT Operation
Output L
L_LI TRUE Paramete OUT_LO_LIM -
Limit Value
M r
Extend pin of
actual
Extend Extend configuration
Pin P01 Extend Pin1 - -
Pin associated
device
function block
Extend pin
Extend Pin1
status of
status, it can
P01 actual
be viewed by Extend
_ST - configuration -
clicking Pin
A associated
“Settings”
device
button.
function block
909
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Extend pin of
actual
Extend configuration
P02 Extend Pin2 - -
Pin associated
device
function block
Extend pin
Extend Pin2
status of
status, it can
P02 actual
be viewed by Extend
_ST - configuration -
clicking Pin
A associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P03 Extend Pin3 - -
Pin associated
device
function block
Extend pin
Extend Pin3
status of
status, it can
P03 actual
be viewed by Extend
_ST - configuration -
clicking Pin
A associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P04 Extend Pin4 - -
Pin associated
device
function block.
Extend pin
status
Extend Pin4 parameter
status, it can supported by
P04
be viewed by Extend device
_ST - -
clicking Pin function block
A
“Settings” associating
button. based on
actual
configuration.
14.9.3 Instruction Details
Schematic of CS
910
Function Block Reference
Algorithm
Function block provides 3 Input Pins for option, which connect Output Values of 3 upstream PID
blocks separately, through FFCTLSL, and select a valid output, to achieve the control of filed
execution device.
3. Mode
4. Feedback Calculation
Function block provides 3 channels Feedback, which correspond to 3 channels Input Pin
separately. User connects Feedback pin to corresponding upstream function block
providing Input Pin, to achieve non-reference switch between different channels.
Status information of Feedback pin reflects that whether its Input Pin is selected or not.
14.9.4 Flag
Flag Instruction
D0 OOS (Actual mode)
D1 IMAN (Actual mode)
D2 -
D3 MAN (Actual mode)
911
Function Block Reference
Flag Instruction
D4 AUTO (Actual mode)
D5 -
D6 -
D7 -
D8 FF_ALARM (BLOCK_ERR Fault Occurs)
D9 -
D10 -
D11 -
D12 -
D13 -
D14 -
D15 -
D16 OUTH
D17 OUTL
D18 -
D19 -
D20 -
D21 -
D24 -
D25 -
D26
D27 CFGERR
D28 -
D29 ERR
D30 Alarm Suppress (AOF)
D31 -
912
Function Block Reference
14.10 FFCUSTOM
14.10.1 Overview
FFCUSTOM is used to connect FF function blocks, excepting the supported 15 function blocks,
with the system. These function blocks can be FF standard function block, like RATIO, or custom
function blocks of manufacturer.
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Basic Unassigned,
Parameters IN1 user can - Input Pin
customize it.
Unassigned,
IN2 user can - Input Pin
customize it.
Unassigned,
IN3 user can - Input Pin
customize it.
Unassigned,
IN4 user can - Input Pin
customize it. After
associated
Unassigned, with pin
IN5 user can - Input Pin provided by
customize it. correspondin
Associate with
Unassigned, g device
selected FF
IN6 user can - Input Pin function
customize it. parameter. If
Input block, update
not selected,
Param Unassigned, and write the
not associate
IN7 user can - Input Pin associated
with FF
customize it. pin. If there is
parameter.
no associated
Unassigned, pin, it does
IN8 user can - Input Pin not represent
customize it. of FF
Unassigned, parameter.
IN9 user can - Input Pin
customize it.
Unassigned,
IN10 user can - Input Pin
customize it.
Unassigned,
IN11 user can - Input Pin
customize it.
Unassigned,
IN12 user can - Input Pin
customize it.
913
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Unassigned, parameter. function
Output
OUT3 user can - block, update
Pin
customize it. the
Unassigned, associated
Output pin. If there is
OUT4 user can -
Pin no associated
customize it.
pin, it does
Unassigned, not represent
Output
OUT5 user can - of FF
Pin
customize it. parameter.
Unassigned,
Output
OUT6 user can -
Pin
customize it.
Unassigned,
Output
OUT7 user can -
Pin
customize it.
Unassigned,
Output
OUT8 user can -
Pin
customize it.
Unassigned,
Output
OUT9 user can -
Pin
customize it.
Unassigned,
OUT1 Output
user can -
0 Pin
customize it.
Unassigned,
OUT1 Output
user can -
1 Pin
customize it.
Unassigned,
OUT1 Output
user can -
2 Pin
customize it.
Target
mode. It can
be viewed
MOD Operation
and
E_TR TRUE Paramete MODE_BLK Target Mode
configured
G r
by clicking
“Settings”
button.
Permit
mode. It can
be viewed
Operate MOD Operation
and
Param E_PR TRUE Paramete MODE_BLK Permit Mode
configured
M r
by clicking
“Settings”
button.
Normal
mode. It can
be viewed
Operation
MOD and
TRUE Paramete MODE_BLK Normal Mode
E_NR configured
r
by clicking
“Settings”
button.
914
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
IN1 status. It Represent of If the
can be the FF correspondin
Extended Input viewed and parameter g pin
IN1ST
Parameters Param configured - Input Pin status manages
A
by clicking associated device
“Settings” with function block
button. corresponding pin, the pin
IN2 status. It pin. If not associates
can be selected, it with FF pin
viewed and will not status. If not
IN2ST associate with associated, it
configured - Input Pin
A FF parameter. will not
by clicking
“Settings” represent of
button. FF
parameter.
IN3 status. It
can be
viewed and
IN3ST
configured - Input Pin
A
by clicking
“Settings”
button.
IN4 status. It
can be
viewed and
IN4ST
configured - Input Pin
A
by clicking
“Settings”
button.
IN5 status. It
can be
viewed and
IN5ST
configured - Input Pin
A
by clicking
“Settings”
button.
IN6 status. It
can be
viewed and
IN6ST
configured - Input Pin
A
by clicking
“Settings”
button.
IN7 status. It
can be
viewed and
IN7ST
configured - Input Pin
A
by clicking
“Settings”
button.
IN8 status. It
can be
viewed and
IN8ST
configured - Input Pin
A
by clicking
“Settings”
button.
915
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
IN9 status. It
can be
viewed and
IN9ST
configured - Input Pin
A
by clicking
“Settings”
button.
IN10 status.
It can be
viewed and
IN10S
configured - Input Pin
TA
by clicking
“Settings”
button.
IN11status. It
can be
viewed and
IN11S
configured - Input Pin
TA
by clicking
“Settings”
button.
IN12 status.
It can be
viewed and
IN12S
configured - Input Pin
TA
by clicking
“Settings”
button.
Output Represent of If the
value1 the FF correspondin
Output status, it can parameter g pin
OUT1 Output
Param be viewed by - status manages
STA Pin
clicking associated device
“Settings” with function block
button. corresponding pin, the pin
Output pin. If not associates
value2 selected, it with FF pin
status, it can will not status. If not
OUT2 Output associate with associated, it
be viewed by -
STA Pin FF parameter. will not
clicking
“Settings” represent of
button. FF
parameter.
Output
value3
status, it can
OUT3 Output
be viewed by -
STA Pin
clicking
“Settings”
button.
Output
value4
status, it can
OUT4 Output
be viewed by -
STA Pin
clicking
“Settings”
button.
916
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Output
value5
status, it can
OUT5 Output
be viewed by -
STA Pin
clicking
“Settings”
button.
Output
value6
status, it can
OUT6 Output
be viewed by -
STA Pin
clicking
“Settings”
button.
Output
value7
status, it can
OUT7 Output
be viewed by -
STA Pin
clicking
“Settings”
button.
Output
value8
status, it can
OUT8 Output
be viewed by -
STA Pin
clicking
“Settings”
button.
Output
value9
status, it can
OUT9 Output
be viewed by -
STA Pin
clicking
“Settings”
button.
Output
value10
status, it can
OUT1 Output
be viewed by -
0STA Pin
clicking
“Settings”
button.
Output
value11
status, it can
OUT1 Output
be viewed by -
1STA Pin
clicking
“Settings”
button.
Output
value12
status, it can
OUT1 Output
be viewed by -
2STA Pin
clicking
“Settings”
button.
917
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Monitorin
g
FLAG Flag - -
Paramete
r
Suppress Operation
Alarm AOF Module TRUE Paramete -
Param Alarm r
Block error, it
can be Monitorin Correspond
BLCK viewed by g to Device
- BLOCK_ERR
_ERR clicking Paramete Function
“Settings” r Block
button.
Monitorin
Real-time ST_R Static g
- ST_REV
Status EV Revision Paramete
r
Actual
mode, it can Monitorin
MOD
Operate be viewed by g
E_AC - MODE_BLK
Param clicking Paramete
T
“Settings” r
button.
14.10.3 Instruction Details
FFCUSTOM does not for a specific device function block, thus its algorithm is same with the
algorithm of specified device function block. FFCUSTOM can achieve data display and sending of
device function block pin.
User allocates FFCUSTOM to device function block, then configures each pin, and associates
them to pins of specified device function block. After configuration, the pin of device function block
can be monitored.
FFCUSTOM does not support the non-pin parameter of device function block.
Type parameter and BLOCK_ERR of function block associate corresponding parameter of device
function block as default.
14.10.4 Flag
Flag Instruction
D0 OOS (Actual mode)
D1 IMAN (Actual mode)
D2 TR (Actual mode)
D3 MAN (Actual mode)
D4 AUTO (Actual mode)
D5 CAS (Actual mode)
918
Function Block Reference
Flag Instruction
D6 RCAS (Actual mode)
D7 ROUT (Actual mode)
D8 FF_ALARM (BLOCK_ERR Fault Occurs)
D9 -
D10 -
D11 -
D12 -
D13 -
D14 -
D15 -
D16 -
D17 -
D18 -
D19 -
D20 -
D21 -
D24 -
D25 -
D26
D27 CFGERR
D28 -
D29 ERR
D30 Alarm Suppress (AOF)
D31 -
14.11 FFINT
14.11.1 Overview
FFINT block represents the field device integral function block Integrator, by which DCS can
monitor and control the field device Integrator.
FFINT can achieve accumulation for 2-channel input. It supports to accumulate rate signal and
accumulation signal. With the accumulation for flow signal by FFINT, total quality or total volume of
a period can be provided. FFINT has 2 accumulation modes, positive and negative, and it provides
accumulated reset function.
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
919
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Reset period.
When setting
CLC as periodic
Basic Operation
K_P Integration reset mode,
Parameters TRUE Paramete CLOCK_PER
Period reset will be
ER r
performed
after the
period.
It will influence
whether the
final output
GO Operation
Good Status value status is
OD_ TRUE Paramete GOOD_LIM
L Limit Value good. Details
LIM r
refer to status
process of
Algorithm.
When
accumulated
SV distance is
PRE Distance Operation
less than the
_TRI Before Trip TRUE Paramete PRE_TRIP
value, PTRIP
P Limit r
indication will
Operate
Param be generated
and output.
When apply
SV reset
mode, when
accumulation
Integration Operation reaches SV,
SV Setpoint TRUE Paramete TOTAL_SP TRIP indication
Value r generates,
perform reset
or not
according to
the mode.
Influence
whether the
final out value
UNC Uncertain Operation
status is
R_LI Status L TRUE Paramete UNCERT_LIM
uncertain.
M Limit Value r
Details refer to
status process
in Algorithm.
Integration
options. It
Set the input
can be Configurat
Integratio INT_ signal and
viewed and ion
n Mode OPT TRUE INTEG_OPTS define status
configured Paramete
S process mode,
by clicking r
etc.
“Settings”
button.
920
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Integration
type. It can
be viewed Configurat Set integration
INT_
and ion direction and
TYP TRUE INTEG_TYPE
configured Paramete reset mode,
E
by clicking r etc.
“Settings”
button.
Configurat
OUT
Output Scale ion
_SC TRUE OUT_RANGE
H Limit Paramete
H
r
Configurat
OUT
Output Scale ion
_SC TRUE OUT_RANGE
L Limit Paramete Have no
L
Scale r influence for
Setting Configurat control
OUT ion algorithm.
Output Unit TRUE OUT_RANGE
_EU Paramete
r
Configurat
OUT Output
ion
_DL Decimal TRUE OUT_RANGE
Paramete
EN Digits
r
Extended Input IN1 IN1 - Input Pin IN_1
Parameters Param
IN1_
IN1 Quality - Input Pin -
ERR
IN1 status. It
can be -
viewed and
IN1_
configured - Input Pin IN_1
STA
by clicking
“Settings”
button.
IN2 IN2 - Input Pin IN_2
IN2_
IN2 Quality - Input Pin -
ERR
IN2 status. It
can be -
viewed and
IN2_
configured - Input Pin IN_2
STA
by clicking
“Settings”
button.
Reset Program Reset
RIN - Input Pin RESET_IN
Command Signal Input
Reset
RIN_
Command - Input Pin -
ERR
Quality
921
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Reset
command
status. It can
be viewed
RIN_
and - Input Pin RESET_IN
STA
configured
by clicking
“Settings”
button.
IN1
REV Positive/Neg
- Input Pin REV_FLOW1
1 ative Integral
Type
IN1
REV
Positive/Neg
1_E - Input Pin
ative Integral
RR IN1
Type Quality
Positive/Negati
IN1
ve Integral
Positive/neg
Type
ative integral
type status.
REV
It can be
1_S - Input Pin REV_FLOW1
viewed and
TA
configured
by clicking
“Settings”
button.
IN2
REV Positive/Neg
- Input Pin REV_FLOW2
2 ative Integral
Type
IN2
REV
Positive/Neg
2_E - Input Pin -
ative Integral
RR IN2
Type Quality
Positive/Negati
IN2
ve Integral
Positive/neg
Type
ative integral
type status.
REV
It can be
2_S - Input Pin REV_FLOW2
viewed and
TA
configured
by clicking
“Settings”
button.
Output Output
OUT Output Value - OUT
Param Pin
OUT
Output Output
_ER - -
Quality Pin
R Integration
Output Output Value
status, it can
OUT
be viewed by Output
_ST - OUT
clicking Pin
A
“Settings”
button.
922
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Integration
PTR Output
Pre-finished - OUT_PTRIP
P Pin
Sign
PTR Integration
Output
P_E Pre-finished - -
Pin Work with
RR Sign Quality
PRE_TRIP to
Integration
indicate
pre-finished
pre-integration.
sign status, it
PTR
can be Output
P_S - OUT_PTRIP
viewed by Pin
TA
clicking
“Settings”
button.
Integration
Output
TRIP Finished - OUT_TRIP
Pin
Sign
TRIP Integration
Output
_ER Finished - -
Pin
R Sign Quality Integration
Integration Finished Sign
finished sign
TRIP status, it can
Output
_ST be viewed by - OUT_TRIP
Pin
A clicking
“Settings”
button.
Block alarm,
it can be Monitorin
BLC
viewed by g
K_E - BLOCK_ERR -
clicking Paramete
RR
“Settings” r
button.
Alarm
Param Monitorin
FLA g
Flag - - -
G Paramete
r
Suppress Operation
AOF Module TRUE Paramete - -
Alarm r
Monitorin
Real NUM
Reset g
Status _RS - N_RESET -
Counter Paramete
T
r
Percent of Monitorin
PCT
Integral g
_INC - PCT_INCL -
Value with Paramete
L
Good Status r
Accumulated
Absolute Monitorin
RTO Value of g
- RTOTAL -
TAL Input With Paramete
Rejected r
Status
923
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Monitorin
SRT RTOTAL
g
OTA Value Before - SRTOTAL -
Paramete
L Reset
r
Monitorin
SV Value
g
SSV Before - SSP -
Paramete
Reset
r
Monitorin
TOTAL
STO g
Value Before - STOTAL -
TAL Paramete
Reset
r
Monitorin
Other ST_ Static g
- ST_REV -
Param REV Revision Paramete
r
Actual
mode, it can Monitorin
Operate MO
be viewed by g
Param DE_ - MODE_BLK -
clicking Paramete
ACT
“Settings” r
button.
Target
mode. It can
be viewed
MO Operation
and
DE_ TRUE Paramete MODE_BLK -
configured
TRG r
by clicking
“Settings”
button.
Permit
mode. It can
be viewed
MO Operation
and
DE_ TRUE Paramete MODE_BLK -
configured
PRM r
by clicking
“Settings”
button.
Normal
mode. It can
be viewed
MO Operation
and
DE_ TRUE Paramete MODE_BLK -
configured
NR r
by clicking
“Settings”
button.
Operate reset
Operation command,
Reset
RST TRUE Paramete OP_CMD_INT parameter will
Command
r reset
automatically.
Operation
OTG Initialization
TRUE Paramete OUTAGE_LIM -
_LIM Limit Time
r
924
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
When IN1 is
pulse signal, it
PLS Operation means the
IN1
_VA TRUE Paramete PULSE_VAL1 actual value
Coefficient
L1 r represented by
one pulse of
IN1.
When IN2 is
pulse signal, it
PLS Operation means the
IN2
_VA TRUE Paramete PULSE_VAL2 actual value
Coefficient
L2 r represented by
one pulse of
IN2.
When the two
Convert channels are
UNT Operation
Coefficient rate signals,
_CO TRUE Paramete UNIT_CONV
from IN2 to convert IN2 to
NV r
IN1 IN1 by the
parameter.
In OOS and
Manual MAN modes,
Operation
MAN Operate change
TRUE Paramete -
OUT Output MANOUT to
r
Value change output
value.
Configurat
T_U IN1 Rate ion
TRUE TIME_UNIT1 -
NIT1 Time Type Paramete
r
Time Unit
Configurat
T_U IN2 Rate ion
TRUE TIME_UNIT2 -
NIT2 Time Type Paramete
r
Extend pin of
actual
Extend Extend configuration
Pin P01 Extend Pin1 - -
Pin associated
device function
block
Extend Pin1 Extend pin
status, it can status of actual
P01
be viewed by Extend configuration
_ST - -
clicking Pin associated
A
“Settings” device function
button. block
Extend pin of
actual
Extend configuration
P02 Extend Pin2 - -
Pin associated
device function
block
925
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Extend pin of
actual
Extend configuration
P03 Extend Pin3 - -
Pin associated
device function
block
Extend Pin3 Extend pin
status, it can status of actual
P03
be viewed by Extend configuration
_ST - -
clicking Pin associated
A
“Settings” device function
button. block
Extend pin of
actual
Extend configuration
P04 Extend Pin4 - -
Pin associated
device function
block.
Extend pin
status
Extend Pin4 parameter
status, it can supported by
P04
be viewed by Extend device function
_ST - -
clicking Pin block
A
“Settings” associating
button. based on
actual
configuration.
14.11.3 Instruction Details
Schematic of Integrator
926
Function Block Reference
Algorithm
Inputs
The basic function of the FFINT block is to integrate an analog value over time. It can
also accumulate the pulses coming from Pulse Input block or from other FFINT. The
block has 2 dual purpose inputs, IN1 and IN2. If IN2 is not connected, then calculations
for IN2 may be omitted. Input signals include rate signal and accumulation signal. User
can select signal type via IN1 accumulation and IN2 accumulation option of INT_OPTS.
When selected, it is accumulation signal, otherwise, it is rate signal.
Rate
Rate input signal requires for rate time, and each input needs a parameter to define the
rate time unit: T_UNIT1 or T_UNIT2. The time units are used to convert the two rates in
unit of second.
The second input may have to be converted into the same units of the first input. This is
achieved by a unit conversion factor, given by the parameter UNT_CONV.
927
Function Block Reference
Accum
When input signal comes from pulse block output, the input signal represents a
continuous accumulation of pulses signal, and the block should determine the deviation
value since the last execution.
The pulse signal will restart from 0 once it reaches a certain number. This situation
should be distinguished by integral block and perform special process. The pulse
accumulation of integral block wraps up when the counting reaches 999,999 and does
not increment or decrement by more than 499,999 per cycle, which means the block can
only accumulate the output pulse signal by above method.
The block can convert the accumulation of pulse to actual value to output via PLS_VAL1
and PLS_VAL2, for example, quality, volume, etc.
User can indicates 2 channels input value as positive and negative accumulation. When
REV*=1, invert IN* and accumulate. For example, for a device with inflow and outflow,
928
Function Block Reference
set the input of inflow as positive accumulation, and set the REV2 of outflow IN2 as 1 to
achieve negative accumulation, to accumulate the net flow of device.
Accumulation Method.
Output value can start positive accumulation from 0, and start negative accumulation
from SV. It provides reset methods, such as automatic rest, period reset and command
reset when accumulating. Above function can be configured via INT_TYPE, and
following methods can be supported:
0 to SP-auto reset at SP: start positive accumulation from 0 to SV. When the
accumulation reaches SV, automatic reset for function block will be performed.
0 to SP-demand reset: start positive accumulation from 0 to SV. Automatic reset for
function block will not be performed only when inputting reset.
SP to 0-auto reset at SP: start negative accumulation from SV to 0. When the
accumulation reaches 0, automatic reset for function block will be performed.
SP to 0-demand reset: start negative accumulation from SV to 0. Automatic reset for
function block will not be performed only when inputting reset.
0 to ?-periodic reset: start positive accumulation from 0, reset for function block will
be performed based on the reset period CLOCK_PE.
0 to ?-demand reset: start positive accumulation from 0. Automatic reset for function
block will not be performed only when inputting reset.
0 to ?-periodic and demand reset: start positive accumulation from 0. Period reset
for function block will be performed by time, or when inputting reset.
TRIP and PTRIP can calculate for the former 4 accumulation methods, but for later 3
modes, SV, TRIP, PTRIP will not work. For the fifth accumulation mode, it will not
respond for the RIN reset of program input, but will respond for the RST reset command.
Reset
Reset Method
Perform reset via RIN (FF parameter RESET_IN) input pin. When input is 1, it is the
reset signal. When input is 0, not perform reset.
Operator performs reset for function block via RST (FF parameter OP_CMD_INT). RST
is an instant switch. Once reset command is reached and reset function is enabled,
initialization of RST as OFF will started right now.
Save Reset Value
929
Function Block Reference
When resetting, function block will save current accumulation types OUT, RTOTAL, SV
to STOTAL, SRTOTAL, SSV separately. These values will keep until next reset.
Reset Time Limit
Function block will not respond to the new reset requirement in 5s last reset started.
Reset Counter
Function block counts the reset times and saves in NUM_RST. NUM_RST cannot be
changed and reset. It will accumulate from 0 to 999999 in cycle.
Supported Modes
Status Process
Function block determine the input signal status, and combines “Use Uncertain” and
“Use Bad”, “Add zero if bad” options of INT_OPTS, to perform different types of
accumulation for input with bad or suspicious status.
PCT_INCL refers to the percent of input value with good status in total accumulation.
When PCT_INCL GOOD_LIM, OUT status is Good.
When PCT_INCL UNCR_LIM, OUT status is Uncertain.
Else, OUT status is Bad.
14.11.4 Flag
930
Function Block Reference
Flag Instruction
D0 OOS (Actual mode)
D1 -
D2 -
D3 MAN (Actual mode)
D4 AUTO (Actual mode)
D5 -
D6 -
D7 -
D8 FF_ALARM (BLOCK_ERR Fault Occurs)
D9 -
D10 -
D11 -
D12 -
D13 -
D14 -
D15 -
D16 -
D17 -
D18 -
D19 -
D20 -
D21 -
D24 -
D25 -
D26 -
D27 CFGERR
D28 -
D29 ERR
D30 Alarm Suppress (AOF)
D31 -
14.12 FFISEL
14.12.1 Overview
FFISEL represents the field device input selection function block ISEL, by which DCS can monitor
and control the field device ISEL.
FFISEL selects from the 4-channel input signals based on configuration and gets the final output
value. Generally, it receives check signal from AI block, and supports selection modes such as
maximum, minimum, middle average and first good. It provides a soft switch.
931
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Output Bad
when
Minimum number of
MIN Operation
Operate Limit With input signal
_GO - Paramete MIN_GOOG
Param Good Input with good
OD r
Status status is less
than the
parameter.
Input options Set selection
type. It can modes:
be viewed maximum,
SEL Operation
and SELECT_TY minimum,
_TP - Paramete
configured PE middle
YE r
by clicking average and
“Settings” first good,
Options button. etc.
Setting Status
options. It
can be Configurat
STA Status
viewed and ion STATUS_OP
_OP TRUE process
configured Paramete TS
TS options.
Basic by clicking r
Parameters “Settings”
button.
Configurat
OUT
Output Scale ion
_SC TRUE OUT_RANGE -
H Limit Paramete
H
r
Configurat
OUT
Output Scale ion
_SC TRUE OUT_RANGE -
H Limit Paramete
L
r
Configuration
Parameter Configurat
OUT ion
Output Unit TRUE OUT_RANGE -
_EU Paramete
r
Configurat
OUT Output
ion
_DL Decimal TRUE OUT_RANGE -
Paramete
EN Digits
r
Extended Input Param IN1 IN1 - Input Pin IN_1 -
Parameters
IN1_
IN1 Quality - Input Pin - -
ERR
IN1 status. It
can be
viewed and
IN1_
configured - Input Pin IN_1 -
STA
by clicking
“Settings”
button.
IN2 IN2 - Input Pin IN_2 -
IN2_
IN2 Quality - Input Pin - -
ERR
932
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
IN2 status. It
can be
viewed and
IN2_
configured - Input Pin IN_2 -
STA
by clicking
“Settings”
button.
IN3 IN3 - Input Pin IN_3 -
IN3_
IN3 Quality - Input Pin - -
ERR
IN3 status. It
can be
viewed and
IN3_
configured - Input Pin IN_3 -
STA
by clicking
“Settings”
button.
IN4 IN4 - Input Pin IN_4 -
IN4_
IN4 Quality - Input Pin - -
ERR
IN4 status. It
can be
viewed and
IN4_
configured - Input Pin IN_4 -
STA
by clicking
“Settings”
button.
IN1 Disable
DIS1 - Input Pin DISABLE_1 -
Switch
DIS1 IN1 Disable
_ER Switch - Input Pin - -
R Quality
IN1 Disable
Switch
Status. It can
DIS1 be viewed
_ST and - Input Pin DISABLE_1 -
A configured
by clicking
“Settings”
button.
IN2 Disable
DIS2 - Input Pin DISABLE_2 -
Switch
933
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
IN2 Disable
Switch
Status. It can
DIS2 be viewed
_ST and - Input Pin DISABLE_2 -
A configured
by clicking
“Settings”
button.
IN3 Disable
DIS3 - Input Pin DISABLE_3 -
Switch
DIS3 IN3 Disable
_ER Switch - Input Pin - -
R Quality
IN3 Disable
Switch
Status. It can
DIS3 be viewed
_ST and - Input Pin DISABLE_3 -
A configured
by clicking
“Settings”
button.
IN4 Disable
DIS4 - Input Pin DISABLE_4 -
Switch
DIS4 IN4 Disable
_ER Switch - Input Pin - -
R Quality
IN4 Disable
Switch
Status. It can
DIS4 be viewed
_ST and - Input Pin DISABLE_4 -
A configured
by clicking
“Settings”
button.
Input
OP_
Selected - Input Pin OP_SELECT -
SEL
Number
Input
OP_
Selected
S_E - Input Pin - -
Number
RR
Quality
Input
OP_
Selected
S_S - Input Pin OP_SELECT -
Number
TA
Status
Output Param Output
OUT Output Value - OUT -
Pin
OUT
Output Output
_ER - - -
Quality Pin
R
934
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Output
status, it can
OUT
be viewed by Output
_ST - OUT -
clicking Pin
A
“Settings”
button.
Select input
Selected Output number.
SEL - SELECTED
Parameter Pin When not
select, it is 0.
SEL Selected
Output
_ER Parameter - - -
Pin
R Quality
Selected
Parameter
SEL status, it can
Output
_ST be viewed by - SELECTED -
Pin
A clicking
“Settings”
button.
Block alarm,
it can be Monitorin
BLC
viewed by g
K_E - BLOCK_ERR -
clicking Paramete
RR
“Settings” r
button.
Alarm Param Monitorin
FLA g
Flag - - -
G Paramete
r
Suppress Operation
AOF Module TRUE Paramete - -
Alarm r
Monitorin
ST_ Static g
- ST_REV -
REV Revision Paramete
r
Real Status
Manual
Operation
MAN Operate
TRUE Paramete - -
OUT Output
r
Value
Actual
mode, it can Monitorin
Operate MO
be viewed by g
Param DE_ - MODE_BLK -
clicking Paramete
ACT
“Settings” r
button.
935
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Target
mode. It can
be viewed
MO Operation
and
DE_ TRUE Paramete MODE_BLK -
configured
TRG r
by clicking
“Settings”
button.
Permit
mode. It can
be viewed
MO Operation
and
DE_ TRUE Paramete MODE_BLK -
configured
PRM r
by clicking
“Settings”
button.
Normal
mode. It can
be viewed
MO Operation
and
DE_ TRUE Paramete MODE_BLK -
configured
NR r
by clicking
“Settings”
button.
Extend pin of
actual
Extend Pin Extend configuration
P01 Extend Pin1 - -
Pin associated
device
function block
Extend pin
Extend Pin1
status of
status, it can
P01 actual
be viewed by Extend
_ST - configuration -
clicking Pin
A associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P02 Extend Pin2 - -
Pin associated
device
function block
Extend pin
Extend Pin2
status of
status, it can
P02 actual
be viewed by Extend
_ST - configuration -
clicking Pin
A associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P03 Extend Pin3 - -
Pin associated
device
function block
936
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Extend pin
Extend Pin3
status of
status, it can
P03 actual
be viewed by Extend
_ST - configuration -
clicking Pin
A associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P04 Extend Pin4 - -
Pin associated
device
function block.
Extend pin
status
Extend Pin4 parameter
status, it can supported by
P04
be viewed by Extend device
_ST - -
clicking Pin function block
A
“Settings” associating
button. based on
actual
configuration.
14.12.3 Instruction Details
Schematic of ISEL
Algorithm
Input Process
When Input Pin DIS* is 1, function block will not process corresponding IN* pin.
937
Function Block Reference
Combine the “Use Uncertain as Good” and “Uncertain if Man mode” options of
STA_OPTS to process Uncertain Status of Input Pin. Pin with Bad status will not be
selected.
After above process, if there is no available Input Pin or the number of available Input
Pin is less than MIN_GOOD, Output PinSEL is 0, and selection will not be performed.
Select Modes
First good: select the first available input with good status to output.
Minimum: sort the available input pins, select the smallest input to output.
Maximum: sort the available input pins, select the largest input to output.
Middle: sort the available input pins, if the input pin number is odd, select the middle
input to output, SEL is the serial number of selected input pin. If the number is even,
remove the maximum and minimum and work out the average of left 2 input pins,
SEL is 0.
Average: calculate the average of available input pin to output.
14.12.4 Flag
Flag Instruction
D0 OOS (Actual mode)
D1 -
D2 -
D3 MAN (Actual mode)
D4 AUTO (Actual mode)
D5 -
D6 -
D7 -
D8 FF_ALARM (BLOCK_ERR Fault Occurs)
D9 -
D10 -
D11 -
D12 -
D13 -
D14 -
D15 -
D16 -
938
Function Block Reference
Flag Instruction
D17 -
D18 -
D19 -
D20 -
D21 -
D24 -
D25 -
D26
D27 CFGERR
D28 -
D29 ERR
D30 Alarm Suppress (AOF)
D31 -
14.13 FFISEL_EX
14.13.1 Overview
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Output Bad
when
Minimum number of
Basic MIN Operation
Operate Limit With input signal
Parameters _GO - Paramete MIN_GOOG
Param Good Input with good
OD r
Status status is less
than the
parameter.
Input options Set selection
type. It can modes:
be viewed maximum,
Options SEL Operation
and SELECT_TY minimum,
Setting _TP - Paramete
configured PE middle
YE r
by clicking average and
“Settings” first good,
button. etc.
939
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Status
options. It
can be Configurat
STA Status
viewed and ion STATUS_OP
_OP TRUE process
configured Paramete TS
TS options.
by clicking r
“Settings”
button.
Configurat
OUT
Output Scale ion
_SC TRUE OUT_RANGE -
H Limit Paramete
H
r
Configurat
OUT
Output Scale ion
_SC TRUE OUT_RANGE -
H Limit Paramete
L
Configuration r
Parameter Configurat
OUT ion
Output Unit TRUE OUT_RANGE -
_EU Paramete
r
Configurat
OUT Output
ion
_DL Decimal TRUE OUT_RANGE -
Paramete
EN Digits
r
Extended
Input Param IN1 IN1 - Input Pin IN_1 -
Parameters
IN1_
IN1 Quality - Input Pin - -
ERR
IN1 status. It
can be
viewed and
IN1_
configured - Input Pin IN_1 -
STA
by clicking
“Settings”
button.
IN2 IN2 - Input Pin IN_2 -
IN2_
IN2 Quality - Input Pin - -
ERR
IN2 status. It
can be
viewed and
IN2_
configured - Input Pin IN_2 -
STA
by clicking
“Settings”
button.
IN3 IN3 - Input Pin IN_3 -
IN3_
IN3 Quality - Input Pin - -
ERR
940
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
IN3 status. It
can be
viewed and
IN3_
configured - Input Pin IN_3 -
STA
by clicking
“Settings”
button.
IN4 IN4 - Input Pin IN_4 -
IN4_
IN4 Quality - Input Pin - -
ERR
IN4 status. It
can be
viewed and
IN4_
configured - Input Pin IN_4 -
STA
by clicking
“Settings”
button.
IN5 IN5 - Input Pin IN_5 -
IN5_
IN5 Quality - Input Pin - -
ERR
IN5 status. It
can be
viewed and
IN5_
configured - Input Pin IN_5 -
STA
by clicking
“Settings”
button.
IN6 IN6 - Input Pin IN_6 -
IN6_
IN6 Quality - Input Pin - -
ERR
IN6 status. It
can be
viewed and
IN6_
configured - Input Pin IN_6 -
STA
by clicking
“Settings”
button.
IN7 IN7 - Input Pin IN_7 -
IN7_
IN7 Quality - Input Pin - -
ERR
IN7 status. It
can be
viewed and
IN7_
configured - Input Pin IN_7 -
STA
by clicking
“Settings”
button.
IN8 IN8 - Input Pin IN_8 -
IN8_
IN8 Quality - Input Pin - -
ERR
941
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
IN8 status. It
can be
viewed and
IN8_
configured - Input Pin IN_8 -
STA
by clicking
“Settings”
button.
IN1 Disable
DIS1 - Input Pin DISABLE_1 -
Switch
DIS1 IN1 Disable
_ER Switch - Input Pin - -
R Quality
IN1 Disable
Switch
Status. It can
DIS1 be viewed
_ST and - Input Pin DISABLE_1 -
A configured
by clicking
“Settings”
button.
IN2 Disable
DIS2 - Input Pin DISABLE_2 -
Switch
DIS2 IN2 Disable
_ER Switch - Input Pin - -
R Quality
IN2 Disable
Switch
Status. It can
DIS2 be viewed
_ST and - Input Pin DISABLE_2 -
A configured
by clicking
“Settings”
button.
IN3 Disable
DIS3 - Input Pin DISABLE_3 -
Switch
DIS3 IN3 Disable
_ER Switch - Input Pin - -
R Quality
IN3 Disable
Switch
Status. It can
DIS3 be viewed
_ST and - Input Pin DISABLE_3 -
A configured
by clicking
“Settings”
button.
IN4 Disable
DIS4 - Input Pin DISABLE_4 -
Switch
942
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
IN4 Disable
Switch
Status. It can
DIS4 be viewed
_ST and - Input Pin DISABLE_4 -
A configured
by clicking
“Settings”
button.
IN5 Disable
DIS5 - Input Pin DISABLE_5 -
Switch
DIS5 IN5 Disable
_ER Switch - Input Pin - -
R Quality
IN5 Disable
Switch
Status. It can
DIS5 be viewed
_ST and - Input Pin DISABLE_5 -
A configured
by clicking
“Settings”
button.
IN6 Disable
DIS6 - Input Pin DISABLE_6 -
Switch
DIS6 IN6 Disable
_ER Switch - Input Pin - -
R Quality
IN6 Disable
Switch
Status. It can
DIS6 be viewed
_ST and - Input Pin DISABLE_6 -
A configured
by clicking
“Settings”
button.
IN7 Disable
DIS7 - Input Pin DISABLE_7 -
Switch
DIS7 IN7 Disable
_ER Switch - Input Pin - -
R Quality
IN7 Disable
Switch
Status. It can
DIS7 be viewed
_ST and - Input Pin DISABLE_7 -
A configured
by clicking
“Settings”
button.
IN8 Disable
DIS8 - Input Pin DISABLE_8 -
Switch
DIS8 IN8 Disable
_ER Switch - Input Pin - -
R Quality
943
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
IN8 Disable
Switch
Status. It can
DIS8 be viewed
_ST and - Input Pin DISABLE_8 -
A configured
by clicking
“Settings”
button.
Input
OP_
Selected - Input Pin OP_SELECT -
SEL
Number
Input
OP_
Selected
S_E - Input Pin - -
Number
RR
Quality
Input
OP_
Selected
S_S - Input Pin OP_SELECT -
Number
TA
Status
Output
OUT Output Value - OUT -
Pin
OUT
Output Output
_ER - - -
Quality Pin
R
Output
status, it can
OUT
be viewed by Output
_ST - OUT -
clicking Pin
A
“Settings”
button.
Select input
Selected Output number.
SEL - SELECTED
Parameter Pin When not
select, it is 0.
SEL Selected
Output Param Output
_ER Parameter - - -
Pin
R Quality
Selected
Parameter
SEL status, it can
Output
_ST be viewed by - SELECTED -
Pin
A clicking
“Settings”
button.
OUT Discrete Output
- OUT_D -
_D Output Value Pin
OUT Discrete
Output
_D_ Output - - -
Pin
ER Quality
OUT Discrete
Output
_D_ Output - OUT_D -
Pin
ST status
944
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Block alarm,
it can be Monitorin
BLC
viewed by g
K_E - BLOCK_ERR -
clicking Paramete
RR
“Settings” r
button.
Alarm Param Monitorin
FLA g
Flag - - -
G Paramete
r
Suppress Operation
AOF Module TRUE Paramete - -
Alarm r
Monitorin
ST_ Static g
Real Status - ST_REV -
REV Revision Paramete
r
Actual
mode, it can Monitorin
MO
be viewed by g
DE_ - MODE_BLK -
clicking Paramete
ACT
“Settings” r
button.
Manual
Operation
MAN Operate
TRUE Paramete - -
OUT Output
r
Value
Target
mode. It can
be viewed
MO Operation
and
DE_ TRUE Paramete MODE_BLK -
configured
TRG r
by clicking
Operate “Settings”
Param button.
Permit
mode. It can
be viewed
MO Operation
and
DE_ TRUE Paramete MODE_BLK -
configured
PRM r
by clicking
“Settings”
button.
Normal
mode. It can
be viewed
MO Operation
and
DE_ TRUE Paramete MODE_BLK -
configured
NR r
by clicking
“Settings”
button.
14.13.3 Instruction Details
945
Function Block Reference
14.13.4 Flag
Flag Instruction
D0 OOS (Actual mode)
D1 -
D2 -
D3 MAN (Actual mode)
D4 AUTO (Actual mode)
D5 -
D6 -
D7 -
D8 FF_ALARM (BLOCK_ERR Fault Occurs)
D9 -
D10 -
D11 -
D12 -
D13 -
D14 -
D15 -
D16 -
D17 -
D18 -
D19 -
D20 -
D21 -
D24 -
D25 -
D26
D27 CFGERR
D28 -
D29 ERR
D30 Alarm Suppress (AOF)
D31 -
946
Function Block Reference
14.14 FFMAI
14.14.1 Overview
FFMAI represents the field device input selection function block MAI, by which DCS can monitor
and control the field device MAI.
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Set the
selection
modes of 8
Configurat
Basic Signal CHA channels,
ion
Parameters Convert NNE Channel TRUE CHANNEL including
Paramete
Setting L unified
r
setting and
separate
setting.
Configurat
Configuration OUT
Output Scale ion
Parameter _SC - - -
H Limit Paramete
H
r
947
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Configurat
OUT
Output Scale ion
_SC - - -
H Limit Paramete
L
r
Configurat
OUT ion
Output Unit - - -
_EU Paramete
r
Extended Output Param OUT Output Output
- OUT_1 -
Parameters 1 Value1 Pin
OUT Output
Output
1_E Value1 - - -
Pin
RR Quality
Output
value1
OUT status, it can
Output
1_S be viewed by - OUT_1 -
Pin
TA clicking
“Settings”
button.
OUT Output Output
- OUT_2 -
2 Value2 Pin
OUT Output
Output
2_E Value2 - - -
Pin
RR Quality
Output
value2
OUT status, it can
Output
2_S be viewed by - OUT_2 -
Pin
TA clicking
“Settings”
button.
OUT Output
Output
3_E Value3 - - -
Pin
RR Quality
Output
value3
OUT status, it can
Output
3_S be viewed by - OUT_3 -
Pin
TA clicking
“Settings”
button.
OUT Output Output
- OUT_4 -
4 Value4 Pin
OUT Output
Output
4_E Value4 - - -
Pin
RR Quality
948
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Output
value4
OUT status, it can
Output
4_S be viewed by - OUT_4 -
Pin
TA clicking
“Settings”
button.
OUT Output Output
- OUT_5 -
5 Value5 Pin
OUT Output
Output
5_E Value5 - - -
Pin
RR Quality
Output
value5
OUT status, it can
Output
5_S be viewed by - OUT_5 -
Pin
TA clicking
“Settings”
button.
OUT Output Output
- OUT_6 -
6 Value6 Pin
OUT Output
Output
6_E Value6 - - -
Pin
RR Quality
Output
Value6
OUT status, it can
Output
6_S be viewed by - OUT_6 -
Pin
TA clicking
“Settings”
button.
OUT Output Output
- OUT_7 -
7 Value7 Pin
OUT Output
Output
7_E Value7 - - -
Pin
RR Quality
Output
value7
OUT status, it can
Output
7_S be viewed by - OUT_7 -
Pin
TA clicking
“Settings”
button.
OUT Output Output
- OUT_8 -
8 Value8 Pin
OUT Output
Output
8_E Value8 - - -
Pin
RR Quality
Output
value8
OUT status, it can
Output
8_S be viewed by - OUT_8 -
Pin
TA clicking
“Settings”
button.
949
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Block alarm,
it can be Monitorin
BLC
viewed by g
K_E - BLOCK_ERR -
clicking Paramete
RR
“Settings” r
button.
Alarm Param Monitorin
FLA g
Flag - - -
G Paramete
r
Suppress Operation
AOF Module TRUE Paramete - -
Alarm r
Monitorin
ST_ Static g
- ST_REV -
REV Revision Paramete
r
Manual
MAN Operation
Operate
OUT TRUE Paramete - -
Output
1 r
Value1
Manual
MAN Operation
Operate
OUT TRUE Paramete - -
Output
2 r
Value2
Manual
MAN Operation
Operate
OUT TRUE Paramete - -
Output
3 r
Value3
Manual
MAN Operation
Real Status Operate
OUT TRUE Paramete - -
Output
4 r
Value4
Manual
Operation
MAN Operate
TRUE Paramete - -
OU5 Output
r
Value5
Manual
Operation
MAN Operate
TRUE Paramete - -
OU6 Output
r
Value6
Manual
MAN Operation
Operate
OUT TRUE Paramete - -
Output
7 r
Value7
Manual
MAN Operation
Operate
OUT TRUE Paramete - -
Output
8 r
Value8
Actual
mode, it can Monitorin
Operate MO
be viewed by g
Param DE_ - MODE_BLK -
clicking Paramete
ACT
“Settings” r
button.
950
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Target
mode. It can
be viewed
MO Operation
and
DE_ TRUE Paramete MODE_BLK -
configured
TRG r
by clicking
“Settings”
button.
Permit
mode. It can
be viewed
MO Operation
and
DE_ TRUE Paramete MODE_BLK -
configured
PRM r
by clicking
“Settings”
button.
Normal
mode. It can
be viewed
MO Operation
and
DE_ TRUE Paramete MODE_BLK -
configured
NR r
by clicking
“Settings”
button.
Configurat
OUT Output
Configuration ion
_DL Decimal - - -
Parameter Paramete
EN Digits
r
Extend pin of
actual
Extend Pin Extend configuration
P01 Extend Pin1 - -
Pin associated
device function
block
Extend pin of
actual
Extend configuration
P02 Extend Pin2 - -
Pin associated
device function
block
Extend Pin2 Extend pin
status, it can status of actual
P02
be viewed by Extend configuration
_ST - -
clicking Pin associated
A
“Settings” device function
button. block
951
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Extend pin of
actual
Extend configuration
P03 Extend Pin3 - -
Pin associated
device function
block
Extend pin of
actual
Extend configuration
P04 Extend Pin4 - -
Pin associated
device function
block.
Extend pin
status
Extend Pin4 parameter
status, it can supported by
P04
be viewed by Extend device function
_ST - -
clicking Pin block
A
“Settings” associating
button. based on
actual
configuration.
14.14.3 Instruction Details
Schematic of MAI Process Flowchart
952
Function Block Reference
Algorithm
FFMAI can process 8 input channels simultaneously. It supports modes of OOS, MAN, AUTO.
14.14.4 Flag
Flag Instruction
D0 OOS (Actual mode)
D1 -
D2 -
D3 MAN (Actual mode)
D4 AUTO (Actual mode)
D5 -
D6 -
D7 -
D8 FF_ALARM (BLOCK_ERR Fault Occurs)
D9 -
D10 -
D11 -
D12 -
D13 -
D14 -
D15 -
D16 -
D17 -
D18 -
D19 -
D20 -
D21 -
D24 -
D25 -
D26
D27 CFGERR
D28 -
D29 ERR
D30 Alarm Suppress (AOF)
D31 -
953
Function Block Reference
14.15 FFMAO
14.15.1 Overview
FFMAO represents the field device input selection function block MAO, by which DCS can monitor
and control the field device MAO.
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Set the
selection
modes of 8
Configurat
Signal channels,
Basic CHANN ion
Convert Channel TRUE CHANNEL including
Parameters EL Paramete
Setting unified
r
setting and
separate
setting.
Extended Input IN1 Remote SV1 - Input Pin IN_1 -
Parameters Param
IN1_ER Remote SV1
- Input Pin - -
R Quality
Remote SV1
status. It can
be viewed
and
IN1_STA - Input Pin IN_1 -
configured by
clicking
“Settings”
button.
954
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
IN2 Remote SV2 - Input Pin IN_2 -
IN2_ER Remote SV2
- Input Pin - -
R Quality
Remote SV2
status. It can
be viewed
and
IN2_STA - Input Pin IN_2 -
configured by
clicking
“Settings”
button.
IN3 Remote SV3 - Input Pin IN_3 -
IN3_ER Remote SV3
- Input Pin - -
R Quality
Remote SV3
status. It can
be viewed
and
IN3_STA - Input Pin IN_3 -
configured by
clicking
“Settings”
button.
IN4 Remote SV4 - Input Pin IN_4 -
IN4_ER Remote SV4
- Input Pin - -
R Quality
Remote SV4
status. It can
be viewed
and
IN4_STA - Input Pin IN_4 -
configured by
clicking
“Settings”
button.
IN5 Remote SV5 - Input Pin IN_5 -
IN5_ER Remote SV5
- Input Pin - -
R Quality
Remote SV5
status. It can
be viewed
and
IN5_STA - Input Pin IN_5 -
configured by
clicking
“Settings”
button.
IN6 Remote SV6 - Input Pin IN_6 -
IN6_ER Remote SV6
- Input Pin - -
R Quality
Remote SV6
status. It can
be viewed
and
IN6_STA - Input Pin IN_6 -
configured by
clicking
“Settings”
button.
955
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
IN7 Remote SV7 - Input Pin IN_7 -
IN7_ER Remote SV7
- Input Pin - -
R Quality
Remote SV7
status. It can
be viewed
and
IN7_STA - Input Pin IN_7 -
configured by
clicking
“Settings”
button.
IN8 Remote SV8 - Input Pin IN_8 -
IN8_ER Remote SV8
- Input Pin - -
R Quality
Remote SV8
status. It can
be viewed
and
IN8_STA - Input Pin IN_8 -
configured by
clicking
“Settings”
button.
Block alarm, it
Monitorin
can be viewed
BLCK_E g
by clicking - BLOCK_ERR -
RR Paramete
“Settings”
r
button.
Alarm Monitorin
Param g
FLAG Flag - - -
Paramete
r
Operation
Suppress
AOF TRUE Paramete - -
Module Alarm
r
Monitorin
Static g
ST_REV - ST_REV -
Revision Paramete
Actual r
Param Monitorin
FST_ST Fault g FSTATE_STA
- -
A Indication Paramete TUS
r
Actual mode,
it can be Monitorin
Operate MODE_ viewed by g
Param - MODE_BLK -
ACT clicking Paramete
“Settings” r
button.
Target mode.
It can be
viewed and Operation
MODE_
configured by TRUE Paramete MODE_BLK -
TRG
clicking r
“Settings”
button.
956
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Permit mode.
It can be
viewed and Operation
MODE_
configured by TRUE Paramete MODE_BLK -
PRM
clicking r
“Settings”
button.
Normal mode.
It can be
viewed and Operation
MODE_
configured by TRUE Paramete MODE_BLK -
NR
clicking r
“Settings”
button.
Operation
FST_TI FSTATE_TIM
Failure Time TRUE Paramete -
ME E
r
Operation
FST_VA FSTATE_VAL
Fault Value1 TRUE Paramete Fault Value1
L1 _1
r
Operation
FST_VA FSTATE_VAL
Fault Value2 TRUE Paramete Fault Value2
L2 _2
r
Operation
FST_VA FSTATE_VAL
Fault Value3 TRUE Paramete Fault Value3
L3 _3
r
Operation
FST_VA FSTATE_VAL
Fault Value4 TRUE Paramete Fault Value4
L4 _4
r
Operation
FST_VA FSTATE_VAL
Fault Value5 TRUE Paramete Fault Value5
L5 _5
r
Advance
Operation
d FST_VA FSTATE_VAL
Fault Value6 TRUE Paramete Fault Value6
Options L6 _6
r
Operation
FST_VA FSTATE_VAL
Fault Value7 TRUE Paramete Fault Value7
L7 _7
r
Operation
FST_VA FSTATE_VAL
Fault Value8 TRUE Paramete Fault Value8
L8 _8
r
Failsafe
options. It can
be viewed
Operation
MO_OP and
TRUE Paramete MO_OPTS -
T configured by
r
clicking
“Settings”
button.
957
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Extend pin of
actual
Extend Extend configuration
Pin P01 Extend Pin1 - -
Pin associated
device
function block
Extend pin
Extend Pin1
status of
status, it can
actual
P01_ST be viewed by Extend
- configuration -
A clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P02 Extend Pin2 - -
Pin associated
device
function block
Extend pin
Extend Pin2
status of
status, it can
actual
P02_ST be viewed by Extend
- configuration -
A clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P03 Extend Pin3 - -
Pin associated
device
function block
Extend pin
Extend Pin3
status of
status, it can
actual
P03_ST be viewed by Extend
- configuration -
A clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P04 Extend Pin4 - -
Pin associated
device
function block.
958
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Extend pin
status
Extend Pin4 parameter
status, it can supported by
P04_ST be viewed by Extend device
- -
A clicking Pin function block
“Settings” associating
button. based on
actual
configuration.
Extend
Input Value
IN_SCH - Paramete - -
Scale H Limit
r
Extend
Input Value
IN_SCL - Paramete - -
Signal Scale H Limit
r
Convert
Setting Extend
Input Value
IN_EU - Paramete - -
Unit
r
Extend
IN_DLE Input Decimal
- Paramete - -
N Digits
r
14.15.3 Instruction Details
Schematic of MAO
Algorithm
FFMAO can process 8 input channels simultaneously. It supports modes of OOS, LO, AUTO. 8
channels support failsafe function individually.
14.15.4 Flag
Flag Instruction
D0 OOS (Actual mode)
959
Function Block Reference
Flag Instruction
D1 -
D2 TR (Actual mode)
D3 -
D4 AUTO (Actual mode)
D5 -
D6 -
D7 -
D8 FF_ALARM (BLOCK_ERR Fault Occurs)
D9 -
D10 -
D11 -
D12 -
D13 -
D14 -
D15 -
D16 -
D17 -
D18 -
D19 -
D20 -
D21 -
D24 -
D25 -
D26
D27 CFGERR
D28 -
D29 ERR
D30 Alarm Suppress (AOF)
D31 -
960
Function Block Reference
14.16 FFMDI
14.16.1 Overview
FFMDI represents the field device input selection function block MDI, by which DCS can monitor
and control the field device MDI.
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Set the
selection
Configurat modes of 8
Signal
Basic CHAN ion channels,
Convert Channel TRUE CHANNEL
Parameters NEL Paramete including
Setting
r unified setting
and separate
setting.
Extended Output Output
OUT1 Output Value1 - OUT_D1 -
Parameters Param Pin
OUT1_ Output Value1 Output
- - -
ERR Quality Pin
Output Value1
status, it can
OUT1_ be viewed by Output
- OUT_D1 -
STA clicking Pin
“Settings”
button.
Output
OUT2 Output Value2 - OUT_D2 -
Pin
OUT2_ Output Value2 Output
- - -
ERR Quality Pin
Output Value2
status, it can
OUT2_ be viewed by Output
- OUT_D2 -
STA clicking Pin
“Settings”
button.
Output
OUT3 Output Value3 - OUT_D3 -
Pin
OUT3_ Output Value3 Output
- - -
ERR Quality Pin
Output Value3
status, it can
OUT3_ be viewed by Output
- OUT_D3 -
STA clicking Pin
“Settings”
button.
Output
OUT4 Output Value4 - OUT_D4 -
Pin
961
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
OUT4_ Output Value4 Output
- - -
ERR Quality Pin
Output Value4
status, it can
OUT4_ be viewed by Output
- OUT_D4 -
STA clicking Pin
“Settings”
button.
Output
OUT5 Output Value5 - OUT_D5 -
Pin
OUT5_ Output Value5 Output
- - -
ERR Quality Pin
Output Value5
status, it can
OUT5_ be viewed by Output
- OUT_D5 -
STA clicking Pin
“Settings”
button.
Output
OUT6 Output Value6 - OUT_D6 -
Pin
OUT6_ Output Value6 Output
- - -
ERR Quality Pin
Output Value6
status, it can
OUT6_ be viewed by Output
- OUT_D6 -
STA clicking Pin
“Settings”
button.
Output
OUT7 Output Value7 - OUT_D7 -
Pin
OUT7_ Output Value7 Output
- - -
ERR Quality Pin
Output Value7
status, it can
OUT7_ be viewed by Output
- OUT_D7 -
STA clicking Pin
“Settings”
button.
Output
OUT8 Output Value8 - OUT_D8 -
Pin
OUT8_ Output Value8 Output
- - -
ERR Quality Pin
Output Value8
status, it can
OUT8_ be viewed by Output
- OUT_D8 -
STA clicking Pin
“Settings”
button.
Block alarm, it
Monitorin
Alarm can be viewed
BLCK_ g
Param by clicking - BLOCK_ERR -
ERR Paramete
“Settings”
r
button.
962
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Monitorin
g
FLAG Flag - - -
Paramete
r
Operation
Suppress
AOF TRUE Paramete - -
Module Alarm
r
Monitorin
ST_RE Static g
- ST_REV -
V Revision Paramete
r
Manual Operation
MANO
Operate TRUE Paramete - -
UT1
Output Value1 r
Manual Operation
MANO
Operate TRUE Paramete - -
UT2
Output Value2 r
Manual Operation
MANO
Operate TRUE Paramete - -
UT3
Output Value3 r
Real Manual Operation
Status MANO
Operate TRUE Paramete - -
UT4
Output Value4 r
Manual Operation
MANO
Operate TRUE Paramete - -
U5
Output Value5 r
Manual Operation
MANO
Operate TRUE Paramete - -
U6
Output Value6 r
Manual Operation
MANO
Operate TRUE Paramete - -
UT7
Output Value7 r
Manual Operation
MANO
Operate TRUE Paramete - -
UT8
Output Value8 r
Actual mode,
it can be Monitorin
Operate MODE viewed by g
Param - MODE_BLK -
_ACT clicking Paramete
“Settings” r
button.
Target mode.
It can be
viewed and Operation
MODE
configured by TRUE Paramete MODE_BLK -
_TRG
clicking r
“Settings”
button.
963
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Permit mode.
It can be
viewed and Operation
MODE
configured by TRUE Paramete MODE_BLK -
_PRM
clicking r
“Settings”
button.
Normal mode.
It can be
viewed and Operation
MODE
configured by TRUE Paramete MODE_BLK -
_NR
clicking r
“Settings”
button.
Extend pin of
actual
Extend Extend configuration
Pin P01 Extend Pin1 -
Pin associated
device
function block
Extend pin
Extend Pin1
status of
status, it can
actual
P01_S be viewed by Extend
- configuration
TA clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P02 Extend Pin2 - -
Pin associated
device
function block
Extend pin
Extend Pin2
status of
status, it can
actual
P02_S be viewed by Extend
- configuration -
TA clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P03 Extend Pin3 - -
Pin associated
device
function block
964
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Extend pin
Extend Pin3
status of
status, it can
actual
P03_S be viewed by Extend
- configuration -
TA clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P04 Extend Pin4 - -
Pin associated
device
function block.
Extend pin
status
Extend Pin4 parameter
status, it can supported by
P04_S be viewed by Extend device
- -
TA clicking Pin function block
“Settings” associating
button. based on
actual
configuration.
14.16.3 Instruction Details
Schematic of MDI
Algorithm
FFMDI can process 8 discrete input channels simultaneously. It supports modes of OOS, MAN,
AUTO.
965
Function Block Reference
14.16.4 Flag
Flag Instruction
D0 OOS (Actual mode)
D1 -
D2 -
D3 MAN (Actual mode)
D4 AUTO (Actual mode)
D5 -
D6 -
D7 -
D8 FF_ALARM (BLOCK_ERR Fault Occurs)
D9 -
D10 -
D11 -
D12 -
D13 -
D14 -
D15 -
D16 -
D17 -
D18 -
D19 -
D20 -
D21 -
D24 -
D25 -
D26
D27 CFGERR
D28 -
D29 ERR
D30 Alarm Suppress (AOF)
D31 -
966
Function Block Reference
14.17 FFMDO
14.17.1 Overview
FFISEL is used to connect FF function blocks excepting the supported 15 function blocks, with the
system. These function blocks can be FF standard function block, like RATIO, or custom function
blocks of manufacturer.
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Set the
selection
modes of 8
Configurat
Signal channels,
Basic CHANN ion
Convert Channel TRUE CHANNEL including
Parameters EL Paramete
Setting unified
r
setting and
separate
setting.
Extended Input IN1 Remote SV1 - Input Pin IN_D1 -
Parameters Param
IN1_ER Remote SV1
- Input Pin - -
R Quality
Remote SV1
status. It can
be viewed
and
IN1_STA - Input Pin IN_D1 -
configured
by clicking
“Settings”
button.
IN2 Remote SV2 - Input Pin IN_D2 -
IN2_ER Remote SV2
- Input Pin - -
R Quality
Remote SV2
status. It can
be viewed
and
IN2_STA - Input Pin IN_D2 -
configured
by clicking
“Settings”
button.
IN3 Remote SV3 - Input Pin IN_D3 -
IN3_ER Remote SV3
- Input Pin - -
R Quality
967
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Remote SV3
status. It can
be viewed
and
IN3_STA - Input Pin IN_D3 -
configured
by clicking
“Settings”
button.
IN4 Remote SV4 - Input Pin IN_D4 -
IN4_ER Remote SV4
- Input Pin - -
R Quality
Remote SV4
status. It can
be viewed
and
IN4_STA - Input Pin IN_D4 -
configured
by clicking
“Settings”
button.
IN5 Remote SV5 - Input Pin IN_D5 -
IN5_ER Remote SV5
- Input Pin - -
R Quality
Remote SV5
status. It can
be viewed
and
IN5_STA - Input Pin IN_D5 -
configured
by clicking
“Settings”
button.
IN6 Remote SV6 - Input Pin IN_D6 -
IN6_ER Remote SV6
- Input Pin - -
R Quality
Remote SV6
status. It can
be viewed
and
IN6_STA - Input Pin IN_D6 -
configured
by clicking
“Settings”
button.
IN7 Remote SV7 - Input Pin IN_D7 -
IN7_ER Remote SV7
- Input Pin - -
R Quality
Remote SV7
status. It can
be viewed
and
IN7_STA - Input Pin IN_D7 -
configured
by clicking
“Settings”
button.
IN8 Remote SV8 - Input Pin IN_D8 -
968
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Remote SV8
status. It can
be viewed
and
IN8_STA - Input Pin IN_D8 -
configured
by clicking
“Settings”
button.
Block alarm,
it can be Monitorin
BLCK_E viewed by g
- BLOCK_ERR -
RR clicking Paramete
“Settings” r
button.
Alarm
Param Monitorin
g
FLAG Flag - - -
Paramete
r
Suppress Operation
AOF Module TRUE Paramete - -
Alarm r
Monitorin
Static g
ST_REV - ST_REV -
Revision Paramete
Actual r
Param Monitorin
FST_ST Fault g FSTATE_STAT
- -
A Indication Paramete US
r
Actual
mode, it can Monitorin
Operate MODE_ be viewed by g
Param - MODE_BLK -
ACT clicking Paramete
“Settings” r
button.
Target
mode. It can
be viewed
Operation
MODE_ and
TRUE Paramete MODE_BLK -
TRG configured
r
by clicking
“Settings”
button.
Permit
mode. It can
be viewed
Operation
MODE_ and
TRUE Paramete MODE_BLK -
PRM configured
r
by clicking
“Settings”
button.
969
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Normal
mode. It can
be viewed
Operation
MODE_ and
TRUE Paramete MODE_BLK -
NR configured
r
by clicking
“Settings”
button.
Operation
FST_TI
Failure Time TRUE Paramete FSTATE_TIME -
ME
r
Operation
FST_VA FSTATE_VAL_
Fault Value1 TRUE Paramete -
L1 D1
r
Operation
FST_VA FSTATE_VAL_
Fault Value2 TRUE Paramete -
L2 D2
r
Operation
FST_VA FSTATE_VAL_
Fault Value3 TRUE Paramete -
L3 D3
r
Operation
FST_VA FSTATE_VAL_
Fault Value4 TRUE Paramete -
L4 D4
r
Advance Operation
d FST_VA FSTATE_VAL_
Fault Value5 TRUE Paramete -
Options L5 D5
r
Operation
FST_VA FSTATE_VALD
Fault Value6 TRUE Paramete -
L6 _6
r
Operation
FST_VA FSTATE_VAL_
Fault Value7 TRUE Paramete -
L7 D7
r
Operation
FST_VA FSTATE_VAL_
Fault Value8 TRUE Paramete -
L8 D8
r
Failsafe
options. It
can be
Operation
MO_OP viewed and
TRUE Paramete MO_OPTS -
T configured
r
by clicking
“Settings”
button.
Extend pin of
actual
Extend Extend configuration
Pin P01 Extend Pin1 - -
Pin associated
device function
block
Extend Pin1 Extend pin
status, it can status of actual
P01_ST be viewed by Extend configuration
- -
A clicking Pin associated
“Settings” device function
button. block
970
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Extend pin of
actual
Extend configuration
P02 Extend Pin2 - -
Pin associated
device function
block
Extend pin of
actual
Extend configuration
P03 Extend Pin3 - -
Pin associated
device function
block
Extend Pin3 Extend pin
status, it can status of actual
P03_ST be viewed by Extend configuration
- -
A clicking Pin associated
“Settings” device function
button. block
Extend pin of
actual
Extend configuration
P04 Extend Pin4 - -
Pin associated
device function
block.
Extend pin
status
Extend Pin4 parameter
status, it can supported by
P04_ST be viewed by Extend device function
- -
A clicking Pin block
“Settings” associating
button. based on
actual
configuration.
14.17.3 Instruction Details
Schematic of MDO
971
Function Block Reference
Algorithm
FFMDO can process 8 discrete output channels simultaneously. It supports modes of OOS, LO,
AUTO. The 8-channel supports failsafe function separately.
14.17.4 Flag
Flag Instruction
D0 OOS (Actual mode)
D1 -
D2 -
D3 -
D4 AUTO (Actual mode)
D5 -
D6 -
D7 -
D8 FF_ALARM (BLOCK_ERR Fault Occurs)
D9 -
D10 -
D11 -
D12 -
D13 -
D14 -
D15 -
D16 -
D17 -
D18 -
D19 -
D20 -
D21 -
D24 -
D25 -
D26
972
Function Block Reference
Flag Instruction
D27 CFGERR
D28 -
D29 ERR
D30 Alarm Suppress (AOF)
D31 -
14.18 FFSGCR
14.18.1 Overview
FFSGCR represents the field device input selection function block SGCR, by which DCS can
monitor and control the field device SGCR.
FFSGCR provides 2-channel input and 2-channel output. It performs linear interpolation for
2-channel input value separately based on set group of coordinate value, and gets output value.
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Configurat Input range.
Basic Scale X Scale H ion Have no
Parameters Setting X_SCH TRUE X_RANGE
Limit Paramete influence for
r control
Configurat algorithm.
X Scale H ion
X_SCL TRUE X_RANGE
Limit Paramete
r
Configurat
ion
X_EU X Unit TRUE X_RANGE
Paramete
r
973
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Configurat
X Decimal ion
X_DLEN TRUE X_RANGE
Digits Paramete
r
Configurat
Y Scale H ion
Y_SCH TRUE Y_RANGE
Limit Paramete
r
Configurat
Y Scale H ion
Y_SCL TRUE Y_RANGE
Limit Paramete
Output
r
range. Have
no influence
Configurat for control
ion algorithm.
Y_EU Y Unit TRUE Y_RANGE
Paramete
r
Configurat
Y Decimal ion
Y_DLEN TRUE Y_RANGE
Digits Paramete
r
X2
X2 Points of
TRUE
ion
CURVE_X
X i X i 1 ,
Input Curve Paramete
r or the
function
Configurat block will
X3 Points of ion generate
X3 TRUE CURVE_X
Input Curve Paramete alarm and
r turn to OOS.
Configurat The
X4 Points of ion parameter
X4 TRUE CURVE_X should be
Input Curve Paramete
r set correctly
in the first
Configurat
time. Online
X5 Points of ion
X5 TRUE CURVE_X download of
Input Curve Paramete
the
r
parameter
Configurat after
X6 Points of ion modification
X6 TRUE CURVE_X
Input Curve Paramete is not
r supported.
Configurat
X7 Points of ion
X7 TRUE CURVE_X
Input Curve Paramete
r
Configurat
X8 Points of ion
X8 TRUE CURVE_X
Input Curve Paramete
r
974
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Configurat
X9 Points of ion
X9 TRUE CURVE_X
Input Curve Paramete
r
Configurat
X10 Points
ion
X10 of Input TRUE CURVE_X
Paramete
Curve
r
Configurat
X11 Points
ion
X11 of Input TRUE CURVE_X
Paramete
Curve
r
Configurat
X12 Points
ion
X12 of Input TRUE CURVE_X
Paramete
Curve
r
Configurat
X13 Points
ion
X13 of Input TRUE CURVE_X
Paramete
Curve
r
Configurat
X14 Points
ion
X14 of Input TRUE CURVE_X
Paramete
Curve
r
Configurat
X15 Points
ion
X15 of Input TRUE CURVE_X
Paramete
Curve
r
Configurat
X16 Points
ion
X16 of Input TRUE CURVE_X
Paramete
Curve
r
Configurat
X17 Points
ion
X17 of Input TRUE CURVE_X
Paramete
Curve
r
Configurat
X18 Points
ion
X18 of Input TRUE CURVE_X
Paramete
Curve
r
Configurat
X19 Points
ion
X19 of Input TRUE CURVE_X
Paramete
Curve
r
Configurat
X20 Points
ion
X20 of Input TRUE CURVE_X
Paramete
Curve
r
Configurat
X21 Points
ion
X21 of Input TRUE CURVE_X
Paramete
Curve
r
Configurat Describe X
Y1 Points of ion coordinate of
Y1 TRUE CURVE_Y
Input Curve Paramete interpolation
r curve.
975
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Configurat When input
Y2 Points of ion and output of
Y2 TRUE CURVE_Y
Input Curve Paramete channel2
r converted, it
Configurat must meet
Y3
Y3 Points of
TRUE
ion
CURVE_Y
Yi Yi 1 , or
Input Curve Paramete the function
r block will
Configurat generate
Y4 Points of ion alarm and
Y4 TRUE CURVE_Y
Input Curve Paramete turn to OOS.
r The
Configurat parameter
Y5 Points of ion should be
Y5 TRUE CURVE_Y set correctly
Input Curve Paramete
r in the first
time. Online
Configurat download of
Y6 Points of ion the
Y6 TRUE CURVE_Y
Input Curve Paramete parameter
r after
Configurat modification
Y7 Points of ion is not
Y7 TRUE CURVE_Y
Input Curve Paramete supported.
r
Configurat
Y8 Points of ion
Y8 TRUE CURVE_Y
Input Curve Paramete
r
Configurat
Y9 Points of ion
Y9 TRUE CURVE_Y
Input Curve Paramete
r
Configurat
Y10 Points
ion
Y10 of Input TRUE CURVE_Y
Paramete
Curve
r
Configurat
Y11 Points
ion
Y11 of Input TRUE CURVE_Y
Paramete
Curve
r
Configurat
Y12 Points
ion
Y12 of Input TRUE CURVE_Y
Paramete
Curve
r
Configurat
Y13 Points
ion
Y13 of Input TRUE CURVE_Y
Paramete
Curve
r
Configurat
Y14 Points
ion
Y14 of Input TRUE CURVE_Y
Paramete
Curve
r
Configurat
Y15 Points
ion
Y15 of Input TRUE CURVE_Y
Paramete
Curve
r
976
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Configurat
Y16 Points
ion
Y16 of Input TRUE CURVE_Y
Paramete
Curve
r
Configurat
Y17 Points
ion
Y17 of Input TRUE CURVE_Y
Paramete
Curve
r
Configurat
Y18 Points
ion
Y18 of Input TRUE CURVE_Y
Paramete
Curve
r
Configurat
Y19 Points
ion
Y19 of Input TRUE CURVE_Y
Paramete
Curve
r
Configurat
Y20 Points
ion
Y20 of Input TRUE CURVE_Y
Paramete
Curve
r
Configurat
Y21 Points
ion
Y21 of Input TRUE CURVE_Y
Paramete
Curve
r
Extended IN1 IN1 - Input Pin IN_1 -
Parameters
IN1_ERR IN1 Quality - Input Pin - -
IN1 status. It
can be
viewed and
IN1_STA configured - Input Pin IN_1 -
by clicking
“Settings”
Input button.
Param IN2 IN2 - Input Pin IN_2 -
IN2_ERR IN2 Quality - Input Pin - -
IN2 status. It
can be
viewed and
IN2_STA configured - Input Pin IN_2 -
by clicking
“Settings”
button.
Output Output
OUT1 OUT1 - OUT_1 -
Param Pin
OUT1_ER OUT1 Output
- - -
R Quality Pin
OUT1
status, it can
OUT1_ST be viewed by Output
- OUT_1 -
A clicking Pin
“Settings”
button.
Output
OUT2 OUT2 - OUT_2 -
Pin
977
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
OUT2_ER OUT2 Output
- - -
R Quality Pin
OUT2
status, it can
OUT2_ST be viewed by Output
- OUT_2 -
A clicking Pin
“Settings”
button.
Block alarm,
it can be Monitorin
BLCK_ER viewed by g
- BLOCK_ERR -
R clicking Paramete
“Settings” r
button.
Monitorin
g
Alarm FLAG Flag - - -
Paramete
Param r
Suppress Operation
AOF Module TRUE Paramete - -
Alarm r
Monitorin
Actual Static g
ST_REV - ST_REV -
Param Revision Paramete
r
Actual
mode, it can Monitorin
Operate MODE_A be viewed by g
Param - MODE_BLK -
CT clicking Paramete
“Settings” r
button.
Target
mode. It can
be viewed
Operation
MODE_T and
TRUE Paramete MODE_BLK -
RG configured
r
by clicking
“Settings”
button.
Permit
mode. It can
be viewed
Operation
MODE_P and
TRUE Paramete MODE_BLK -
RM configured
r
by clicking
“Settings”
button.
978
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Normal
mode. It can
be viewed
Operation
MODE_N and
TRUE Paramete MODE_BLK -
R configured
r
by clicking
“Settings”
button.
Manual
Operation
MANOUT Operate
TRUE Paramete - -
1 Output
r
Value1
Manual
Operation
MANOUT Operate
TRUE Paramete - -
2 Output
r
Value2
Configurat
Swap for ion
SWAP_2 TRUE SWAP_2 -
OUT_2 Paramete
r
Extend pin of
actual
Extend Extend configuration
Pin P01 Extend Pin1 - -
Pin associated
device
function block
Extend pin
Extend Pin1
status of
status, it can
actual
be viewed by Extend
P01_STA - configuration -
clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P02 Extend Pin2 - -
Pin associated
device
function block
Extend pin
Extend Pin2
status of
status, it can
actual
be viewed by Extend
P02_STA - configuration -
clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P03 Extend Pin3 - -
Pin associated
device
function block
979
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Extend pin
Extend Pin3
status of
status, it can
actual
be viewed by Extend
P03_STA - configuration -
clicking Pin
associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P04 Extend Pin4 - -
Pin associated
device
function block.
Extend pin
status
Extend Pin4 parameter
status, it can supported by
be viewed by Extend device
P04_STA - -
clicking Pin function block
“Settings” associating
button. based on
actual
configuration.
14.18.3 Instruction Details
Schematic of SGCR
Algorithm
980
Function Block Reference
Draw a interpolating curve via parameters X1, X2...X21 and Y1, Y2...Y21, which
includes following points:
[X1,Y1],[X2,Y2]...[X21,Y21]
will generate alarm and the block will enter OOS mode.
In the curve, X axis associates with IN, and Y axis associates with OUT.
IN1 combines interpolating curve to work out OUT1, IN2 combines interpolating curve to
work out OUT2, the 2 channels calculation are separated.
Firstly, program judges that IN belonging to which segment in the 20 segments of X, then
perform interpolating calculation, the algorithm is shown as following.
When IN is between X[i] and X[i+1]:
Y [i 1] Y [i ]
OUT Y [i] ( IN X [i ]) *
X [i 1] X [i ]
If IN<X1, output Y1. If IN>X21, output Y21.
If IN=X[i], OUT=Y[i].
Input/Output Reverse
SWAP_2 can start reverse function between input and output of the second channel.
When SWAP_2 is ON, IN2 associates with Y axis, OUT2 associates with X axis. Thus,
Y2...Y21 should increase steadily, which means the interpolating curve should be single
increasing curve, and both X and Y axis should increase steadily.
SWAP_2 is ON having no influence for the first channel.
FFSGCR does not support feedback output, while by the second channel reverse
function, and apply the same interpolating curve, the feedback calculation can be
provided.
Attention:
The curve coordinate parameters FFSGCR X1, X2...X21 and Y1, Y2...Y21 should
be set as accurate value and downloaded after adding function block.
Modification after the first download is not supported.
981
Function Block Reference
14.18.4 Flag
Flag Instruction
D0 OOS (Actual mode)
D1 -
D2 -
D3 MAN (Actual mode)
D4 AUTO (Actual mode)
D5 -
D6 -
D7 -
D8 FF_ALARM (BLOCK_ERR Fault Occurs)
D9 -
D10 -
D11 -
D12 -
D13 -
D14 -
D15 -
D16 -
D17 -
D18 -
D19 -
D20 -
D21 -
D24 -
D25 -
D26
D27 CFGERR
D28 -
D29 ERR
D30 Alarm Suppress (AOF)
D31 -
14.19 FFSPLIT
14.19.1 Overview
FFSPLIT represents the field device input selection function block SPLIT, by which DCS can
monitor and control the field device SPLIT.
FFSPLIT can split one channel input signal into two-channel output signal based on their working
982
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
When mode of
function block
or downstream
Basic Operation
Operate BAL Balanced function block
Parameters TRUE Paramete HYSTVAL
Param _TIM Time switches, it is
r
used for steady
transition of
output.
Setpoint
Operation
Value of
X11 TRUE Paramete IN_ARRAY
Output 1
r
Split L Point
Setpoint
Operation
Value of
X12 TRUE Paramete IN_ARRAY
Output 1
r
Split H Point
Setpoint Describe 2 split
Operation
Value of curves, [X11,
X21 TRUE Paramete IN_ARRAY
Output 2 Y11] and [X12,
r
Split L Point Y12] define
Setpoint channel1 split
Operation curve, [X21,
Value of
X22 TRUE Paramete IN_ARRAY Y21] and [X22,
Output 2
Split r Y22] define
Split H Point
Coordinate channel2 split
Output Value Operation curve. Cross
Y11 of Output 1 TRUE Paramete OUT_ARRAY and overlap is
Split L Point r forbidden when
Output Value Operation setting X axis.
Y12 of Output 1 TRUE Paramete OUT_ARRAY Details please
Split H Point r refer to
Algorithm.
983
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Configurat
MV1
MV1 Scale H ion OUT_1_RAN
_SC TRUE
Limit Paramete GE
H
r
Configurat
MV1
MV1 Scale H ion OUT_1_RAN
_SC TRUE Output range.
Limit Paramete GE
L Have no
Scale r
influence for
Setting Configurat
MV2 control
MV2 Scale H ion OUT_2_RAN algorithm.
_SC TRUE
Limit Paramete GE
H
r
Configurat
MV2
MV2 Scale H ion OUT_2_RAN
_SC TRUE
Limit Paramete GE
L
r
Connect
Extended Input BKOUT pin of
BKI Feedback
Parameters Param - Input Pin BKCAL_IN_1 downstream
N1 IN1
function block
receiving MV1.
When
downstream
function block
BKI
Feedback connecting
NER - Input Pin -
IN1 Quality MV1 is DCS
R1
function block,
connect its
BKOUTERR.
Feedback
IN1 status. It
can be
BKI1
viewed and
_ST - Input Pin BKCAL_IN_1 -
configured
A
by clicking
“Settings”
button.
Connect
BKOUT pin of
BKI Feedback
- Input Pin BKCAL_IN_2 downstream
N2 IN2
function block
receiving MV2.
When
downstream
function block
BKI
Feedback connecting
NER - Input Pin -
IN2 Quality MV2 is DCS
R2
function block,
connect its
BKOUTERR.
984
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Feedback
IN2 status. It
can be
BKI2
viewed and
_ST - Input Pin BKCAL_IN_2 -
configured
A
by clicking
“Settings”
button.
Cascade
CSV - Input Pin CAS_IN -
Input
CSV
Cascade
_ER - Input Pin - -
Input Quality
R
Cascade
input status.
It can be
CSV
viewed and
_ST - Input Pin CAS_IN -
configured
A
by clicking
“Settings”
button.
Output Operation
Output
Param MV1 Output - OUT_1 -
Pin
Value1
Operation
MV1
Output Output
_ER - - -
Value1 Pin
R
Quality
Operation
Output
Value1
MV1
status, it can Output
_ST - OUT_1 -
be viewed by Pin
A
clicking
“Settings”
button.
Operation
Output
MV2 Output - OUT_2 -
Pin
Value2
Operation
MV2
Output Output
_ER - - -
Value2 Pin
R
Quality
Operation
Output
Value2
MV2
status, it can Output
_ST - OUT_2 -
be viewed by Pin
A
clicking
“Settings”
button.
985
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Connect BKIN
BKO Feedback Output pin of upstream
- BKCAL_OUT
UT Output Value Pin function block
providing CSV.
When
upstream
BKO Feedback function block
Output
UTE Output - - providing CSV
Pin
RR Status is DCS function
block, connect
its BKIN pin.
Feedback
output
BKO status, it can
Output
_ST be viewed by - BKCAL_OUT -
Pin
A clicking
“Settings”
button.
Block alarm,
it can be Monitorin
BLC
viewed by g
K_E - BLOCK_ERR -
clicking Paramete
RR
“Settings” r
button.
Alarm
Param Monitorin
FLA g
Flag - - -
G Paramete
r
Suppress Operation
AOF Module TRUE Paramete - -
Alarm r
Monitorin
ST_ Static g
- ST_REV -
REV Revision Paramete
r
Manual
Actual Operation
MAN Operate
Param TRUE Paramete - MANMV1
MV1 Output
r
Value1
Manual
Operation
MAN Operate
TRUE Paramete - MANMV2
MV2 Output
r
Value2
Actual
mode, it can Monitorin
Operate MO
be viewed by g
Param DE_ - MODE_BLK -
clicking Paramete
ACT
“Settings” r
button.
HYS Operation
Output Lock Hysteresis of
TVA TRUE Paramete HYSTVAL
Hysteresis LOCKVAL
L r
986
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Target
mode. It can
be viewed
MO Operation
and
DE_ TRUE Paramete MODE_BLK -
configured
TRG r
by clicking
“Settings”
button.
Permit
mode. It can
be viewed
MO Operation
and
DE_ TRUE Paramete MODE_BLK -
configured
PRM r
by clicking
“Settings”
button.
Normal
mode. It can
be viewed
MO Operation
and
DE_ TRUE Paramete MODE_BLK -
configured
NR r
by clicking
“Settings”
button.
Output 1
Work for
lock options.
channel1.
It can be Configurat
LOC Determine the
viewed and ion
KVA TRUE LOCKVAL MV1 output
configured Paramete
L mode when
by clicking r
CSV is larger
“Settings”
than X12.
Options button.
Setting Status
options. It
can be Configurat
STA
viewed and ion STATUS_OP
_OP TRUE -
configured Paramete TS
TS
by clicking r
“Settings”
button.
Configurat
Scale MV1
MV1 ion OUT_1_RAN
Setting Engineering TRUE -
_EU Paramete GE
Unit
r
Configurat
MV1 MV1
ion OUT_1_RAN
_DL Decimal TRUE -
Paramete GE
EN Digits
r
Configurat
MV2
MV2 ion OUT_2_RAN
Engineering TRUE -
_EU Paramete GE
Unit
r
Configurat
MV2 MV2
ion OUT_2_RAN
_DL Decimal TRUE -
Paramete GE
EN Digits
r
987
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Configurat
SV_ SV Scale H ion
TRUE - -
SCH Limit Paramete
r
Configurat
SV_ SV Scale H ion
TRUE - -
SCL Limit Paramete
r
Configurat
SV
SV_ ion
Engineering TRUE - -
EU Paramete
Unit
r
Configurat
SV_
SV Decimal ion
DLE TRUE - -
Digits Paramete
N
r
Extend pin of
actual
Extend Pin Extend configuration
P01 Extend Pin1 - -
Pin associated
device
function block
Extend pin
Extend Pin1
status of
status, it can
P01 actual
be viewed by Extend
_ST - configuration -
clicking Pin
A associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P02 Extend Pin2 - -
Pin associated
device
function block
Extend pin
Extend Pin2
status of
status, it can
P02 actual
be viewed by Extend
_ST - configuration -
clicking Pin
A associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P03 Extend Pin3 - -
Pin associated
device
function block
988
Function Block Reference
FF Parameter Application
Parameter Name Description Upload Property
Name Instruction
Extend pin
Extend Pin3
status of
status, it can
P03 actual
be viewed by Extend
_ST - configuration -
clicking Pin
A associated
“Settings”
device
button.
function block
Extend pin of
actual
Extend configuration
P04 Extend Pin4 - -
Pin associated
device
function block.
Extend pin
status
Extend Pin4 parameter
status, it can supported by
P04
be viewed by Extend device
_ST - -
clicking Pin function block
A
“Settings” associating
button. based on
actual
configuration.
14.19.3 Instruction Details
Schematic of SPLIT
Algorithm
Split Calculation
The relationship of each output to the input may be defined by 2 lines, which are
determined by 4 groups of Split Coordinates. Among them, [X11, Y11] and [X12, Y12]
define the first split line, [X21, Y21] and [X22, Y22] define the second split line. The split
points and directions of two output lines can be defined by setting different split
coordinates, as shown in below.
989
Function Block Reference
When Input Value exceeds X12, output of OUT1 can be set via LOCKVAL. If LOCKVAL
is “LOCK”, and CSV > X12, MV1 outputs Y12. If LOCKVAL is “NO LOCK”, and CSV >
X12, MV1 outputs Y11, perform output and hysteresis for the first channel.
determined by the calculated y value. X leaves hysteresis area is not X12, MV1 outputs
via LOCKVAL configuration.
990
Function Block Reference
When 2 function block modes of downstream switch, which means entering or leaving
CAS mode, to secure the non-reference mode switch for whole control loop, FFSPLIT
has following 2 methods based on status of 2 channels Feedback Input Pin.
When another downstream block is not in CAS mode, take the feedback value as Y of
split curve, to calculate X of FFSPLIT feedback output value. Then notice upstream
block via BKOUT pin, to achieve non-reference switch of the whole closed loop.
When another downstream block is in CAS mode, calculate the deviation value between
feedback input value, and Y counted by current input value, and eliminate the difference
in BAL_TIM via ramp action, to achieve steady transition from Feedback Output to Y.
Supported Modes
991
Function Block Reference
Flag Instruction
D0 OOS (Actual mode)
D1 IMAN (Actual mode)
D2 -
D3 MAN (Actual mode)
D4 AUTO (Actual mode)
D5 CAS (Actual mode)
D6 -
D7 -
D8 FF_ALARM (BLOCK_ERR Fault Occurs)
D9 -
D10 -
D11 -
D12 -
D13 -
D14 -
D15 -
D16 -
D17 -
D18 -
D19 -
D20 -
D21 -
D24 -
D25 -
D26
D27 CFGERR
D28 -
D29 ERR
D30 Alarm Suppress (AOF)
D31 -
992
Function Block Reference
Section 15 Revision
Table 15-1 Retrofit list of the version
V 1.1 (Aug. 6th, 2015) VisualField V3.2 Update with the software.
993