[go: up one dir, main page]

0% found this document useful (0 votes)
398 views12 pages

FC 129 - Multistate Device Driver - ABB SolutionsBank

The multistate device driver (MSDD) function code provides control of equipment with more than one operating state. It uses four output masks to control processes with three boolean signals each. Feedback inputs define the actual state, and the control output status represents the process status. The MSDD block is exception reported and has specifications to configure the control scheme.

Uploaded by

Suresh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
398 views12 pages

FC 129 - Multistate Device Driver - ABB SolutionsBank

The multistate device driver (MSDD) function code provides control of equipment with more than one operating state. It uses four output masks to control processes with three boolean signals each. Feedback inputs define the actual state, and the control output status represents the process status. The MSDD block is exception reported and has specifications to configure the control scheme.

Uploaded by

Suresh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Multistate Device Driver

Function Code 129

M S DVD R The multistate device driver (MSDD) function code provides a


S1
I1 1
(1 2 9 ) means of controlling field equipment (i.e., variable speed
S2 N
S3
I2 2
N+1 motor) or control schemes that have more than one control
F1 3
S4 F2 ST
N+2 mode. The MSDD block provides four state controls with feed-
N+3
S5 F3 back. Two control inputs or an operator input selects one of
S6
S25
F4 four output masks for control action. The output masks pro-
0
vide three boolean signals simultaneously to the actual control
logic. The MSDD block accepts four boolean feedback inputs
that define the actual state of the control scheme. A control
output status signal from the MSDD block can interface to
sequencing logic to trigger the next step in a process. The con-
trol output status represents the status of the controlled pro-
cess as defined by the feedback inputs and a feedback wait
time. Control output status can be good (0.0), bad (1.0), or
waiting (2.0).

The MSDD block is exception reported. Exception reports con-


tain states: output, feedback, alarm; and statuses: control
output and mode. An exception report generates when the
block output mask changes, the block generates an alarm, a
feedback input changes state, or Tmax for exception reporting
expires.

Outputs

Blk Type Description


N B Control output 1
N+1 B Control output 2
N+2 B Control output 3
N+3 R Control output status:
0.0 = good
1.0 = bad
2.0 = waiting

Specifications

Spec Tune Default Type Range Description


S1 N 0 I Note 1 Block address of control input 1
S2 N 0 I Note 1 Block address of control input 2

WBPEEUI210504B0 129 - 1
Specifications (continued)

Spec Tune Default Type Range Description


S3 N 0 I Note 1 Block address of feedback input 1
S4 N 0 I Note 1 Block address of feedback input 2
S5 N 0 I Note 1 Block address of feedback input 3
S6 N 0 I Note 1 Block address of feedback input 4
S7 N 0 I 000 - 111 Default mask
S8 N 0 I 000 - 111 Output mask 1
S9 N 0 I 000 - 111 Output mask 2
S10 N 0 I 000 - 111 Output mask 3
S11 Y 0 I 0000 - 2222 Feedback corresponding to output mask 1
S12 Y 0 I 0000 - 2222 Feedback corresponding to output mask 2
S13 Y 0 I 0000 - 2222 Feedback corresponding to output mask 3. Each digit
can be:
0 = input should be 0
1 = input should be 1
2 = input could be 0 or 1
S14 Y 0 I Full Control output status override:
Status override:
XX0 = none
XX1 = output status
XX2 = output status and alarm
Control override:
X0X = go to manual mode and default control
outputs
X1X = hold current mode and control outputs
X2X = go to manual mode and hold current control
outputs
X3X = go to auto mode and set outputs as selected
by current control inputs
X4X = go to manual mode and set outputs as
selected by operator interface device
Operation:
0XX = normal operation
1XX = early good status enable
S15 Y 1 B 0 or 1 Manual mode permissive:
0 = no
1 = yes
S16 Y 0.000 R 0 - 9.2 E18 Feedback waiting time (seconds)
S17 Y 0.000 R 0 - 9.2 E18 Fault waiting time
S18 N 0 I 0 - 255 MSDD display type

129 - 2 WBPEEUI210504B0
Specifications (continued)

Spec Tune Default Type Range Description


S19 Y 1 I 1 - 32 Next allowable mask numbers from output mask 1 in
manual mode
S20 Y 2 I 1 - 32 Next allowable mask numbers from output mask 2 in
manual mode
S21 Y 3 I 1 - 32 Next allowable mask numbers from output mask 3 in
manual mode
S22 Y 0.000 R 0 - 9.2 E18 Length of pulsed outputs (if 0, sustained outputs)
S23 N 1 B Full Initial mode:
0 = manual
1 = auto
S24 Y 0.000 R Full Startup track flag:
0.0 = no track during startup
1.0 = control outputs track control inputs during
startup
S25 N 0 I Note 1 Block address of control override
NOTES:
1. Maximum values are: 9,998 for the BRC-100, IMMFP11/12
31,998 for the HAC

Explanation
The MSDD block controls output logic or other control
schemes that can be operated in more than one state, for
example, variable speed mixers and motors. The output state
depends on two control input signals or an operator input. The
values of these signals determine which of four output masks
will be sent to the controlled process. Each output mask pro-
vides three user-defined boolean signals that drive the pro-
cess.

The user defines the output masks based on which state the
process should be in for given combinations of inputs. The
user also defines feedback masks corresponding to the output
masks. The block compares the feedback inputs from the pro-
cess with the feedback mask containing normal feedback val-
ues for a given output mask. If the feedback inputs do not
match the feedback mask within the feedback waiting time, an
alarm generates and is exception reported. Table 129-1 defines
the output and feedback masks selected with various
combinations of control inputs. Figure 129-1 illustrates how
the block interprets the feedback masks.

WBPEEUI210504B0 129 - 3
Table 129-1. Truth Table for Selection of Output Masks in Auto Mode

Control Input Corresponding Next Allowable State Mask


Mask Selected
1 <S1> 2 <S2> Feedback Mask (Manual Mode Only)
0 0 Default mask (S7) None None
0 1 Output mask 1 (S8) Feedback mask 1 (S11) Next state mask 1 (S19)
1 0 Output mask 2 (S9) Feedback mask 2 (S12) Next state mask 2 (S20)
1 1 Output mask 3 (S10) Feedback mask 3 (S13) Next state mask 3 (S21)

C ON T RO L
IN P U T S

M S DVD R
S1 (12 9 )
I1 1
S2 N
I2 2
S3 N +1
0 F1 3
S4 N +2
1 F2 ST
S5 N +3
0 F3
S6 F4
0
S25 0

T 01 77 4 A

Figure 129-1. Relationship Between Feedback Inputs and Feedback Masks

If the control inputs are: <S1> = 0, <S2> = 1, then output


mask one (S8), feedback mask one (S11), and next state
mask one (S19) are implemented.

If feedback mask one (S11) = 0100, then the values of S3,


S4, S5 and S6 must correspond to S11 as shown in Figure
129-1 to produce a good control output status (N+3).

NOTE: All feedback masks can input a four-digit number for the specification in
which each digit is either a zero, one or two. Figure 129-2 illustrates this rela-
tionship.

X X X X (4 -D IG IT N U M BE R )

1 2 3 4 (F E ED BAC K)
<S3 > <S 4> <S 5> <S 6>
T 01 775 A

Figure 129-2. Four-Digit Feedback Mask

This block supports both automatic and manual modes. The


user selects the initial mode with S23. In automatic mode, two

129 - 4 WBPEEUI210504B0
boolean inputs from the control system select the mask that
drives the outputs as shown in Table 129-1. The default mask
may not be manually initiated. To operate the device in
manual mode, the manual mode permissive (S15) must be one
(yes).

Auto/manual status may be monitored internally by using the


test alarm function (function code 69). Figure 129-3 shows
this simplified configuration. A control output status value is
generated based on the feedback inputs, feedback waiting
time, and feedback masks. If the value of any feedback input
does not match the value of the feedback mask for a given out-
put mask, an exception report generates and goes to the con-
sole, and the control output status value will be set to bad
(1.0) unless overridden. The control output status can have
one of three values (0.0 = good, 1.0 = bad, or 2.0 = waiting).

A L A R M IN D IC AT IO N
0 = N O AL A R M
M S DV D R T S TA LM
(1 2 9 ) (6 9 ) 1 = A LAR M
S1 I1 1 H
S2 1 0 00 1 0 07
I2 2 L
S3 1 0 01 1 0 08 M OD E IN D IC AT IO N
F1 3
S4 1 0 02 S 1 = 1 0 0 0 (M S D D B L O C K) 0 = M AN UAL
F2 ST 1 = A U TO
1 0 03 S2 = 2 (M S D D T Y P E )
S5 F3
S6 F4
S 25 O
T 01 77 6 A

Figure 129-3. Auto/Manual Status Monitored with Test Alarm Block

The user can set a fault wait timer to allow a delay between the
time the exception report indicates an alarm, and when the
control output status reflects that alarm. The exception
reported alarm occurs first. This provides a fixed interval of
time during which the control output status can be overrid-
den. The control output status override forces the control out-
put to the good state. Specification S14 implements the control
output status override (no override, override output status
only, or override output status and alarm). Selecting override
status and alarm disables exception report alarms.

A pulse output timer allows the selection of pulsed or main-


tained control outputs. When S22 is a non zero value, the out-
puts are pulsed to the selected output mask state for the time
period selected, then set back to the default mask state. When
S22 is zero, the outputs are sustained.

WBPEEUI210504B0 129 - 5
Specifications
S1 – CI1 Block address of control input one.
S2 – CI2 Block address of control input two.

NOTE: A block address of zero (default) in both S1 and S2 enables using this
block with batch language only.
S3 – FB1 Block address of feedback input one. The feedback inputs are
signals from the field that define the actual state of the device.
The values of the feedback inputs are compared to the feed-
back status masks to determine the control output status. If
the feedback inputs do not match the feedback status masks
for given control outputs, an exception report with alarm gen-
erates.
S4 – FB2 Block address of feedback input two. Refer to S3 – FB1 for an
explanation.
S5 – FB3 Block address of feedback input three. Refer to S3 – FB1 for
an explanation.
S6 – FB4 Block address of feedback input four. Refer to S3 – FB1 for an
explanation.
S7 – DMASK Default output mask. The default output mask is a value con-
sisting of three boolean digits that control the output logic.
This is configurable, and can be any combination of zeros and
ones. This output mask will be sent to the output logic when
the control inputs are both zero. The output mask configura-
tion is shown as follows:
X X X
Ones digit state of output N+2
Tens digit state of output N+1
Hundreds digit state of output N

S8 – MASK1 Output mask one. This value consists of three boolean digits
that control the output logic. It can be configured as any com-
bination of zeros and ones. This output mask is sent to the
output logic when control inputs one and two are zero and one
in that order (in auto mode) or the operator depresses the state
one pushbutton (in manual mode). Refer to S7 – DMASK for
output mask configuration.

129 - 6 WBPEEUI210504B0
S9 – MASK2 Output mask two. This value consists of three boolean digits
that control the output logic. It can be configured as any com-
bination of zeros and ones. This output mask is sent to the
output logic when control inputs one and two are one and
zero, respectively (in auto mode) or the operator depresses the
state two pushbutton (in manual mode). Refer to S7 – DMASK
for output mask configuration.
S10 – MASK3 Output mask three. This value consists of three boolean digits
that control the output logic. It can be configured as any com-
bination of zeros and ones. This output mask is sent to the
output logic when control inputs one and two are both one (in
auto mode) or the operator depresses the state three pushbut-
ton (in manual mode). Refer to S7 – DMASK for output mask
configuration.
S11 – FDMSK1 Feedback corresponding to output mask one. This value con-
sists of four boolean values that identify the normal state of
the feedback inputs when output mask one is the control. See
Figure 129-2 for four-digit feedback masks.
X X X X
Feedback 4
Feedback 3
Feedback 2
Feedback 1

S12 – FDMSK2 Feedback corresponding to output mask two. This value con-
sists of four boolean values which identify the normal state of
the feedback inputs when output mask two is the control. See
Figure 129-2 for four-digit feedback masks. Refer to S11 –
FDMSK1 for output mask configuration.
S13 – FDMSK3 Feedback corresponding to output mask three. This value con-
sists of four boolean values which identify the normal state of
the feedback inputs when output mask three is the control.
See Figure 129-2 for four-digit feedback masks. Refer to S11 –
FDMSK1 for output mask configuration.
S14 – COSOV Control output status override. This value defines the override
type currently implemented. The control output status over-
ride forces the control output to good, regardless of the feed-
back inputs and masks when the ones digit is set to a one or
two. The alarm status is also overridden when the ones digit is

WBPEEUI210504B0 129 - 7
set to a two. The tens digit overrides control output status and
dictates block control only when <S25> is a logic 1.

NOTE: Early recognition of feedback cancels the feedback waiting time (S16)
once feedback conditions have been met. This can result in bad status and
alarm prior to feedback waiting time time-out.
X X X
Status override
0 = no override.
1 = override output status only. Alarms are still exception reported
to console.
2 = override output status and alarm (disable exception report alarms).
Control override
0 = go to manual mode (if manual mode permissive) and default
control outputs.
1 = hold current mode and control outputs. If outputs are pulsed, go
to default control outputs.
2 = go to manual mode (if permitted) and hold current control outputs.
If outputs are pulsed, go to default control outputs.
3 = go to auto mode and set control outputs as selected by the
current control inputs (S1 and S2).
4 = go to manual mode (if permitted) with current control outputs.
Only applicable when S25 = 1. Control status will be forced to good
while S25 = 1. If outputs are pulsed, go to default control outputs.
Operator requests to change state are allowed subject to next
allowable state (S19, S20, S21) constraints. Requests to change
mode to auto are refused.
Operation - early recognition of feedbacks
0 = normal operation - wait for duration of S16.
1 = early good status enable. When the hundreds digit is set to one,
the control output status is set to good as soon as the feedbacks
indicate this condition.
NOTE: Early recognition of feedback cancels the waiting time (S16)
once feedback conditions have been met. This can result in bad status
and alarm prior to feedback waiting time time-out.

S15 – MPERM Sets the manual mode permissive. This tunable value defines
if manual mode is permitted. This specification has no influ-
ence on these parameters and the output masks are never
tunable while the feedback masks are always tunable.

0 = no (auto mode)
1 = yes (manual mode)

NOTE: If S15 changes from one to zero, then the block is forced to auto mode
when S25 is a zero.

129 - 8 WBPEEUI210504B0
S16 – FDWAIT Feedback waiting time. This value defines the time in seconds
that the MSDD block waits before comparing the feedback
inputs with the feedback masks. For example, if the block con-
trols a variable speed motor, the feedback waiting time is the
time it takes the motor to ramp from stopped to its top speed.
This insures that measurements taken while the device is
starting up or changing speeds are not used for control or indi-
cation. If at the end of the feedback time the feedbacks are not
correct, then an alarm generates if not overridden by S14.

NOTES:
1. Without early good recognition implemented, the check for feedback fol-
lows the formula S22 + S16 = check for feedback.

2. With early good recognition implemented, updated control output status is


updated after S22 + S16 expires or good feedback is met. Early good feed-
back cancels the feedback waiting time after the feedbacks match the state
mask.
Example 1 Check for feedback at 5 seconds (S16 = 5). Maintained outputs (S22 = 0).
S22 + S16 = check feedback
0 + 5 = 5 seconds

Example 2 Check for feedback at 2 seconds (S16 = 2). Pulse output of 3 seconds (S22 = 3).
S22 + S16 = check feedback
3 + 2 = 5 seconds

S17 – FLTWAIT Fault waiting time. This value defines the delay in seconds
between an exception reported alarm and when the control
output status indicates the fault condition to the rest of the
control system. This allows a fixed interval of time during
which the control output status override may be activated.
S18 – DDIS MSDD display type. The console provides the capacity to cre-
ate dynamic graphic and faceplate displays. This specification
defines the console display type that represents the particular
device. Custom displays can be created with the graphic dis-
play builder. Refer to the console operators instruction for
information on building displays.
S19 – NXT1 Next allowable mask number for output mask one in manual
mode. When the block is in manual mode, the operator selects
the output mask by pressing the appropriate state pushbutton
from the operator console. Table 129-1 identifies the masks
selected for different combinations of inputs. This specification
identifies which masks can be implemented after mask one. It
is used to keep the operator from accidentally upsetting the

WBPEEUI210504B0 129 - 9
process. For example, if S19 equals 23 or 32, then the operator
can go to state two or state three directly.
Example: S19 = 23 Either state two or three can be selected next.
S20 = 1 Only state one can be selected next.
S21 = 1 Only state one can be selected next.

S20 – NXT2 Next allowable mask number for output mask two in manual
mode. Refer to S19 – NXT1 for an explanation of NXT. If S20
equals 13 or 31, then the operator can go to state one or state
three directly.
S21 – NXT3 Next allowable mask number for output mask three in manual
mode. Refer to S19 – NXT1 for an explanation of NXT. If S21
equals 12 or 21, then the operator can go to state one or state
two directly.
S22 – PULSE Length of the pulsed outputs in seconds. Output masks can be
pulsed or sustained. If S22 is not equal to zero, the outputs
are pulsed to the selected output state (determined by control
inputs one and two or a console) for the length of time selected
with S22, then set back to the default state (S7). If S22 equals
zero, then the outputs are sustained.
S23 – INIT Initial mode. This value defines the operating mode at startup.

0 = manual
1 = automatic
S24 Startup track flag. When this value is set to 0.0, the initial val-
ues for the control outputs are determined by S23 during star-
tup. When this value is set to 1.0, the initial values for the
control outputs will track the control input values regardless
of the S23 setting. This specification is used when the state of
function code 129 block must be synchronized with the state
of an external process at the startup of the controller.
S25– COVRD Control override. When this input is one, the control status is
forced good (0.0). The mode and output state control are
selected with the tens digit in the control override definition
specified by the control status override (S14).

129 - 10 WBPEEUI210504B0
Outputs
N Control output one. The three control outputs are grouped
together to form output masks. Each control output is user
configurable (zero or one). The control outputs are defined dur-
ing configuration based on the function the control device is to
perform for different combinations of control inputs. During
execution, the values of the control inputs or an operator
action determines the control output mask selected. This
value is the current value of control output one being used for
control.
N+1 Control output two. This value is the current value of control
output two being used for control. Refer to output N explana-
tion.
N+2 Control output three. This value is the current value of control
output three being used for control. Refer to output N explana-
tion.
N+3 Control output status. This value is output from the MSDD
block to a sequence monitor block or other control logic to
inform the control system of the current state of the driven
device.

0.0 = good
1.0 = bad
2.0 = waiting

Good - feedback waiting time has elapsed or the inputs from


the field agree with the feedback mask which corresponds to
the current output mask.

Bad - feedback waiting time has elapsed and one or more


inputs from the field do not agree with the feedback mask cor-
responding to the current output mask.

Waiting - feedback waiting time has not elapsed, and no com-


parisons between field inputs and feedback masks have been
made yet.

NOTE: A logic 1 at S25 forces this output to 0.0 (good). This overrides a bad
status (1.0). During output state transition, N+3 momentarily pulses from 0.0 to
2.0 then back to 0.0.

WBPEEUI210504B0 129 - 11
Applications
Figure 129-4 shows a sample faceplate. Figure 129-5 shows
how to use function code 129 to control a variable speed
motor. The allowable state transitions are off to low, low to
high, low to off, high to low, and high to off.

H IG H HI SPD
L OW LO S P D
OFF S TO P P D
T 01 77 8 A

Figure 129-4. Sample Faceplate

F RO M
C O N T RO L LO G IC
AU TO 1
AU TO 2
TO
M O TO R C O N T R O L
M S DVD R
S1 (1 2 9 )
F RO M I1 1 H IG H
S2 1000
M O TO R C O N T R O L I2 2 LOW
S3 1001
F EE D BAC K F1 3 OFF
S4 1002
F2 ST
H IG H F EE D B AC K S5 1003
F3
L O W FE E D B AC K S6
F4
L O W FE E D B AC K S25
0

S7 = 0 = D EFAU LT M A S K
S8 = 00 1 = O U TP U T M A S K 1 - O FF T STALM
(6 9 1 )
S9 = 01 0 = O U TP U T M A S K 2 - L O W H FIE L D A LA R M
S10 = 10 0 = O U TP U T M A S K 3 - H IG H 1010
S11 = 00 1 0 = FE ED B AC K M A S K 1 - O FF L M A N UAL /AU TO
1011
S12 = 01 0 0 = FE ED B AC K M A S K 2 - LO W
S1 = 1000
S13 = 10 0 0 = FE ED B AC K M A S K 3 - H IG H
S2 = 2
S14 = 10 0 = EA R LY G O O D E N A B LE D
S15 = 1 = M A N UA L M O D E PE R M IS SIV E
S16 = 10 = FE ED B AC K W A IT IN SE C S
(IF F EE D B AC K D O E S N O T M AT C H
W IT H IN 1 0 S E C S T H EN A L A R M ,
OT H ER W IS E G O O D ) AU TO M O D E TA BLE
S 1 7 = 0.0 = FAU LT W A ITIN G TIM E AU TO 1 AU TO 2 O U TPU T
S18 = 0 = M S D D D IS P LAY TIM E
(R E FE R TO C O N S O L E 0 0 0 0 0
O P E R ATO R 'S M A N UA L ) 0 1 0 0 1 (O F F)
S19 = 2 = O N LY O U TP U T 2 (O FF TO L O W ) 1 0 0 1 0 (L O W )
S 2 0 = 13 = AN Y O U T PU T AL L O W ED 1 1 1 0 0 (H IG H )
(O FF O R H IG H )
S 2 1 = 21 = AN Y O U T PU T AL L O W ED
(O FF O R L OW )
S 2 2 = 0.0 = SU S TA IN E D O U TP U TS
S23 = 0 = M A N UA L M O D E AT S TA RT-U P T 01 7 79 A

Figure 129-5. Controlling a Variable Speed Motor

129 - 12 WBPEEUI210504B0

You might also like