Professional Documents
Culture Documents
B0700ec - B - Block Descriptions
B0700ec - B - Block Descriptions
Integrated Control
Block Descriptions
for FOUNDATION
fieldbus Specific
Control Blocks
B0700EC
Rev B
September 20, 2010
Invensys, Foxboro, I/A Series, InFusion, and the Invensys Logo are trademarks of Invensys plc, its subsidiaries,
and affiliates.
All other brand names may be trademarks of their respective owners.
iii
B0700EC – Rev B Contents
iv
Contents B0700EC – Rev B
v
B0700EC – Rev B Contents
vi
Contents B0700EC – Rev B
vii
B0700EC – Rev B Contents
viii
Contents B0700EC – Rev B
ix
B0700EC – Rev B Contents
x
Contents B0700EC – Rev B
xi
B0700EC – Rev B Contents
Appendix F. Legacy MAO – Foundation™ fieldbus Multiple Analog Output .................. 537
F.1 Overview ......................................................................................................................... 537
F.2 Basic Operation .............................................................................................................. 537
F.3 Features ........................................................................................................................... 537
F.4 Block Parameters ............................................................................................................. 538
F.4.1 Parameter Definitions ............................................................................................. 541
F.5 Device Function Block Description ................................................................................ 555
F.5.1 Device Block Operation .......................................................................................... 555
F.5.1.1 Mode ............................................................................................................... 555
F.5.1.2 Fault State ....................................................................................................... 555
F.5.2 Parameter Transforms ............................................................................................. 556
F.6 MAO Block Functions .................................................................................................... 558
F.6.1 Device Function Block Connection ........................................................................ 558
F.6.2 Device Configuration Parameters ............................................................................ 559
F.6.3 Mode Machine ........................................................................................................ 559
F.6.4 Block Status ............................................................................................................ 560
F.6.5 Fault State Handling ............................................................................................... 561
F.6.6 Alarms ..................................................................................................................... 562
F.6.7 Simulation .............................................................................................................. 562
xii
Preface
This document provides information using a set of FOUNDATION fieldbus specific I/A Series®
blocks to configure resource, transducer, and function blocks in FOUNDATION fieldbus H1
devices.
Revision Information
The blocks described in this document are supported by I/A Series software V8.5 (or later) and
InFusion Engineering Environment software (IEE), V2.0 with Field Device Manager for FOUN-
DATION fieldbus.
Four blocks are new with I/A Series system software V8.5:
MDI
MDO
PIDFF
UNIVFF
As well, additional changes have been made to the other FOUNDATION fieldbus specific I/A Series
blocks (AI, AO, DI, DO, MAI and MAO) for I/A Series system software V8.5. The previous
versions of these blocks (applicable to I/A Series systems with v8.4.3 or earlier software) are
detailed in the appendices of this document.
For this revision of the document (B0700EC-B), the following change was made.
Chapter 9 “PIDFF – Foundation™ fieldbus PID Block”
♦ Updated Bit 26 in Table 9-10. STATUS_OPTS Parameter Format.
Reference Documents
In addition to the information presented in this document, you should be familiar with the fol-
lowing I/A Series and InFusion Enterprise Control System documents:
♦ Implementing FOUNDATION fieldbus in InFusion 2.0 (B0750DA)
♦ Control Processor 270 (CP270) Integrated Control Software Concepts (B0700AG)
Refer to the following Fieldbus Foundation documents for information on device functions
blocks:
♦ AG-181, System Engineering Guidelines
xiii
B0700EC – Rev B Preface
xiv
1. AI – FOUNDATION™ fieldbus
Analog Input
This chapter describes the I/A Series Analog Input (AI) block, which interfaces the control
system with a corresponding analog input function block operating in a FOUNDATION™
fieldbus H1 device.
1.1 Overview
Analog Input (AI) is a Distributed Control Interface (DCI) block that provides an interface
between the control processor and an analog input function block operating in a FOUNDATION
fieldbus H1 device (the device function block). The AI block is supported on the FCP270 and
ZCP270 when the H1 device is connected to the control station by an FBM228. The AI block
is configured using the Block Configurator in the InFusion Engineering Environment (IEE) as
described in InFusion Enterprise Control System: Implementing FOUNDATION fieldbus in InFusion
2.0 (B0750DA).
NOTE
The AI block functionality described in this chapter is applicable only for FBM228s
with the software type (SWTYPE) of “128”. For a description of the legacy AI block
functionality (I/A Series systems v8.4.3 or earlier) where FBM228s have the
SWTYPE of “228”, refer to Appendix A “Legacy AI – Foundation™ fieldbus Ana-
log Input”.
1.3 Features
The AI block provides the following features:
♦ Acquires the device analog input function block’s primary output value and status
1. Device function block parameters are shown in this document in italics. Function blocks may use
different names for these parameters.
1
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
2
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
3
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
4
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
ALMOPT Alarm Options contain packed long values representing the alarm types
that have been configured as options in the block, and the alarm groups
that are in use. Table 1-2 shows how the parameter is used by the AI
block.
Bit
Number*
(0 to 31) Configured Alarm Option, When True
0 (lsb) Alarm Group 8 in Use
1 Alarm Group 7 in Use
2 Alarm Group 6 in Use
3 Alarm Group 5 in Use
4 Alarm Group 4 in Use
5 Alarm Group 3 in Use
6 Alarm Group 2 in Use
7 Alarm Group 1 in Use
16 Low Absolute Alarm Configured
17 High Absolute Alarm Configured
22 Bad I/O Alarm Configured
5
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
Bit
Number*
(0 to 31) Configured Alarm Option, When True
24 Low-Low Absolute Alarm Configured
25 High-High Absolute Alarm Configured
*Bit 0 is the least significant, low order bit.
ALMSTA Alarm Status is a 32-bit output, bit-mapped to indicate the block’s alarm
states. Table 1-3 shows the bits used by the AI block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
UNAK B2
B3
B4
B5
B6
B7
B8
B9
HMA
HHA
CRIT PRTYPE
BAD
LMA
LLA
INH
Bit Boolean
Number Description, Connection
(0 to 31)* Name When True (B32 to B1)
0 to 4 PTYP_MSK Priority Type: See parameter ---
PRTYPE on page 336 for values used
in this block
5 to 7 CRIT_MSK Criticality: 1 (highest priority) to 5 ---
16 LMA Low Absolute Alarm ALMSTA.B16
17 HMA High Absolute Alarm ALMSTA.B15
22 BAD Bad I/O Alarm ALMSTA.B10
24 LLA Low-Low Absolute Alarm ALMSTA.B8
25 HHA High-High Absolute Alarm ALMSTA.B7
29 INH Inhibit Alarm. This bit is set when ALMSTA.B3
any of the block’s alarms is inhibited
30 UNAK Unacknowledged ALMSTA.B2
*Bit 0 is the least significant, low order bit.
AMRTIN Alarm Message Regeneration Time Interval specifies the rate at which
alarm messages are generated for alarm conditions that have not been
cleared. The interval is specified in seconds. The configured interval is
rounded up to the closest value that is an even multiple of the station
BPC. A value of 0 disables alarm message regeneration.
6
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
AUT_SW Auto Switch is a settable Boolean output used to set the MODE_T
parameter, and thus MODE_BLK.Target in the associated device function
block, to Auto.
BADPRI Bad Alarm Priority is a configurable integer input used to specify the
Alarm Priority to be assigned to Bad Alarms in the block. BADPRI is
settable if unlinked. The range is 1 (highest) to 5 (default).
BLKERR Block Error is a non-settable, packed Boolean output that contains the
BLOCK_ERR parameter of the associated device function block. Table 1-4
shows the parameter format.
7
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
BLKNDX Block Index is a configurable, non-settable long integer that contains the
index of the device function block represented by the AI block. It is set by
the configurator and the FBM uses it to identify the block in the device.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
FBM228 B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
DEVACK B9
FDFAIL
FDACT
FDMM
FDOK
UDEF
FBM
TRK
LCK
FFX
BIO
MA
ON
LO
FS
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
3 LO The device function block’s mode is BLKSTA.B29
Local Override
6 TRK The block is being tracked as the device BLKSTA.B26
function block is in Local Override or
Initialization Manual mode
8 FBM There is a communication failure BLKSTA.B24
between CP and FBM
11 MA The device block mode is Auto BLKSTA.B21
12 BIO Bad I/O BLKSTA.B20
14 UDEF Block is undefined BLKSTA.B18
15 ON The compound that contains the block BLKSTA.B17
is ON
16 FFX Enhanced FF block connection BLKSTA.B16
17 FDACT Download active BLKSTA.B15
18 FDFAIL Download failure BLKSTA.B14
19 FBM228 The device’s host FBM is an FBM228 BLKSTA.B13
20 LCK A workstation has locked this block BLKSTA.B12
21 FDOK FDATA installed BLKSTA.B11
22 FDMM FDATA mismatch BLKSTA.B10
23 DEVACK Unacknowledged device alarm BLKSTA.B9
24 FS Fault State has been asserted in the BLKSTA.B8
device function block
*Bit 0 is the least significant, low order bit.
8
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
CRIT Criticality is an integer output that indicates the priority of the block’s
highest currently active alarm. The range is 1 (highest priority) to 5. An
output of 0 indicates the absence of alarms.
DEFINE Define is a data store that indicates the presence or absence of configura-
tion errors. The default is 1 (no configuration errors). When the block
initializes, DEFINE is set to 0 if any configured parameters fail validation
testing. See “ERCODE” on page 11 for a list of all possible validation
errors in this block.
♦ If DEFINE = 0, no further processing of the block occurs,
including further validation of remaining parameters.
9
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
NOTE
This parameter is not supported currently.
10
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
EI1 Engineering Units Input 1 provides the engineering units text for the
MEAS parameter in the AI block. The value configured for this text string
should be consistent with the values used for HSCI1 and LSCI1. This
parameter does not configure units in the device block; see EUI1.
EO1 Engineering Units for Output 1 specifies the engineering units text for the
OUT parameter in an AI block. The value configured for this text string
should be consistent with the values used for HSCO1 and LSCO1. This
parameter does not configure units in the device block; see EUO1.
ERCODE Error Code is a string data store that indicates the type of configuration
error which caused the block’s DEFINE parameter to be set False.
Validation of configuration errors does not proceed past the first error
encountered by the block logic.
Table 1-6 list the possible values of ERCODE for the AI block.
ERCODE
W43 - INVALID PERIOD/PHASE COMBINATION
W44 - INVALID ENGINEERING RANGE
W54 - ECB DOES NOT EXIST
W62 - UNRESOLVED CONNECTION
W65 - INVALID POINT ADDRESS
W66 - DUPLICATE CONNECTION
W67 - INSUFFICIENT FBM MEMORY/CONNECTIONS
W68 - INVALID DEVICE CONNECTION
W69 - INVALID POINT CONNECTION
W73 - FF FUNCTION BLOCK CONFIGURATION ERROR
W74 - FF FUNCTION BLOCK DDITEM MISMATCH
W75 - FF FUNCTION BLOCK DDMBR MISMATCH
W76 - INVALID FF MODE CONFIGURATION
W77 - FIELDBUS COMMUNICATION FAULT
W78 - INVALID FUNCTION BLOCK
W79 - INVALID PARAMETER INDEX
W80 - FIELDBUS DEVICE NOT FOUND
W81 - INVALID PARENT DCI ECB PERIOD/PHASE
W82 - FF CONFIGURATION IN PROGRESS
W83 - INVALID FF PARAMETER CONNECTION
W84 - INVALID FF PARAMETER TYPE
W85 - INVALID CONNECTION TYPE
W86 - MAN_ID, DVC_ID, OR DVCREV MISMATCH
11
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
FDATA1 File Data #1 and File Data #2 are settable multi-byte arrays that provide
FDATA2 configuration data for the device block represented by the AI block.
This file data is downloaded automatically into the FBM228 when the
FDATA1 parameter is changed in the CP270 via an OM write access
operation. This download also will occur automatically when the CP270
or FBM228 reboots and when the FBM228 is put on-line. The size of
each FDATAn parameter is 255 bytes, for a total array size of 510 bytes.
HHILIM High-High Alarm Limit is a configurable, settable real input used to spec-
ify the high limit value to be used in the High-High Alarm detection logic
in the AI block. It is equivalent to the HI_HI_LIM parameter in a device
function block; however, HHILIM does not set the device block parame-
ter.
HILIM High Alarm Limit is a configurable, settable real input used to specify the
high limit value to be used in Absolute Alarm detection logic in an AI
12
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
HLGRP High Low Alarm Group is a configurable, non-settable short integer used
to specify the alarm group assigned to High Low Absolute Alarms in the
AI block. The range is 1 (default) to 8.
HLOPT High Low Alarm Option is a configurable, non-settable short integer used
to enable or disable High and Low Absolute Alarm detection in an AI
block. Valid settings are:
♦ 0 = Disable High and Low Absolute Alarming
♦ 1 = Enable High and Low Absolute Alarming
♦ 2 = Enable High Absolute Alarming only
♦ 3 = Enable Low Absolute Alarming only.
HLPRI High Low Alarm Priority is a configurable, settable integer input used to
specify the alarm priority to be assigned to High Low Absolute Alarms in
the AI block. The range is 1 (highest) to 5 (default).
INHALM Inhibit Alarm contains packed Boolean values that represent alarm
generation inhibit requests for each type of alarm configured in the block.
Table 1-7 shows how the bits are used by the AI block.
Bit Boolean
Number* Description, Connection
(0 to 15) When True (B16 to B1)
0 Inhibit Low Absolute Alarm INHALM.B16
1 Inhibit High Absolute Alarm INHALM.B15
6 Inhibit Bad I/O Alarm INHALM.B10
8 Inhibit Low-Low Absolute Alarm INHALM.B8
9 Inhibit High-High Absolute Alarm INHALM.B7
*Bit 0 is the least significant, low order bit.
There are no mnemonic names for the individual bits of INHALM.
13
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
INHIB Inhibit is a configurable, connectable and settable boolean that, when set,
suppresses all alarm message reporting. INHIB affects only alarm message
reporting; the alarm handling and detection functions are determined by
the INHOPT setting.
INHOPT Inhibit Option specifies the following actions applying to all block alarms:
♦ 0 = When an alarm is inhibited, disables alarm messages but does
not disable alarm detection.
♦ 1 = When an alarm is inhibited, disables both alarm messages and
alarm detection. If an alarm condition exists at the time the alarm
transitions into the inhibited state, the alarm indicator is cleared.
♦ 2 = Same as 0 for inhibited alarms. For uninhibited alarms,
automatically acknowledges “return-to-normal” messages.
“Into alarm” messages can be acknowledged by explicitly setting
UNACK False.
♦ 3 = Same as 1 for inhibited alarms. For uninhibited alarms,
automatically acknowledges “return-to-normal” messages.
“Into alarm” messages can be acknowledged by explicitly setting
UNACK False.
INHSTA Inhibit Status contains packed long values that represent the current
inhibit status of each alarm type configured in the block. Table 1-8 shows
how the parameter is used with the AI block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BAD B10
B11
B12
B13
B14
HMA B15
LMA B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
HHA B7
LLA B8
B9
Bit Boolean
Number* Description, Connection
(0 to 31) Name When True (B32 to B1)
16 LMA Low Absolute Alarm Inhibited INHSTA.B16
17 HMA High Absolute Alarm Inhibited INHSTA.B15
22 BAD Bad I/O Alarm Inhibited INHSTA.B10
24 LLA Low-Low Absolute Alarm Inhibited INHSTA.B8
25 HHA High-High Absolute Alarm Inhibited INHSTA.B7
*Bit 0 is the least significant, low order bit.
14
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
♦ By the name of the device ECB (ECB201). For this format, the
ECB201 must reside in the station ECB compound
<cp_letterbug>_ECB, where cp_letterbug is the station letterbug
of the I/A Series station, and is between 1-12 characters. The
station concatenates the <cp_letterbug>_ECB name with the
block name of the ECB to form the full pathname.
♦ By the full pathname of the external device ECB (ECB201).
For this format, the ECB201 must reside in the station
ECB compound or a compound where its associated
blocks are located. The pathname must be of the form
<local_compound_name>:<ecb_name> where <ecb_name> is
the NAME parameter of the ECB. The full pathname can be up
to 25 characters (12 for <local_compound_name>, 1 for the
colon, and 12 for the <ecb_name>).
Bit
Number* Description, When True
5 Low-cutoff
*Bit 0 is the least significant, low order bit.
LLOLIM Low-Low Alarm Limit is a configurable, settable real input used to specify
the low limit value to be used in the Low-Low Alarm detection logic in
the AI block. It is equivalent to the LO_LO_LIM parameter in a device
function block; however, LLOLIM does not set the device block
parameter.
LOCKID Lock Identifier is a string identifying the workstation that has locked
access to the block via a successful setting of LOCKRQ. LOCKID has the
15
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
LOCKRQ Lock Request is a Boolean input which can be set True or False only by a
SETVAL command from the LOCK U/L toggle key on workstation dis-
plays. When LOCKRQ is set True in this fashion, a workstation identifier
accompanying the SETVAL command is entered into the LOCKID
parameter of the block. Thereafter, set requests to any of the block’s
parameters are only honored (subject to the usual access rules) from the
workstation whose identifier matches the contents of LOCKID.
LOCKRQ can be set False by any workstation at any time, whereupon a
new LOCKRQ is accepted, and a new ownership workstation identifier is
written to LOCKID.
LOLIM Low Alarm Limit is a configurable, settable real input used to specify the
low limit value to be used in Absolute Alarm detection logic in an AI
block. It is equivalent to the LO_LIM parameter in a device function
block; however, LOLIM does not set the device function block parameter.
LSCI1 Input Low Scale specifies the XD_SCALE.EU@0 parameter value of the
device function block.
MAN_SW Manual Switch is a settable output used to set the MODE_T parameter,
and thus the MODE_BLK.Target in the associated device function block,
to Manual.
16
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
MEAS Measurement is a value used as the input to the AI block when simulation
is active (SIMOPT = 1) instead of the OUT parameter (and the OUT
parameter in the associated device function block).
OOS_SW Out of Service Switch is a settable output used to set the MODE_T
parameter, and thus the MODE_BLK.Target in the associated device func-
tion block, to Out of Service.
17
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
OUT Output is a real output that contains the OUT parameter of the associated
device function block. It is settable only in Manual mode.
OUTSTS Output Status is a non-settable, packed Boolean output that contains the
OUT.Status parameter in the associated device function block. See
Section 1.6.7 for a description of the .Status value.
PERIOD Period is an indexed input that dictates the block’s execution time base
and allowable PHASE values. PERIOD values range from 0 to 9 and map
to the following period time lengths:
Period Length Period Length
0 0.1 second 5 30 seconds
1 0.5 second* 6 1 minute
2 1.0 second 7 10 minutes
3 2.0 seconds 8 60 minutes
4 10 seconds 9 0.2 second
*If the BPC is 0.2 second, this period is treated internally as 0.6 second,
but the PERIOD parameter remains 1.
PHASE Phase is a zero-based integer input that causes the block to execute at a
specific BPC within the time determined by the PERIOD. For instance,
assuming that the BPC of the I/A Series station is 0.5 second, a block with
a PERIOD of 3 (2.0 seconds) can execute within the first, second, third,
or fourth BPC of the 2-second time period. See Integrated Control Software
Concepts (B0700AG).
PRTYPE Priority Type is an indexed output parameter that indicates the alarm type
of the highest priority active alarm. For the AI block:
0 = No alarm
1 = High Absolute
2 = Low Absolute
3 = High-High Absolute
4 = Low-Low Absolute
8 = Bad I/O alarm.
18
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
If there is more than one active alarm with highest priority, PRTYPE
reports the alarm type occurring first in the following order: Bad, High-
High Absolute, Low-Low Absolute, High Absolute, and Low Absolute.
For example: if the Bad and High-High Absolute alarms both have
priority 3 and the High Absolute alarm has priority 4, and all three alarms
are active, then CRIT=3 (priority of Bad Alarm) and PRTYPE=8 (Bad
Alarm type).
PVSTS Process Variable Status is a non-settable, packed Boolean output that con-
tains the PV.Status of the associated device function block. See
Section 1.6.7 for a description of the .Status value.
RI1 Range Input 1 is a real array consisting of the two parameters HSCI1 and
LSCI1. The array members are configured by their individual names;
however, RI1 and its members can be accessed on an array basis by user
tasks and displays.
RO1 Range Output 1 is a real array consisting of the two parameters HSCO1
and LSCO1. The array members are configured by their individual
names; however, RO1 and its members can be accessed on an array basis
by user tasks and displays.
19
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
TYPE Type is the block type. When an AI block is added to the control database,
the configuration editor enters the value 109 to specify the AI block type.
20
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
PV
1.5.1.1 Mode
The device function block supports three modes:
♦ In Auto mode, the OUT parameter reflects the process variable (PV) value and status.
♦ In Manual, the OUT parameter can be set manually and the OUT status reflects the
mode.
♦ In OOS (out of service), the block values are not updated and the status of OUT is set
to BAD. In OOS, changes can be made to configured parameters.
1.5.1.2 Simulation
The SIMULATE parameter in the device function block allows the OUT parameter to be set by
an external source such as a hand-held H1 device for testing. When SIMULATE is enabled, the
actual measurement has no affect on the OUT value and status. Simulation at the device block
level also requires that you set a simulation jumper on the device.
The I/A Series AI block supports simulation within the control processor. The option is set with
the SIMOPT parameter in the AI block, as described in Section 1.6.14.
1.5.1.3 Conversion
The linearization type parameter (L_TYPE) determines whether the measurement is converted
directly, linearly (indirect), or indirectly with the square root.
The XD_SCALE parameter structure determines the high and low scale values, engineering units,
and number of places to the right of the decimal of the value in the selected channel. The
OUT_SCALE parameters provide similar scaling for the value in the OUT parameter.
1.5.1.4 Cutoff
When the Low Cutoff option is selected in IO_OPTS and the converted input value falls below
the value in LOW_CUT, the PV parameter is set to zero.
21
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
1.5.1.5 Filter
Filtering changes the response time of the device to smooth variations in the input readings
caused by rapid changes in the input value. The filtering time (PV_TIME) affects PV, not
FIELD_VAL.
1.5.1.6 Alarms
The device AI function block provides standard FOUNDATION fieldbus alarms plus HI_HI, HI,
LO and LO_LO applied to OUT.
The I/A Series system does not use the alarm features provided by the device blocks, but rather
provides alarm handling options in the CP-resident AI block. The AI block provides detection
and reporting of BAD I/O, high and low absolute and high-high and low-low alarm conditions.
The arrow notation is used in Table 1-11; the mappings are presented in alphabetic order,
arranged by the AI block parameter names.
22
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
23
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
24
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
25
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
The deployment of the AI block to the FBM228 also causes the FBM to change the schedule as
follows:
♦ Schedule execution of the device function block
♦ If needed, add a compel data (CD) message to each macrocycle to publish the OUT
parameter value and status
♦ Schedule client/server connections between the AI block and the device function
block for view updates.
Table 1-12 lists the device function block parameters and the AI block parameters used to config-
ure them. For the AI block, the table includes both the six-character (maximum) parameter name
that is used in block detail displays and parameter labels which more closely resemble the FOUN-
DATION fieldbus parameter names. Use the six-character parameter name when connecting
parameters to a process display.
1.6.3 Scaling
Table 1-13 lists the AI block parameters used to configure the device function block scaling
parameters. When the device block parameters are changed they are read back to the AI block.
26
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
27
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
28
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
Bits Description
0-1 Limits
0 = Not limited
1 = High limited
2 = Low limited
3 = Constant (both high and low limited bits set)
2-5 SubStatus depends on .Quality, as shown in Table 1-15
6-7 Quality
0 = Bad
1 = Uncertain
2 = Good (non-cascade)
3 = Good (cascade)
29
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
Table 1-15 shows the usage of the Substatus bits, which varies depending on which .Quality bits
are set.
Table 1-15. Device Parameter Substatus
30
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
31
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
The Target mode is a shadow parameter updated from the MODE_BLK function block parame-
ter read back during input scanning of the FBM228.
When the Actual, Permitted, Target, or Normal modes change in the device AI function block,
the corresponding I/A Series mode parameters are updated automatically from the MODE_BLK
function block parameter. In addition, the Actual mode is mapped onto equivalent BLKSTA
parameter bits.
The INITMA parameter and the Auto/Manual override parameters, AUTSW and MANSW, are
not supported in the I/A Series AI block, since these functions do not exist in the device AI func-
tion block.
When the Actual block mode is Auto or Manual, the following are performed:
♦ The OUTSTS status parameter and the value status of the OUT parameter are
updated from data received in the reply to the read message.
♦ The PV input parameter value is updated from data received in the reply to the read
message.
♦ Configuration parameters that have changed since the previous block cycle are
downloaded.
♦ Other View data parameters are updated, if any changes in these parameters have
occurred since the previous block cycle.
♦ Block Error (BLKERR) processing begins.
♦ External configuration changes to function block parameters are propagated.
♦ Configuration Error (CFGERR) processing begins.
♦ If BADOPT=1, Bad Alarming of the inputs is performed.
♦ If HLOPT > 0, High/Low Absolute Alarming of the output is performed.
♦ If HHIOPT > 0, High-High/Low-Low Alarming of the output is performed.
When the Actual block mode is Auto, the following is performed:
♦ The OUT output parameter value and status are updated from data received in the
reply to the read message.
When the Actual block mode is Manual, the operator is allowed to set the OUT output parame-
ter value directly via an OM set operation. When this parameter is changed in the CP, the new
value is sent to the FBM228 which, in turn, updates the corresponding OUT function block
parameter in the field device.
32
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
33
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
♦ When the Bad Alarm condition occurs, a Bad Alarm message is sent to all devices in
the BADGRP alarm group. This message contains the OUTDSC output descriptor,
the BADTXT descriptive text, and the LOOPID loop identifier.
♦ When the Bad alarm condition clears, a return-to-normal message is generated and
sent to all devices in the bad alarm group.
If the Absolute Alarm (HLOPT) or High-High/Low-Low Alarm (HHIOPT) option is set, alarm-
ing is performed as follows:
♦ Alarm status information is set in the block when the alarm condition exists. The
appropriate alarm bit is set in ALMSTA. The UNACK parameter and the correspond-
ing ALMSTA.UNACK bit also are set.
♦ The CRIT parameter and its corresponding ALMSTA.CRIT field are set to the
HLPRI or HHIPRI parameter value, and the PRTYPE parameter and its correspond-
ing ALMSTA.PRTYPE field are set to the appropriate alarm type. Note that this only
happens if there are no other alarms of higher priority in the block.
♦ When the alarm condition occurs, an alarm message is sent to all devices in the
HLGRP or HHIGRP alarm group. This message contains the OUTDSC descriptor,
the appropriate descriptive text, and the LOOPID loop identifier.
♦ When the alarm condition clears, a return-to-normal message is generated and sent to
all devices in the HLGRP or HHIGRP alarm group.
The CRIT, PRTYPE, and corresponding ALMSTA fields are cleared when there are no active
alarms in the block.
The UNACK parameter and the ALMSTA.UNACK bit are cleared in these cases:
♦ When the alarm is acknowledged by an OM set operation at either the compound
level, by setting the compound UNACK=0, or at the block level, by setting the block
UNACK=0.
♦ When all alarm conditions in the block return to normal status, if INHOPT is set
appropriately.
♦ When the block is shut down.
When UNACK is cleared, an Alarm Acknowledge message is generated and sent to all devices in
all alarm groups in the block.
Alarm Inhibiting/Disabling is supported using a combination of the compound CINHIB param-
eter and the INHOPT, INHIB, and INHALM parameters in the I/A Series AI block, to allow the
alarm messages to be inhibited and/or alarm detection to disabled dynamically.
When an alarm type is inhibited or disabled, an appropriate Alarm Disable message is generated
and sent to all devices in the alarm group. If the block is unacknowledged, an Alarm Acknowledge
message also is sent to these devices. In addition, the ALMSTA.INHIB bit is set, and the corre-
sponding INHSTA bit is set.
When an alarm type is uninhibited or enabled, an appropriate Alarm Enable message is generated
and sent to all devices in the alarm group. In addition, the ALMSTA.INHIB bit is cleared if no
other alarm in the block is inhibited, and the corresponding INHSTA bit is cleared.
The Alarm Reprioritization and Alarm Message Regeneration (using AMRTIN) enhancements
also are supported in the I/A Series AI block. Refer to the CP270 Integrated Control Concepts
(B0700AG) user document for details.
34
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
1.6.14 Simulation
The I/A Series AI block SIMOPT parameter enables simulation of an analog input to the control
system from the corresponding analog input device function block. This feature can be used to
test control schemes requiring analog inputs without actual FBM228 hardware connections.
When SIMOPT= 1 (True), the status and value of OUT are not recovered from the field, but can
be set directly to simulate input from the field.
When simulating (SIMOPT=1), the following functions will be performed:
♦ The MEAS input is stored in the OUT output value when the block mode is Auto.
♦ The OUTSTS output status parameter is set to Good Non-Cascade (0x80).
♦ Changes to the target mode via the mode switches (AUT_SW, MAN_SW, or
OOS_SW) immediately update the target mode parameter (MODE_T), and the
actual block mode (MODE_A) tracks MODE_T each block cycle.
♦ If any of the alarm options are specified, process alarming of the output is performed.
When simulating, the following functions are not performed:
♦ Downloading of configuration parameters.
♦ Updating of View data parameters.
35
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
BSTATE Value
(Int (Bin)) State Value Description
0 (00000000) Undefined -
1 (00000001) Unconnected A DCI block has been deleted/undeployed
from the CP configuration.
2 (00000010) Connecting A DCI block has been created in the CP;
The FBM is creating the block structures in
an internal FBM database.
3 (00000011) Connecting Failed The FBM can fail to create a new block for a
number of reasons. For example:
- Connection already exists.
- FBM is out of memory
- No block match
- Invalid block
4 (00000100) Scheduling Block Execution A block schedule is being created.
5 (00000101) Scheduling Block Execution A schedule configuration failed. The FBM
Failed could not deploy block or LAS schedule.
Check schedule or schedule configuration.
6 (00000110) Creating Block Connections Publisher/Subscriber connections are being
created.
7 (00000111) Creating Block Connections FBM failed to create block Publisher/Sub-
Failed scriber connections. Check the configura-
tion. This may be a temporary condition
while the FBM is processing other blocks.
8 (00001000) Writing Block Parameters Block parameters are being written to a
device
36
1. AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
BSTATE Value
(Int (Bin)) State Value Description
9 (00001001) Writing Block Parameters FBM failed to write parameters to device
Failed resident block. The block detailed display
“Maintenance” overlay may have more
information. Verify block configuration in
IEE. Use the Field Device Manager to com-
pare configuration data base with device
database.
10 (00001010) Block ON LINE - OK Connection processing has been successful
and data/point connection has been estab-
lished.
11 (00001011) Block ON LINE – Error Processing has been completed, but some
step of the processing failed. The block
detailed display “Maintenance” overlay may
have more information. Also check the
System Manager status information for the
corresponding FF H1 device.
37
B0700EC – Rev B 1. AI – Foundation™ fieldbus Analog Input
Parent ECB200/202
(FBM228)
PARENT PARENT
IOM_ID
NAME
IOM_ID IOM_ID
NAME NAME
SUP_IN
SUPBCO
38
2. AO – FOUNDATION™ fieldbus
Analog Output
This chapter describes the Analog Output (AO) block, which interfaces the control system with
a corresponding analog output function block operating in a FOUNDATION™ fieldbus H1
device.
2.1 Overview
Analog Output (AO) is a Distributed Control Interface (DCI) block that provides an interface
between the control processor and an analog output function block operating in a FOUNDA-
TION fieldbus H1 device (the device function block). The AO block is supported on the
FCP270 and ZCP270 when the H1 device is connected to the control station by an FBM228.
The AO block is configured using the Block Configurator in the InFusion Engineering Envi-
ronment (IEE) as described in InFusion Enterprise Control System: Implementing FOUNDATION
fieldbus in InFusion 2.0 (B0750DA).
NOTE
The AO block functionality described in this chapter is applicable only for
FBM228s with the software type (SWTYPE) of “128”. For a description of the leg-
acy AO block functionality (I/A Series systems v8.4.3 or earlier) where FBM228s
have the SWTYPE of “228”, refer to Appendix B “Legacy AO – Foundation™
fieldbus Analog Output”.
39
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
2.3 Features
The AO block provides the following features:
♦ Two modes: Control in Host (CIH) or Control In the Field (CIF), in which the
device AO function block is directly connected to another device function block
♦ Outputs a setpoint value to the linked device analog output function block, and
acquires the block’s primary output value and status for read-back to the control
system
♦ Time stamps value and status changes to the block's output
♦ Accesses the parameters in the device function block’s views using change-driven and
periodic client/server connections
♦ Ensures that changes in the device function block’s process values and error conditions
are continuously available for display and connection to the control strategy
♦ Supports the device block Fault State handling
♦ Provides for the configuration of device block parameters from the I/A Series system
and management of the device configuration in the control database
♦ Enables users to set the mode of the device function block to Cascade, Auto, Manual
or Out of Service
♦ Provides detection and reporting for Bad I/O alarming
♦ Supports simulation of device block output within the control station
40
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
41
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
42
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
ALMOPT Alarm Options contains packed long values representing the alarm types
that have been configured as options in the block, and the alarm groups
that are in use. Table 2-2 shows how the parameter is used by the AO
block.
Bit
Number*
(0 to 31) Configured Alarm Option, When True
0 (lsb) Alarm Group 8 in Use
1 Alarm Group 7 in Use
2 Alarm Group 6 in Use
3 Alarm Group 5 in Use
4 Alarm Group 4 in Use
5 Alarm Group 3 in Use
6 Alarm Group 2 in Use
7 Alarm Group 1 in Use
22 Bad I/O Alarm Configured
*Bit 0 is the least significant, low order bit.
43
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
ALMSTA Alarm Status is a 32-bit output, bit-mapped to indicate the block’s alarm
states. Table 2-3 shows the bits used by the AO block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
UNAK B2
B3
B4
B5
B6
B7
B8
B9
CRIT PRTYPE
BAD
INH
Bit Boolean
Number Description, Connection
(0 to 31)* Name When True (B32 to B1)
0 to 4 PTYP_MSK Priority Type: See parameter ---
PRTYPE for values used in the FF
blocks
5 to 7 CRIT_MSK Criticality: 1 (highest priority) to 5 ---
22 BAD Bad I/O Alarm ALMSTA.B10
29 INH Inhibit Alarm. This bit is set when ALMSTA.B3
any of the block’s alarms is inhibited
30 UNAK Unacknowledged ALMSTA.B2
*Bit 0 is the least significant, low order bit.
AMRTIN Alarm Message Regeneration Time Interval specifies the rate at which
alarm messages are generated for alarm conditions that have not been
cleared. The interval is specified in seconds. The configured interval is
rounded up to the closest value that is an even multiple of the station
BPC. A value of 0 disables alarm message regeneration.
AUT_SW Auto Switch is a settable Boolean output used to set the MODE_T
parameter, and thus the MODE_BLK.Target1 in the associated device
function block, to Auto.
1. Device function block parameters are shown in this document in italics. Function blocks may use
different names for these parameters.
44
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
BADPRI Bad Alarm Priority is a configurable integer input used to specify the
Alarm Priority to be assigned to Bad Alarms in the block. BADPRI is
settable if unlinked. The range is 1 (highest) to 5 (default).
BLKERR Block Error is a non-settable, packed Boolean output that contains the
BLOCK_ERR parameter of the associated device function block. Table 2-4
shows the parameter format.
BLKNDX Block Index is a configurable, non-settable long integer that contains the
index of the device function block represented by the AO block. It is set
by the configurator and the FBM uses it to identify the block in the
device.
45
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
FBM228 B13
B14
B15
B16
B17
B18
B19
B20
B21
B24
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
DEVACK B9
FDFAIL
FDACT
FDMM
FDOK
UDEF
FBM
TRK
LCK
FFX
BIO
ON
MA
LO
FS
LR
Table 2-5. BLKSTA Parameter Format
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
3 LO The device function block mode is Local BLKSTA.B29
Override
6 TRK Block is being tracked as the device BLKSTA.B26
function block is in Local Override or
Initialization Manual mode
8 FBM There is a communication failure BLKSTA.B24
between CP and FBM
10 LR Device block mode is Cascade. BLKSTA.B24
11 MA The device block mode is Auto. BLKSTA.B21
12 BIO Bad I/O BLKSTA.B20
14 UDEF Block is undefined BLKSTA.B18
15 ON The compound that contains the block BLKSTA.B17
is ON
16 FFX Enhanced FF block connection BLKSTA.B16
17 FDACT Download active BLKSTA.B15
18 FDFAIL Download failure BLKSTA.B14
19 FBM228 The device is hosted and scheduled by BLKSTA.B13
an FBM228
20 LCK A workstation has locked this block BLKSTA.B12
21 FDOK FDATA installed BLKSTA.B11
22 FDMM FDATA mismatch BLKSTA.B10
23 DEVACK Unacknowledged device alarm BLKSTA.B9
24 FS Fault State has been asserted in the BLKSTA.B8
device function block
*Bit 0 is the least significant, low order bit.
46
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
CAS_IN Cascade Input is a configurable real input used to specify the CAS_IN
parameter of the associated device function block. It is settable only in
Cascade mode if unlinked.
CAS_SW Cascade Switch is a settable output used to set the MODE_T parameter,
and thus the MODE_BLK.Target in the associated device function block,
to Cascade.
CRIT Criticality is an integer output that indicates the priority of the block’s
highest currently active alarm. The range is 1 (highest priority) to 5
(default). An output of 0 indicates the absence of alarms.
47
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
DEFINE Define is a data store that indicates the presence or absence of configura-
tion errors. The default is 1 (no configuration errors). When the block
initializes, DEFINE is set to 0 if any configured parameters fail validation
testing. See “ERCODE” on page 49 for a list of all possible validation
errors in this block.
♦ If DEFINE = 0, no further processing of the block occurs,
including further validation of remaining parameters.
♦ To return DEFINE to a True value, correct all configuration errors
and reinstall the block.
♦ If DEFINE = 0, the bit BLKSTA.UDEF = 1.
NOTE
This parameter is not supported currently.
48
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
EI1 Input Engineering Units provides the engineering units text for the OUT
parameter. The value configured for this text string should be consistent
with the values used for HSCI1 and LSCI1. This parameter does not con-
figure units in the device block; see EUI1.
EO1 Output Engineering Units specifies the engineering units text for the PV
parameter. The value configured for this text string should be consistent
with the values used for HSCO1 and LSCO1. This parameter does not
configure units in the device function block; see EUO1.
ERCODE Error Code is a string data store that indicates the type of configuration
error which caused the block’s DEFINE parameter to be set False.
Validation of configuration errors does not proceed past the first error
encountered by the block logic. Table 2-6 lists the possible values of
ERCODE.
ERCODE
W43 - INVALID PERIOD/PHASE COMBINATION
W44 - INVALID ENGINEERING RANGE
W54 - ECB DOES NOT EXIST
W62 - UNRESOLVED CONNECTION
W65 - INVALID POINT ADDRESS
W66 - DUPLICATE CONNECTION
W67 - INSUFFICIENT FBM MEMORY/CONNECTIONS
W68 - INVALID DEVICE CONNECTION
W69 - INVALID POINT CONNECTION
W73 - FF FUNCTION BLOCK CONFIGURATION ERROR
W74 - FF FUNCTION BLOCK DDITEM MISMATCH
W75 - FF FUNCTION BLOCK DDMBR MISMATCH
W76 - INVALID FF MODE CONFIGURATION
W77 - FIELDBUS COMMUNICATION FAULT
W78 - INVALID FUNCTION BLOCK
W79 - INVALID PARAMETER INDEX
W80 - FIELDBUS DEVICE NOT FOUND
W81 - INVALID PARENT DCI ECB PERIOD/PHASE
W82 - FF CONFIGURATION IN PROGRESS
W83 - INVALID FF PARAMETER CONNECTION
49
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
ERCODE
W84 - INVALID FF PARAMETER TYPE
W85 - INVALID CONNECTION TYPE
W86 - MAN_ID, DVC_ID, OR DVCREV MISMATCH
FDATA1 File Data #1 and File Data #2 are settable multi-byte arrays that provide
FDATA2 configuration data for the device block represented by the AO block.
This file data is downloaded automatically into the FBM228 when the
FDATA1 parameter is changed in the CP270 via an OM write access
operation. This download also will occur automatically when the CP270
or FBM228 reboots and when the FBM228 is put on-line. The size of
each FDATAn parameter is 255 bytes, for a total array size of 510 bytes.
FSOPTN Fault State Option is a configurable integer parameter that specifies the
Fault State conditions and action to be taken by the CP and the FBM for
an output point in the corresponding device AO function block:
♦ Bit 0: 1 = Assert Fault State when the CAS_IN parameter is
sourced by an I/A Series block parameter and the CAS_IN
is BAD, OOS, or has a broken connection.
Note that ERROPT must be configured nonzero for this
option to take effect.
♦ Bit 1: 1 = Assert Fault State when the CAS_IN parameter is
sourced by an I/A Series block parameter and the SETFS
input is set/cleared.
♦ Bit 2: 1 = Assert Fault State if control station-to-FBM communi-
cation is lost (FBM option). This option is enabled only
when the CAS_IN parameter is sourced by an I/A Series
block parameter and the Fault State is enabled at the FBM
level via the FSENAB parameter in the ECB200 or
ECB202.
50
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
FSTIME Fault State Time is a configurable, downloadable, real value used to specify
the FSTATE_TIME parameter of a device function block. See
Section 2.6.10 on page 75.
INHIB Inhibit is a configurable, connectable and settable boolean that, when set,
suppresses all alarm message reporting. INHIB affects only alarm message
reporting; the alarm handling and detection functions are determined by
the INHOPT setting.
INHOPT Inhibit Option specifies the following actions applying to all block alarms:
♦ 0 = When an alarm is inhibited, disables alarm messages but does
not disable alarm detection.
♦ 1 = When an alarm is inhibited, disables both alarm messages and
alarm detection. If an alarm condition exists at the time the alarm
transitions into the inhibited state, the alarm indicator is cleared.
♦ 2 = Same as 0 for inhibited alarms. For uninhibited alarms,
automatically acknowledges “return-to-normal” messages.
“Into alarm” messages can be acknowledged by explicitly setting
UNACK False.
♦ 3 = Same as 1 for inhibited alarms. For uninhibited alarms,
automatically acknowledges “return-to-normal” messages.
“Into alarm” messages can be acknowledged by explicitly setting
UNACK False.
INHSTA Inhibit Status contains packed long values that represent the current
inhibit status of each alarm type configured in the block. Table 2-7 shows
how parameter is used with the AO block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 15 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BAD B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
B9
51
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
Bit Boolean
Number* Description, Connection
(0 to 31) Name When True (B32 to B1)
22 BAD Bad I/O Alarm Inhibited INHSTA.B10
*Bit 0 is the least significant, low order bit.
Bit
Number* Description, When True
14 SP-PV Track in Man
12 SP-PV Track in LO
11 SP Track retained target
10 Increase to Close
9 Fault State to Value
8 Fault State on Restart
7 Target to MAN on FS
6 Use PV for BKCAL_OUT
*Bit 0 is the least significant, low order bit.
LOCKID Lock Identifier is a string identifying the workstation that has locked
access to the block via a successful setting of LOCKRQ. LOCKID has
52
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
LOCKRQ Lock Request is a Boolean input which can be set True or False only by a
SETVAL command from the LOCK U/L toggle key on workstation dis-
plays. When LOCKRQ is set True in this fashion, a workstation identifier
accompanying the SETVAL command is entered into the LOCKID
parameter of the block. Thereafter, set requests to any of the block’s
parameters are only honored (subject to the usual access rules) from the
workstation whose identifier matches the contents of LOCKID.
LOCKRQ can be set False by any workstation at any time, whereupon a
new LOCKRQ is accepted, and a new ownership workstation identifier is
written to LOCKID.
LSCI1 Input Low Scale specifies the XD_SCALE.EU@0 parameter value of the
device function block.
LSCO1 Output Low Scale specifies the PV_SCALE.EU@0 parameter value of the
device function block.
MAN_SW Manual Switch is a settable output used to set the MODE_T parameter,
and thus the MODE_BLK.Target in the associated device function block,
to Manual.
53
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
OOS_SW Out of Service Switch is a settable output used to set the MODE_T
parameter, and thus the MODE_BLK.Target in the associated device func-
tion block, to Out of Service.
OUT Output is a real output that contains the OUT parameter of the associated
device function block. It is settable only in Manual mode.
OUTSTS Output Status is a non-settable, packed Boolean output that contains the
value of OUT.Status in device function blocks. See Section 2.6.9.
PERIOD Period is an indexed input that dictates the block’s execution time base
and allowable PHASE values. PERIOD values range from 0 to 9 and map
to the following period time lengths:
Period Length Period Length
0 0.1 second 5 30 seconds
1 0.5 second* 6 1 minute
2 1.0 second 7 10 minutes
3 2.0 seconds 8 60 minutes
4 10 seconds 9 0.2 second
*If the BPC is 0.2 second, this period is treated internally as 0.6 second,
but the PERIOD parameter remains 1.
PHASE Phase is a zero-based integer input that causes the block to execute at a
specific BPC within the time determined by the PERIOD. For instance,
assuming that the BPC of the I/A Series station is 0.5 second, a block with
a PERIOD of 3 (2.0 seconds) can execute within the first, second, third,
54
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
or fourth BPC of the 2-second time period. See Integrated Control Software
Concepts (B0700AG).
PRIBLK Primary Block indicates whether the AO block has a connection from an
upstream block (PRIBLK = 1) or not (PRIBLK = 0). Its value and the
value of PRITIM determine whether the block remains in holding until
the upstream block returns an acknowledgement, remains in holding for a
fixed time delay, or ends the hold after one cycle.
PRITIM Primary Cascade Timer is a configurable parameter used to delay the clos-
ing of the cascade to a primary block when the output is initialized in the
AO block. It is used only if the PRIBLK option is set. If PRITIM = 0 and
PRIBLK is used, the cascade remains open indefinitely until acknowl-
edged by the primary block.
PRTYPE Priority Type is an indexed output parameter that indicates the alarm type
of the highest priority active alarm. For the AO block:
0 = No alarm
8 = Bad I/O alarm.
PVSTS Process Variable Status is a non-settable, packed Boolean output that con-
tains the PV.Status of the associated device function block. See
Section 2.6.9.
RI1 Input Range is a real array consisting of the two parameters HSCI1 and
LSCI1. The array members are configured by their individual names;
however, RI1 and its members can be accessed on an array basis by user
tasks and displays.
RI2 Output Range is a real array consisting of the two parameters HSCO1
and LSCO1. The array members are configured by their individual
names; however, RO1 and its members can be accessed on an array basis
by user tasks and displays.
SETFS Set Fault State Request is a Boolean parameter that requests Fault State
action to be reset by the FBM or field device for the specific output value
of the block. The settings are:
♦ 1 = set Fault State request
♦ 0 = reset Fault State request
55
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
SP Set Point is a configurable real output that is used to specify the SP param-
eter of the associated device function block. It is settable only in Auto
mode.
SPHLIM Set Point High Limit is a configurable real input that is used to specify the
SP_HI_LIM parameter of the associated device function block. It is
settable if unlinked. See Section 2.5.1.2 for further details.
SPLLIM Set Point Low Limit is a configurable real input that is used to specify the
SP_LO_LIM parameter of the associated device function block. It is
settable if unlinked. See Section 2.5.1.2 for further details.
SPSTS Set Point Status is a non-settable, packed Boolean output that contains the
SP.Status of the associated device function block. See Section 2.6.9.
ST_REV Status Revision is a non-settable integer that contains the ST_REV param-
eter of the associated device function block.
56
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
TYPE Type is the block type. When an AO block is added to the control data-
base, the configuration editor enters a value of 110 to specify the AO
block type.
57
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
BKCAL_OUT
SIMULATE
Mode PV Fault
Conversion State
SHED_OPT READBACK
PV_SCALE FSTATE_TIME
XD_SCALE FSTATE_VAL
2.5.1.1 Mode
The device AO block supports the following modes:
♦ Man - Manual allows you to set the OUT parameter.
♦ Auto - In Auto, the OUT parameter reflects the SP value.
♦ Cas - Cascade allows the OUT parameter to be set by an external source connected to
the CAS_IN parameter.
♦ OOS - When the mode is Out of Service, the block is not processed, the output
channel is maintained at the last value, and the status of OUT is set to BAD.
♦ IMan - Initialization Manual indicates that the path to the output hardware is closed.
The output remains at its last value.
♦ LO - Local Override is set when the resource block has been placed in LO or Fault
State is active. In LO, the output of the block does not respond to CAS_IN.
2.5.1.2 Setpoint
The source of the Setpoint depends on the block mode as described in Section 2.5.1.1. The SP
value is limited to the range defined by SP_HI_LIM and SP_LO_LIM. When the block is in Auto
mode, the rate at which changes in the SP value are passed to the OUT value are limited by the
SP_RATE_DN and SP_RATE_UP parameters.
58
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
2.5.1.4 Output
This value is passed to the device’s transducer block to provide the “setpoint” to the servo-position
circuit that actually manipulates the valve position.
2.5.1.5 Simulation
When the SIMULATE parameter in the device function block is set, the OUT parameter value is
not sent to the device, and the BKCAL_OUT can be set an external source such as a hand-held
H1 device for testing. Simulation at the device block level also requires that you set a simulation
jumper on the device.
Simulation of the control loop involving an analog output to an H1 device can be accomplished
entirely within the control station and not involve communication with the H1 devices, as
described in Section 2.6.16.
2.5.1.7 PV Conversion
The PV_SCALE parameter is used to convert the SP to percent of span. The XD_SCALE range is
used to convert percent of span to the number used by the hardware. This allows portions of the
SP span to cause full span movement of the output. The Increase to close option in IO_OPTS can
be used to invert the span.
59
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
The arrow notation is used in the Table 2-10 descriptions of AO parameter transforms. These are
presented in alphabetic order, arranged by the AO block parameter names.
FF Function block
Parameter Device Analog Output Block Parameter
AUT_SW MODE_BLK.Target
When AUT_SW = 1:
Set MODE_T (request) = AUTO
Set CAS_SW=0, MAN_SW=0, OOS_SW=0
Write MODE_T (request) to FBM
60
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
FF Function block
Parameter Device Analog Output Block Parameter
BCALCO BKCAL_OUT, OUT, CAS_IN, MODE_BLK.Actual
BCALCO.value ← BKCAL_OUT.Value if not simulating (SIMOPT=0)
← OUT.Value if simulating (SIMOPT=1)
61
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
FF Function block
Parameter Device Analog Output Block Parameter
BLKSTA MODE_BLK.Actual, BKCAL_OUT
BLKSTA.status.OOS ← MODE_BLK.Actual.OOS
BLKSTA.HLD ← CAS_IN source value is BAD
BLKSTA.TRK ← CAS MODE_BLK.Actual.IMAN or LO
BLKSTA.LO ← MODE_BLK.Actual.LO
BLKSTA.LR=1 ← MODE_BLK.Actual.CAS
BLKSTA.LR=0 ← MODE_BLK.Actual.AUTO or MAN
BLKSTA.MA=1 ← MODE_BLK.Actual.CAS or AUTO
BLKSTA.MA=0 ← MODE_BLK.Actual.MAN
BLKSTA.FBM ← CP-FBM communication is failed
BLKSTA.BIO ← BKCAL_OUT.Status.Bad (Bits 6-7=0)
BLKSTA.FS ← BKCAL_OUT.Status.Good (Bits 6-7=0)
and Substatus.FSA (bits2-5= 7)
CASSTS CAS_IN
CASSTS.value ← CAS_IN.Status
CAS_IN CAS_IN, BKCAL_OUT
CAS_IN.value (request) → CAS_IN.Value (in CAS mode only if non-FF connection)
CAS_IN.value (actual) ← BKCAL_OUT.Value if initializing;
← CAS_IN.Value if not initializing
62
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
FF Function block
Parameter Device Analog Output Block Parameter
FSTIME ↔ FSTATE_TIME
FSVAL ↔ FSTATE_VAL
HSCI1 ↔ XD_SCALE @ 100%
HSCO1 ↔ PV_SCALE @ 100%
IOOPTS ↔ IO_OPTS
LSCI1 ↔ XD_SCALE @ 0%
LSCO1 ↔ PV_SCALE @ 0%
MAN_SW MODE_BLK.Target
When MAN_SW = 1:
Set MODE_T (request) = MAN
Set CAS_SW=0, AUT_SW=0, OOS_SW=0
Write MODE_T (request) to FBM
MODE_A MODE_BLK.Actual
MODE_A.value ← MODE_BLK.Actual
MODE_N ↔ MODE_BLK.Normal
MODE_P ↔ MODE_BLK.Permitted
MODE_T MODE_BLK.Target
MODE_T.value (request) ← MODE_BLK.Target
MODE_T.value (actual) ← MODE_BLK.Target
NAME → Function Block Tag
OOS_SW MODE_BLK.Target
When OOS_SW is set =1:
Set MODE_T (request) = OOS
Set CAS_SW=0, AUT_SW=0, MAN_SW=0
Write MODE_T (request) to FBM
OUT OUT
OUT.value (request) → OUT.Value (in MAN mode only)
OUT.value (actual) ← OUT.Value
OUT.status.LHI ← OUT.Status.Limited Hi (Bit 0)
OUT.status.LLO ← OUT.Status.Limited Lo (Bit 1)
OUT.status.ERR ← OUT.Status.Uncertain (Bits 6-7=1)
OUT.status.BAD ← OUT.Status.Bad (Bits 6-7=0) or CP-FBM communication failure
OUT.status.OOS ← OUT.Status.Bad (Bits 6-7=0) and Substatus.OOS (bits2-5= 7),
or Compound is Off,
or FBM228 is Off-Line or DCI Not Ready,
or H1 Device is Failed or Disabled,
or CP-FBM communication failure,
or DCI_COMM_DATA.connect_status <= 0
OUTSTS OUT
OUTSTS.value ← OUT.Status
63
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
FF Function block
Parameter Device Analog Output Block Parameter
PV PV
PV.value ← PV.Value
PV.status.LHI ← PV.Status.Limited Hi (Bit 0)
PV.status.LLO ← PV.Status.Limited Lo (Bit 1)
PV.status.ERR ← PV.Status.Uncertain (Bits 6-7=1)
PV.status.BAD ← PV.Status.Bad (Bits 6-7=0) or CP-FBM communication failure
PV.status.OOS ← PV.Status.Bad (Bits 6-7=0) and Substatus.OOS (bits2-5= 7),
or Compound is Off,
or FBM228 is Off-Line or DCI Not Ready,
or FF H1 Device is Failed or Disabled,
or CP-FBM communication failure,
or DCI_COMM_DATA.connect_status <= 0
PVSTS PV
PVSTS.value ← PV.Status
RBK READBACK
RBK.value ← READBACK.Value
RBK.status.LHI ← READBACK.Status.Limited Hi (Bit 0)
RBK.status.LLO ← READBACK.Status.Limited Lo (Bit 1)
RBK.status.ERR ← READBACK.Status.Uncertain (Bits 6-7=1)
RBK.status.BAD ← READBACK.Status.Bad (Bits 6-7=0) or
CP-FBM communication failure
RBK.status.OOS ← READBACK.Status.Bad (Bits 6-7=0)
and Substatus.OOS (bits2-5= 7),
or Compound is Off,
or FBM228 is Off-Line or DCI Not Ready,
or H1 Device is Failed or Disabled,
or CP-FBM communication failure,
or DCI_COMM_DATA.connect_status <= 0
RBKSTS READBACK
RBKSTS.value ← READBACK.Status
SHEDOP ↔ SHEDOP
64
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
FF Function block
Parameter Device Analog Output Block Parameter
SP SP
SP.value (request) → SP.Value (in AUTO mode only)
SP.value (actual) ← SP.Value
SP.status.LHI ← SP.Status.Limited Hi (Bit 0)
SP.status.LLO ← SP.Status.Limited Lo (Bit 1)
SP.status.BAD ← SP.Status.Bad (Bits 6-7=0) or CP-FBM communication failure
SP.status.OOS ← SP.Status.Bad (Bits 6-7=0) a and Substatus.OOS (bits2-5= 7),
or Compound is Off,
or FBM228 is Off-Line or DCI Not Ready,
or H1 Device is Failed or Disabled,
or CP-FBM communication failure,
or DCI_COMM_DATA.connect_status <= 0
SPHLIM SP_HI_LIM
SPHLIM.value (request) → SP_HI_LIM.Value
SPHLIM.value (actual) ← SP_HI_LIM.Value
SPHLIM.status.OOS ← SPHLIM source value is OOS,
or Compound is Off,
or FBM228 is Off-Line,
or CP-FBM communication failure
SPLLIM SP_LO_LIM
SPLLIM.value (request) → SP_LO_LIM.Value
SPLLIM.value (actual) ← SP_LO_LIM.Value
SPLLIM.status.OOS ← SPLLIM source value is OOS,
or Compound is Off,
or FBM228 is Off-Line,
or CP-FBM communication failure
SPSTS SP
SPSTS.value ← SP.Status
STOPTS ↔ STATUS_OPTS
STRATG ↔ STRATEGY
ST_REV ← ST_REV
TAGDSC ← TAG_DESC
Note: Changes to TAGDSC are copied to DESCRP.
65
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
66
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
2.6.3 Scaling
Table 2-12 lists AO block parameters used to set the device function block scaling parameters.
67
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
68
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
69
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
70
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
The CP270 propagates the BAD, OOS, and ERR status of these input parameters to their corre-
sponding device function block parameters by writing the status to the FBM228 when a change
occurs.
When the Update Source of an input connection is not a device function block parameter, the
BlockName specified in the connection is the name of the I/A Series block; the ParameterName
is the 1-6 character name of the parameter in the I/A Series block.
The CP270 also supports connections to specific inputs in the AO blocks from parameters con-
tained in device function blocks mapped to any standard I/A Series control or I/O block. These
inputs are updated each block cycle from data in the device function block parameter; the data
contained in the specified I/A Series source parameter will not be used. The inputs of this type are
listed in Table 2-13 below.
When the source of an input connection is a device function block parameter, the I/A Series block
connection is made by the CP270, and the source BlockName and ParameterName are extracted
from the connection and appended to a connect message. This message is sent to the FBM228 to
establish a fieldbus connection to the function block source parameter.
When the source of an input connection is a device function block parameter, the BlockName is
the TagName of the device function block, which is the same as the name of the source I/A Series
block. The ParameterName is the 1-6 character name of the parameter in the source I/A Series
block for those connections listed in Table 2-14 below. In these cases, the name of the I/A Series
block parameter is converted to the equivalent function block parameter index by the CP270
prior to appending it to the connect message. In all other cases, the ParameterName must be con-
figured to be the parameter index of the function block parameter.
If the fieldbus connection cannot be made due to an invalid BlockName or ParameterName, the
ERCODE parameter in the block is set to the following text and the block is undefined:
“W83 - INVALID FF PARAMETER CONNECTION”
71
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
72
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
shows the converted status parameter so that the value need not be decoded. Table 2-15 shows
how the status byte is formatted.
Table 2-15. Device Parameter Status Format
Bits Description
0-1 Limits:
0 = Not limited
1 = High limited
2 = Low limited
3 = Constant (both high and low limited bits set)
2-5 SubStatus depends on .Quality, as shown in Table 2-16
6-7 Quality:
0 = Bad
1 = Uncertain
2 = Good (non-cascade)
3 = Good (cascade)
Table 2-16 shows the usage of the Substatus bits, which varies depending on the bits set
in .Quality.
73
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
74
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
75
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
The device Fault State options are designed primarily to deal with communication failures above
the device, while working in concert with ECB options. Enabling Fault State is effective under
two external conditions
♦ When Faultstate is asserted by the connected FBM
♦ When communications to the device are lost and the device AO function block mode
is CAS.
The actual Fault State behavior taken by the device AO function block is specified in the parame-
ters listed in the table below.
I/A Series
Parameter Description
IOOPTS Configures the device block parameter IO_OPTS to enable/disable two
Fault State options:
1) Fault State on Restart: Selecting this option causes the device to go to
the value specified in FSTATE_VAL on a device RESTART. If this option
is not selected and the device block can go to its target mode upon
RESTART, the last saved setpoint (SP) is used for generating the Faultstate
position.
2) Fault State to Value: When this option is selected, the block uses the
value specified in FSTATE_VAL. When the option is not selected, the last
saved setpoint is used.
FSVAL Configures FSTATE_VAL in the device AO function block, specifying the
value that is asserted when one of the Fault State options is invoked.
FSTIME Configures FSTATE_TIME in the device AO function block, setting the
period that the fault condition must last before the block asserts the speci-
fied value. A Fault State action does not occur until the FSTATE_TIME
interval has expired.
NOTE
An additional requirement for Fault State handling at the device level is that the
Fault State option must be selected in the device resource block, that is,
(0x4)FaultState must be selected in FEATURE_SEL.
76
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
77
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
♦ When the Bad Alarm condition occurs, a Bad Alarm message is sent to all devices in
the BADGRP alarm group. This message contains the OUTDSC output descriptor,
the BADTXT descriptive text, and the LOOPID loop identifier.
♦ When the Bad alarm condition clears, a return-to-normal message is generated and
sent to all devices in the bad alarm group.
The CRIT, PRTYPE, and corresponding ALMSTA fields are cleared when there are no active
alarms in the block.
The UNACK parameter and the ALMSTA.UNACK bit are cleared in these cases:
♦ When the alarm is acknowledged by an OM set operation at either the compound
level, by setting the compound UNACK=0, or at the block level, by setting the block
UNACK=0.
♦ When all alarm conditions in the block return to normal status, if INHOPT is set
appropriately.
♦ When the block is shut down.
When UNACK is cleared, an Alarm Acknowledge message is generated and sent to all devices in
all alarm groups in the block.
Alarm Inhibiting/Disabling is supported using a combination of the compound CINHIB param-
eter and the INHOPT, INHIB, and INHALM parameters in the I/A Series AO block, to allow
the alarm messages to be inhibited and/or alarm detection to disabled dynamically.
When an alarm type is inhibited or disabled, an appropriate Alarm Disable message is generated
and sent to all devices in the alarm group. If the block is unacknowledged, an Alarm Acknowledge
message also is sent to these devices. In addition, the ALMSTA.INHIB bit is set, and the corre-
sponding INHSTA bit is set.
When an alarm type is uninhibited or enabled, an appropriate Alarm Enable message is generated
and sent to all devices in the alarm group. In addition, the ALMSTA.INHIB bit is cleared if no
other alarm in the block is inhibited, and the corresponding INHSTA bit is cleared.
The Alarm Reprioritization and Alarm Message Regeneration (using AMRTIN) enhancements
also are supported in the I/A Series AO block. Refer to the CP270 Integrated Control Concepts
(B0700AG) user document for details.
78
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
1. If the FF_OOS_OPT bit (Bit 4: 0x0010) is set in the Station block CFGOPT param-
eter, the following additional actions are taken:
♦ The actual mode parameter (MODE_A) is set to OOS.
♦ A write message is sent to the FBM228 with both the OOS and IMAN bits set in
the Target mode. The IMAN bit is set to indicate to the FBM228 that the com-
pound is off.
♦ Otherwise, a write message is sent to the FBM228 with only the OOS bit set in
the Target mode.
2. Otherwise, the following action is taken:
♦ A write message is sent to the FBM228 with both the current state and the IMAN
bits set in the Target mode. The IMAN bit is set to indicate to the FBM228 that
the compound is off.
2.6.16 Simulation
The I/A Series AO block SIMOPT parameter enables simulation of an analog input to the con-
trol system from the corresponding analog input device function block. This feature can be used
to test control schemes requiring analog inputs without actual FBM228 hardware connections.
When SIMOPT= 1 (True), the status and value of OUT are not recovered from the field, but can
be set directly to simulate input from the field.
When simulating (SIMOPT=1), the following functions will be performed:
♦ The CAS_IN input is stored in the OUT output value when the block mode is Auto.
♦ The OUTSTS output status parameter is set to Good Non-Cascade (0x80).
♦ Changes to the target mode via the mode switches (CAS_SW, AUT_SW, MAN_SW,
or OOS_SW) immediately update the target mode parameter (MODE_T), and the
actual block mode (MODE_A) tracks MODE_T each block cycle.
♦ If the Bad Alarm option is specified (BADOPT =1), bad alarming of the BCALCO
parameter is performed.
When simulating, the following functions are not performed:
♦ Downloading of configuration parameters.
♦ Updating of View data parameters.
♦ Block Error (BLKERR) processing.
♦ External configuration changes to function block parameters.
♦ Configuration Error (CFGERR) processing.
Refer to InFusion Enterprise Control System: Implementing FOUNDATION fieldbus in InFusion 2.0
(B0750DA) or Implementing FOUNDATION fieldbus on the I/A Series System (B0700BA) for
instructions on conducting control simulations from the control station.
79
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
BSTATE Value
(Int (Bin)) State Value Description
0 (00000000) Undefined -
1 (00000001) Unconnected A DCI block has been deleted/undeployed
from the CP configuration.
2 (00000010) Connecting A DCI block has been created in the CP;
The FBM is creating the block structures in
an internal FBM database.
3 (00000011) Connecting Failed The FBM can fail to create a new block for a
number of reasons. For example:
- Connection already exists.
- FBM is out of memory
- No block match
- Invalid block
4 (00000100) Scheduling Block Execution A block schedule is being created.
5 (00000101) Scheduling Block Execution A schedule configuration failed. The FBM
Failed could not deploy block or LAS schedule.
Check schedule or schedule configuration.
6 (00000110) Creating Block Connections Publisher/Subscriber connections are being
created.
7 (00000111) Creating Block Connections FBM failed to create block Publisher/Sub-
Failed scriber connections. Check the configura-
tion. This may be a temporary condition
while the FBM is processing other blocks.
8 (00001000) Writing Block Parameters Block parameters are being written to a
device
9 (00001001) Writing Block Parameters FBM failed to write parameters to device
Failed resident block. The block detailed display
“Maintenance” overlay may have more
information. Verify block configuration in
IEE. Use the Field Device Manager to com-
pare configuration data base with device
database.
10 (00001010) Block ON LINE - OK Connection processing has been successful
and data/point connection has been estab-
lished.
11 (00001011) Block ON LINE – Error Processing has been completed, but some
step of the processing failed. The block
detailed display “Maintenance” overlay may
have more information. Also check the
System Manager status information for the
corresponding FF H1 device.
80
2. AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
Parent ECB200/202
(FBM228)
PARENT PARENT
IOM_ID
NAME
IOM_ID IOM_ID
NAME NAME
81
B0700EC – Rev B 2. AO – Foundation™ fieldbus Analog Output
82
3. DI – FOUNDATION™ fieldbus
Discrete Input
This chapter describes the I/A Series Discrete Input (DI) block, which interfaces the control
system with a corresponding discrete input function block operating in a FOUNDATION™
fieldbus H1 device.
3.1 Overview
Discrete Input (DI) is a Distributed Control Interface (DCI) block that provides an interface
between the control processor and a discrete input function block operating in a FOUNDATION
fieldbus H1 device (the device function block). The DI block is supported on the FCP270 and
ZCP270 when the H1 device is connected to the control station by an FBM228. The DI block
is configured using the Block Configurator in the InFusion Engineering Environment (IEE) as
described in InFusion Enterprise Control System: Implementing FOUNDATION fieldbus in InFusion
2.0 (B0750DA).
NOTE
The DI block functionality described in this chapter is applicable only for
FBM228s with the software type (SWTYPE) of “128”. For a description of the leg-
acy DI block functionality (I/A Series systems v8.4.3 or earlier) where FBM228s
have the SWTYPE of “228”, refer to Appendix C “Legacy DI – Foundation™
fieldbus Discrete Input”.
3.3 Features
The DI block provides the following features:
♦ Acquires the device DI function block’s primary output value and status
♦ Time stamps value and status changes to the block’s output
83
B0700EC – Rev B 3. DI – Foundation™ fieldbus Discrete Input
♦ Accesses the parameters in the device function block’s views using change-driven and
periodic client/server connections
♦ Ensures that changes in the device function block’s process values and error conditions
are continuously available for display and connection to the control strategy.
♦ Provides for the configuration of device function block parameters from the I/A Series
system and management of the device configuration in the control database
♦ Enables users to set the mode of the device function block to Auto, Manual or Out of
Service
♦ Provides alarm detection and reporting for Bad I/O
♦ Supports simulation of the device function block output within the control station
84
3. DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
85
B0700EC – Rev B 3. DI – Foundation™ fieldbus Discrete Input
ALMOPT Alarm Options contain packed long values representing the alarm types
that have been configured as options in the block, and the alarm groups
that are in use. Table 3-2 shows how the parameter is used by the DI
block.
Bit
Number*
(0 to 31) Configured Alarm Option, When True
0 (lsb) Alarm Group 8 in Use
1 Alarm Group 7 in Use
2 Alarm Group 6 in Use
3 Alarm Group 5 in Use
4 Alarm Group 4 in Use
5 Alarm Group 3 in Use
6 Alarm Group 2 in Use
7 Alarm Group 1 in Use
86
3. DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
Bit
Number*
(0 to 31) Configured Alarm Option, When True
22 Bad I/O Alarm Configured
26 Discrete Alarm Configured
*Bit 0 is the least significant, low order bit.
ALMSTA Alarm Status is a 32-bit output, bit-mapped to indicate the block’s alarm
states. Table shows the bits used by the DI block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
UNAK B2
B3
B4
B5
B6
B7
B8
B9
DSC
CRIT PRTYPE
BAD
INH
Bit Boolean
Number Description, Connection
(0 to 31)* Name When True (B32 to B1)
0 to 4 PTYP_MSK Priority Type: See parameter ---
PRTYPE for values used in the DI
block
5 to 7 CRIT_MSK Criticality: 1 (highest priority) to 5 ---
22 BAD Bad I/O Alarm ALMSTA.B10
26 DSC Discrete State Alarm ALMSTA.B6
29 INH Inhibit Alarm. This bit is set when ALMSTA.B3
any of the block’s alarms is inhibited
30 UNAK Unacknowledged ALMSTA.B2
*Bit 0 is the least significant, low order bit.
AMRTIN Alarm Message Regeneration Time Interval specifies the rate at which
alarm messages are generated for alarm conditions that have not been
cleared. The interval is specified in seconds. The configured interval is
rounded up to the closest value that is an even multiple of the station
BPC. A value of 0 disables alarm message regeneration.
AUT_SW Auto Switch is a settable Boolean output used to set the MODE_T
parameter, and thus the MODE_BLK.Target1 in the associated device
function block, to Auto.
1. Device function block parameters are shown in this document in italics. Function blocks may use
different names for these parameters.
87
B0700EC – Rev B 3. DI – Foundation™ fieldbus Discrete Input
BADPRI Bad Alarm Priority is a configurable integer input used to specify the
Alarm Priority to be assigned to Bad Alarms in the block. BADPRI is
settable if unlinked. The range is 1 (highest) to 5 (default).
BLKERR Block Error is a non-settable, packed Boolean output that contains the
BLOCK_ERR parameter of the associated device function block. Table 3-4
shows the parameter format.
BLKNDX Block Index is a configurable, non-settable long integer that contains the
index of the device function block represented by the DI block. It is set by
the configurator and the FBM uses it to identify the block in the device.
88
3. DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
FBM228 B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
DEVACK B9
FDFAIL
FDACT
FDMM
FDOK
UDEF
FBM
TRK
LCK
FFX
BIO
ON
MA
LO
FS Table 3-5. BLKSTA Parameter Format
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
3 LO The device function block mode is Local BLKSTA.B29
Override
6 TRK The block is being tracked as the device BLKSTA.B26
function block is in Local Override or
Initialization Manual Mode
8 FBM There is a communication failure BLKSTA.B24
between CP and FBM
11 MA The device block mode is Auto BLKSTA.B21
12 BIO Bad I/O BLKSTA.B20
14 UDEF The block is undefined BLKSTA.B18
15 ON The compound that contains the block BLKSTA.B17
is ON
16 FFX Enhanced FF block connection BLKSTA.B16
17 FDACT Download active BLKSTA.B15
18 FDFAIL Download failure BLKSTA.B14
19 FBM228 The host FBM for the H1 device is an BLKSTA.B13
FBM228
20 LCK A workstation has locked this block BLKSTA.B12
21 FDOK FDATA installed BLKSTA.B11
22 FDMM FDATA mismatch BLKSTA.B10
23 DEVAC Unacknowledged device alarm BLKSTA.B9
K
24 FS Fault State has been asserted in the BLKSTA.B8
device function block
*Bit 0 is the least significant, low order bit.
89
B0700EC – Rev B 3. DI – Foundation™ fieldbus Discrete Input
FBM228. The following values are used to indicate the current DCI block
state:
0 = Undefined state
1 = Unconnected
2 = Connecting
3 = Connecting Failed
4 = Scheduling Block
5 = Scheduling Failed
6 = Creating Block Connections
7 = Creating Block Connections Failed
8 = Writing Block Parameters
9 = Writing Block Parameters Failed
10 = Block ON-LINE
11 = Block ON-LINE with error - Processing has been completed, but
some step of the processing failed. The block status is reported to CP.
Block state transitions are explained in “Block States” on page 114.
CRIT Criticality is an integer output that indicates the priority of the block’s
highest currently active alarm. The range is 1 (highest priority) to 5. An
output of 0 indicates the absence of alarms.
DEFINE Define is a data store that indicates the presence or absence of configura-
tion errors. The default is 1 (no configuration errors). When the block
initializes, DEFINE is set to 0 if any configured parameters fail validation
testing. See “ERCODE” on page 92 for a list of all possible validation
errors in this block.
♦ If DEFINE = 0, no further processing of the block occurs,
including further validation of remaining parameters.
90
3. DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
NOTE
This parameter is not supported currently.
DSCPRI Discrete Alarm Priority is a configurable short integer input that specifies
the Alarm Priority to be assigned to discrete alarms in the block. It is setta-
ble if unlinked. The range is 1 (highest) to 5 (default).
91
B0700EC – Rev B 3. DI – Foundation™ fieldbus Discrete Input
ERCODE Error Code is a string data store that indicates the type of configuration
error which caused the block’s DEFINE parameter to be set False.
Validation of configuration errors does not proceed past the first error
encountered by the block logic. Table 3-6 lists the possible values of
ERCODE.
Table 3-6. Error Code Values
ERCODE
W43 - INVALID PERIOD/PHASE COMBINATION
W54 - ECB DOES NOT EXIST
W62 - UNRESOLVED CONNECTION
W65 - INVALID POINT ADDRESS
W66 - DUPLICATE CONNECTION
W67 - INSUFFICIENT FBM MEMORY/CONNECTIONS
W68 - INVALID DEVICE CONNECTION
W69 - INVALID POINT CONNECTION
W73 - FF FUNCTION BLOCK CONFIGURATION ERROR
W74 - FF FUNCTION BLOCK DDITEM MISMATCH
W75 - FF FUNCTION BLOCK DDMBR MISMATCH
W76 - INVALID FF MODE CONFIGURATION
W77 - FIELDBUS COMMUNICATION FAULT
W78 - INVALID FUNCTION BLOCK
W79 - INVALID PARAMETER INDEX
W80 - FIELDBUS DEVICE NOT FOUND
W81 - INVALID PARENT DCI ECB PERIOD/PHASE
W82 - FF CONFIGURATION IN PROGRESS
W83 - INVALID FF PARAMETER CONNECTION
W84 - INVALID FF PARAMETER TYPE
W85 - INVALID CONNECTION TYPE
W86 - MAN_ID, DVC_ID, OR DVCREV MISMATCH
92
3. DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
FDATA1 File Data #1 and File Data #2 are settable multi-byte arrays that provide
FDATA2 configuration data for the device block represented by the DI block.
This file data is downloaded automatically into the FBM228 when the
FDATA1 parameter is changed in the CP270 via an OM write access
operation. This download also will occur automatically when the CP270
or FBM228 reboots and when the FBM228 is put on-line. The size of
each FDATAn parameter is 255 bytes, for a total array size of 510 bytes.
IN Simulation Input is a value used as the input to the DI block when simu-
lation is active (SIMOPT = 1). In this mode the DI block is disconnected
from the field device.
INHALM Inhibit Alarm contains packed Boolean values that represent alarm
generation inhibit requests for each type of alarm configured in the block.
Table 3-7 shows how the bits are used by the DI block.
Table 3-7. INHALM Parameter Format
Boolean
Bit* Connection
(0 to 15) Description, When True (B16 to B1)
6 Inhibit Bad I/O Alarm INHALM.B10
10 Inhibit Discrete Alarm INHALM.B6
*Bit 0 is the least significant, low order bit.
There are no mnemonic names for the individual bits of INHALM.
INHIB Inhibit is a configurable, connectable and settable boolean that, when set,
suppresses all alarm message reporting. INHIB affects only alarm message
reporting; the alarm handling and detection functions are determined by
the INHOPT setting.
INHOPT Inhibit Option specifies the following actions applying to all block alarms:
♦ 0 = When an alarm is inhibited, disables alarm messages but does
not disable alarm detection.
♦ 1 = When an alarm is inhibited, disables both alarm messages and
alarm detection. If an alarm condition exists at the time the alarm
transitions into the inhibited state, the alarm indicator is cleared.
♦ 2 = Same as 0 for inhibited alarms. For uninhibited alarms,
automatically acknowledges “return-to-normal” messages.
“Into alarm” messages can be acknowledged by explicitly setting
UNACK False.
♦ 3 = Same as 1 for inhibited alarms. For uninhibited alarms,
automatically acknowledges “return-to-normal” messages.
“Into alarm” messages can be acknowledged by explicitly setting
UNACK False.
93
B0700EC – Rev B 3. DI – Foundation™ fieldbus Discrete Input
INHSTA Inhibit Status contains packed long values that represent the current
inhibit status of each alarm type configured in the block. Table 3-8 shows
how parameter is used with the DI block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BAD B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
DSC B6
B7
B8
B9
Table 3-8. INHSTA Parameter Format
Bit Boolean
Number* Description, Connection
(0 to 31) Name When True (B32 to B1)
22 BAD Bad I/O Alarm Inhibited INHSTA.B10
26 DSC Discrete Alarm Inhibited INHSTA.B6
*Bit 0 is the least significant, low order bit.
Bit
Number* Description, When True
15 Invert
94
3. DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
Bit
Number* Description, When True
*Bit 0 is the least significant, low order bit.
LOCKID Lock Identifier is a string identifying the workstation that has locked
access to the block via a successful setting of LOCKRQ. LOCKID has
the format LETTERBUG:DEVNAME, where LETTERBUG is the
6-character letterbug of the workstation and DEVNAME is the 1 to
6-character logical device name of the Display Manager task.
LOCKRQ Lock Request is a Boolean input which can be set True or False only by a
SETVAL command from the LOCK U/L toggle key on workstation dis-
plays. When LOCKRQ is set True in this fashion, a workstation identifier
accompanying the SETVAL command is entered into the LOCKID
parameter of the block. Thereafter, set requests to any of the block’s
parameters are only honored (subject to the usual access rules) from the
workstation whose identifier matches the contents of LOCKID.
LOCKRQ can be set False by any workstation at any time, whereupon a
new LOCKRQ is accepted, and a new ownership workstation identifier is
written to LOCKID.
MAN_SW Manual Switch is a settable output used to set the MODE_T parameter,
and thus the MODE_BLK.Target in the associated device function block,
to Manual.
95
B0700EC – Rev B 3. DI – Foundation™ fieldbus Discrete Input
OOS_SW Out of Service Switch is a settable output used to set the parameter
MODE_BLK.Target to Out of Service in the associated device function
block.
OUT_D Discrete Output is a short integer output that contains the OUT_D
parameter of the associated device function block. It is settable only in
Manual mode.
OUTSTS Output Status is a non-settable, packed Boolean output that contains the
OUT_D.Status parameter in the associated device function. See
Section 3.6.6.
96
3. DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
PERIOD Period is an indexed input that dictates the block’s execution time base
and allowable PHASE values. PERIOD values range from 0 to 9 and map
to the following period time lengths:
Period Length Period Length
0 0.1 second 5 30 seconds
1 0.5 second* 6 1 minute
2 1.0 second 7 10 minutes
3 2.0 seconds 8 60 minutes
4 10 seconds 9 0.2 second
*If the BPC is 0.2 second, this period is treated internally as 0.6 second,
but the PERIOD parameter remains 1.
PHASE Phase is a zero-based integer input that causes the block to execute at a
specific BPC within the time determined by the PERIOD. For instance,
assuming that the BPC of the I/A Series station is 0.5 second, a block with
a PERIOD of 3 (2.0 seconds) can execute within the first, second, third,
or fourth BPC of the 2-second time period. See Integrated Control Software
Concepts (B0700AG).
PRTYPE Priority Type is an indexed output parameter that indicates the alarm type
of the highest priority active alarm. For the DI block:
0 = No alarm
8 = Bad I/O alarm
9 = Discrete state alarm.
PV_D Discrete Process Variable is a non-settable short integer output that con-
tains the PV_D parameter of the associated device function block.
PVSTS Process Variable Status is a non-settable, packed Boolean output that con-
tains the PV_D.Status of the associated device function block. See
Section 3.6.6 for a description of the status value.
97
B0700EC – Rev B 3. DI – Foundation™ fieldbus Discrete Input
When SIMOPT= 1 (True), the status and value of OUT_D are not recov-
ered from the field, but are computed by the control station based on the
simulated value change. The simulated value is derived from the IN
parameter. The simulated behavior of the block reflects the operational
mode of the block (MODE_A).
Bit
Number* Option Set with Bit
8 Uncertain if MAN Mode
3 Propagate Fault Forward
* Bit 0 is the least significant, low order bit.
TYPE Type is the block type. When a DI block is added to the control database,
the configuration editor enters a numeric value of 119 to specify the block
type as DI.
98
3. DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
PV_D
FIELD_VAL_D
Alarms
Mode
DISC
3.5.1.1 Mode
The DI block supports three settable modes:
♦ In Auto mode, the OUT_D parameter reflects the process variable (PV_D) value and
status.
♦ In Manual mode, the OUT_D parameter is disconnected from the field and can be set
manually. The OUT_D status reflects the mode.
♦ In OOS (out of service) mode, the block values are not updated and the status of
OUT_D is set to BAD. In OOS, changes can be made to configured parameters.
99
B0700EC – Rev B 3. DI – Foundation™ fieldbus Discrete Input
3.5.1.2 Simulation
The SIMULATE parameter in the device function block allows the OUT_D parameter to be set
by an external source for testing. When SIMULATE is enabled, the actual measurement has no
affect in the OUT_D value and status. Simulation at the device block level also requires that you
set a simulation jumper on the device.
The I/A Series DI block supports simulation within the control processor. The option is set with
the SIMOPT parameter in the DI block, as described in Section 3.6.13.
3.5.1.3 Conversion
When the Invert option is selected in IO_OPTS, the discrete input is logically inverted.
3.5.1.4 Filter
Filtering changes the response time of the device to smooth variations in the input readings
caused by rapid changes in the input value. The filtering time (PV_TIME) is applied to PV_D,
not to FIELD_VAL_D.
3.5.1.5 Alarms
In addition to the standard block alarms, the device DI function block sets an alarm when the
value of PV_D matches the value in DISC_LIM. The alarm condition is added to the OUT_D
status; however, no alarm is generated if the value in DISC_LIM is 255.
The I/A Series system does not use the alarm features provided by the device blocks, but rather
provides alarm handling options in the DI block. The DI block enables BAD alarming using stan-
dard I/A Series alarm parameters.
100
3. DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
The arrow notation is used in Table 3-11, which describes the parameter transforms for the DI
and the related device function block. These are presented in alphabetic order, arranged by the DI
block parameter names.
Table 3-11. DI Block Parameter Transforms
101
B0700EC – Rev B 3. DI – Foundation™ fieldbus Discrete Input
102
3. DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
103
B0700EC – Rev B 3. DI – Foundation™ fieldbus Discrete Input
The principal task of the DI block is to read a discrete value and status from the device. For this
task, the FBM228 establishes a publisher/subscriber connection between the DI block OUT_D
parameter and device function block OUT_D parameter. The one exception is when the OUT_D
of the device function block is Control In the Field (CIF) mode connected to another device
function block in the same device and “Publish Internal Dev Connections” is not selected in the
Field Device Manager Schedule Config page in IEE.
All other parameter connections are made by the FBM on a client/server basis at the
frequency specified in the DI block UPDPER parameter. This parameter can be set from 0
to 2147483647 milliseconds; the default is 10000 (10 seconds); however, increasing the
frequency of client/server communication significantly adds to the load on the H1 segment.
104
3. DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
105
B0700EC – Rev B 3. DI – Foundation™ fieldbus Discrete Input
106
3. DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
Bits Description
0-1 Limits
0 = Not limited
1 = High limited
2 = Low limited
3 = Constant (both high and low limited bits set)
2-5 SubStatus depends on .Quality, as shown in Table 3-13
6-7 Quality
0 = Bad
1 = Uncertain
2 = Good (Non-cascade)
3 = Good (Cascade)
Table 3-13 shows how the Substatus bits are used given the bits set for .Quality.
107
B0700EC – Rev B 3. DI – Foundation™ fieldbus Discrete Input
108
3. DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
109
B0700EC – Rev B 3. DI – Foundation™ fieldbus Discrete Input
The Target mode is a shadow parameter updated from the MODE_BLK function block parame-
ter read back during input scanning of the FBM228.
When the Actual, Permitted, Target, or Normal modes change in the device DI function block,
the corresponding I/A Series mode parameters are updated automatically from the MODE_BLK
function block parameter. In addition, the Actual mode is mapped onto equivalent BLKSTA
parameter bits.
The INITMA parameter and the Auto/Manual override parameters, AUTSW and MANSW, are
not supported in the I/A Series DI block, since these functions do not exist in the device DI func-
tion block.
When the Actual block mode is Auto or Manual, the following are performed:
♦ The OUTSTS status parameter and the value status of the OUT_D parameter are
updated from data received in the reply to the read message.
♦ The PV_D parameter value is updated from data received in the reply to the read
message.
♦ Configuration parameters that have changed since the previous block cycle are
downloaded.
♦ Other View data parameters are updated, if any changes in these parameters have
occurred since the previous block cycle.
♦ Block Error (BLKERR) processing begins.
♦ External configuration changes to function block parameters are propagated.
♦ Configuration Error (CFGERR) processing begins.
♦ If BADOPT=1, Bad Alarming of the output is performed.
♦ If DSCOPT>0, Discrete Alarming of the output is performed.
When the Actual block mode is Auto, the following is performed:
♦ The OUT_D parameter value and status are updated from data received in the reply
to the read message.
When the Actual block mode is Manual, the operator is allowed to set the OUT_D parameter
value directly via an OM set operation. When this happens, the new output value is sent to the
FBM228 which, in turn, updates the corresponding OUT_D function block parameter in the
field device.
110
3. DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
111
B0700EC – Rev B 3. DI – Foundation™ fieldbus Discrete Input
♦ When the Bad Alarm condition occurs, a Bad Alarm message is sent to all devices in
the BADGRP alarm group. This message contains the OUTDSC output descriptor,
the BADTXT descriptive text, and the LOOPID loop identifier.
♦ When the Bad alarm condition clears, a return-to-normal message is generated and
sent to all devices in the bad alarm group.
If the Discrete Alarm (DSCOPT) option is set, alarming is performed as follows:
♦ Alarm status information is set in the block when the alarm condition exists. The
appropriate alarm bit is set in ALMSTA. The UNACK parameter and the correspond-
ing ALMSTA.UNACK bit also are set.
♦ The CRIT parameter and its corresponding ALMSTA.CRIT field are set to the
DSCPRI parameter value, and the PRTYPE parameter and its corresponding ALM-
STA.PRTYPE field are set to the appropriate alarm type. Note that this only happens
if there are no other alarms of higher priority in the block.
♦ When the alarm condition occurs, an alarm message is sent to all devices in the
DSCGRP alarm group. This message contains the OUTDSC descriptor, the appro-
priate descriptive text, and the LOOPID loop identifier.
♦ When the alarm condition clears, a return-to-normal message is generated and sent to
all devices in the DSCGRP alarm group.
The CRIT, PRTYPE, and corresponding ALMSTA fields are cleared when there are no active
alarms in the block.
The UNACK parameter and the ALMSTA.UNACK bit are cleared in these cases:
♦ When the alarm is acknowledged by an OM set operation at either the compound
level, by setting the compound UNACK=0, or at the block level, by setting the block
UNACK=0.
♦ When all alarm conditions in the block return to normal status, if INHOPT is set
appropriately.
♦ When the block is shut down.
When UNACK is cleared, an Alarm Acknowledge message is generated and sent to all devices in
all alarm groups in the block.
Alarm Inhibiting/Disabling is supported using a combination of the compound CINHIB param-
eter and the INHOPT, INHIB, and INHALM parameters in the I/A Series DI block, to allow
the alarm messages to be inhibited and/or alarm detection to disabled dynamically.
When an alarm type is inhibited or disabled, an appropriate Alarm Disable message is generated
and sent to all devices in the alarm group. If the block is unacknowledged, an Alarm Acknowledge
message also is sent to these devices. In addition, the ALMSTA.INHIB bit is set, and the corre-
sponding INHSTA bit is set.
When an alarm type is uninhibited or enabled, an appropriate Alarm Enable message is generated
and sent to all devices in the alarm group. In addition, the ALMSTA.INHIB bit is cleared if no
other alarm in the block is inhibited, and the corresponding INHSTA bit is cleared.
The Alarm Reprioritization and Alarm Message Regeneration (using AMRTIN) enhancements
also are supported in the I/A Series DI block. Refer to the CP270 Integrated Control Concepts
(B0700AG) user document for details.
112
3. DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
3.6.13 Simulation
The I/A Series DI block SIMOPT parameter enables simulation of a discrete input to the control
system from the corresponding device DI function block. This feature can be used to test control
schemes requiring discrete inputs without actual FBM228 hardware connections.
When SIMOPT= 1 (True), the status and value of OUT_D are not recovered from the field, but
can be set directly to simulate input from the field.
When simulating (SIMOPT=1), the following functions will be performed:
♦ The IN input is stored in the OUT_D output value when the block mode is Auto.
♦ The OUTSTS output status parameter is set to Good Non-Cascade (0x80).
♦ Changes to the target mode via the mode switches (AUT_SW, MAN_SW, or
OOS_SW) immediately update the target mode parameter (MODE_T), and the
actual block mode (MODE_A) tracks MODE_T each block cycle.
♦ If any of the alarm options are specified, process alarming of the output is performed.
When simulating, the following functions are not performed:
♦ Downloading of configuration parameters.
♦ Updating of View data parameters.
113
B0700EC – Rev B 3. DI – Foundation™ fieldbus Discrete Input
BSTATE Value
(Int (Bin)) State Value Description
0 (00000000) Undefined -
1 (00000001) Unconnected A DCI block has been deleted/undeployed
from the CP configuration.
2 (00000010) Connecting A DCI block has been created in the CP;
The FBM is creating the block structures in
an internal FBM database.
3 (00000011) Connecting Failed The FBM can fail to create a new block for a
number of reasons. For example:
- Connection already exists.
- FBM is out of memory
- No block match
- Invalid block
4 (00000100) Scheduling Block Execution A block schedule is being created.
5 (00000101) Scheduling Block Execution A schedule configuration failed. The FBM
Failed could not deploy block or LAS schedule.
Check schedule or schedule configuration.
6 (00000110) Creating Block Connections Publisher/Subscriber connections are being
created.
7 (00000111) Creating Block Connections FBM failed to create block Publisher/Sub-
Failed scriber connections. Check the configura-
tion. This may be a temporary condition
while the FBM is processing other blocks.
8 (00001000) Writing Block Parameters Block parameters are being written to a
device
114
3. DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
BSTATE Value
(Int (Bin)) State Value Description
9 (00001001) Writing Block Parameters FBM failed to write parameters to device
Failed resident block. The block detailed display
“Maintenance” overlay may have more
information. Verify block configuration in
IEE. Use the Field Device Manager to com-
pare configuration data base with device
database.
10 (00001010) Block ON LINE - OK Connection processing has been successful
and data/point connection has been estab-
lished.
11 (00001011) Block ON LINE – Error Processing has been completed, but some
step of the processing failed. The block
detailed display “Maintenance” overlay may
have more information. Also check the
System Manager status information for the
corresponding FF H1 device.
115
B0700EC – Rev B 3. DI – Foundation™ fieldbus Discrete Input
Parent ECB200/202
PARENT PARENT
IOM_ID IOM_ID
NAME NAME
IOM_ID IOM_ID
NAME NAME
DI Block DO Block
116
4. DO – FOUNDATION™ fieldbus
Discrete Output
This chapter describes the I/A Series Discrete Output (DO) block, which interfaces the control
system with a corresponding Discrete Output function block operating in a FOUNDATION™
fieldbus H1 device.
4.1 Overview
Discrete Output (DO) is a Distributed Control Interface (DCI) block that provides an inter-
face between the control processor and a discrete output function block operating in a
FOUNDATION fieldbus H1 device (the device function block). The DO block is supported on
the FCP270 and ZCP270 when the H1 device is connected to the control station by an
FBM228. The DO block is configured using the Block Configurator in the InFusion Engineer-
ing Environment (IEE) as described in InFusion Enterprise Control System: Implementing FOUN-
DATION fieldbus in InFusion 2.0 (B0750DA).
NOTE
The DO block functionality described in this chapter is applicable only for
FBM228s with the software type (SWTYPE) of “128”. For a description of the leg-
acy DO block functionality (I/A Series systems v8.4.3 or earlier) where FBM228s
have the SWTYPE of “228”, refer to Appendix D “Legacy DO – Foundation™
fieldbus Discrete Output”.
117
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
4.3 Features
The DO block provides the following features:
♦ Outputs a setpoint value the linked discrete output device function block, and
acquires the block’s primary output value and status for read-back to the control
system
♦ Time stamps value and status changes to the block's output
♦ Accesses the parameters in the device function block’s views using change-driven and
periodic client/server connections
♦ Ensures that changes in the device function block’s process values and error conditions
are continuously available for display and connection to the control strategy
♦ Supports the device block Fault State handling
♦ Provides for configuration of device block parameters from the I/A Series system and
management of the device configuration in the control database
♦ Enables users to set the mode of the device function block to Cascade, Auto, Manual
or Out of Service
♦ Provides alarm reporting for Bad I/O
♦ Supports simulation of device block output within the control station
118
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
119
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
120
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
ALMOPT Alarm Options contain packed long values representing the alarm types
that have been configured as options in the block, and the alarm groups
that are in use. Table 4-2 shows how the parameter is used by the DO
block.
Bit
Number*
(0 to 31) Configured Alarm Option, When True
0 (lsb) Alarm Group 8 in Use
1 Alarm Group 7 in Use
2 Alarm Group 6 in Use
3 Alarm Group 5 in Use
4 Alarm Group 4 in Use
5 Alarm Group 3 in Use
6 Alarm Group 2 in Use
7 Alarm Group 1 in Use
22 Bad I/O Alarm Configured
*Bit 0 is the least significant, low order bit.
ALMSTA Alarm Status is a 32-bit output, bit-mapped to indicate the block’s alarm
states. Table 4-3 shows the bits used by the DO.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
UNAK B2
B3
B4
B5
B6
B7
B8
B9
CRIT PRTYPE
BAD
INH
121
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
Bit Boolean
Number Description, Connection
(0 to 31)* Name When True (B32 to B1)
0 to 4 PTYP_MSK Priority Type: See parameter ---
PRTYPE for values used in the DO
blocks
5 to 7 CRIT_MSK Criticality: 1 (highest priority) to 5 ---
22 BAD Bad I/O Alarm ALMSTA.B10
29 INH Inhibit Alarm. This bit is set when ALMSTA.B3
any of the block’s alarms is inhibited
30 UNAK Unacknowledged ALMSTA.B2
*Bit 0 is the least significant, low order bit.
AMRTIN Alarm Message Regeneration Time Interval specifies the rate at which
alarm messages are generated for alarm conditions that have not been
cleared. The interval is specified in seconds. The configured interval is
rounded up to the closest value that is an even multiple of the station
BPC. A value of 0 disables alarm message regeneration.
AUT_SW Auto Switch is a settable Boolean output used to set the MODE_T
parameter, and thus MODE_BLK.Target in the associated device function
block, to Auto.
BADPRI Bad Alarm Priority is a configurable integer input used to specify the
Alarm Priority to be assigned to Bad Alarms in the block. BADPRI is
settable if unlinked. The range is 1 (highest) to 5 (default).
122
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
BLKERR Block Error is a non-settable, packed Boolean output that contains the
BLOCK_ERR parameter of the associated device function block. Table 4-4
shows the parameter format.
BLKNDX Block Index is a configurable, non-settable long integer that contains the
index of the device function block represented by the DO block. It is set
by the configurator and the FBM uses it to identify the block in the
device.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
FBM228 B13
B14
B15
B16
B17
B18
B19
B20
B21
B24
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
DEVACK B9
FDFAIL
FDACT
FDMM
FDOK
HOLD
UDEF
FBM
TRK
LCK
FFX
BIO
ON
MA
LO
LR
FS
123
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
3 LO The device function block mode is Local BLKSTA.B29
Override
6 TRK Block is being tracked as the device BLKSTA.B26
function block is in Local Override or
Initialization Manual mode
7 HOLD CAS_IN_D value is BAD BLKSTA.B25
8 FBM There is a communication failure BLKSTA.B24
between CP and FBM
10 LR Device block mode is Cascade. BLKSTA.B24
(0 indicates the device block mode is
either Auto or Manual.)
11 MA The device block mode is Auto. BLKSTA.B21
12 BIO Bad I/O BLKSTA.B20
14 UDEF Block is undefined. There is a configura- BLKSTA.B18
tion error
15 ON The compound that contains the block BLKSTA.B17
is ON
16 FFX Enhanced FF block connection BLKSTA.B16
17 FDACT Download active BLKSTA.B15
18 FDFAIL Download failure BLKSTA.B14
19 FBM228 The H1 device is hosted and scheduled BLKSTA.B13
by an FBM228
20 LCK A workstation has locked this block BLKSTA.B12
21 FDOK FDATA installed BLKSTA.B11
22 FDMM FDATA mismatch BLKSTA.B10
23 DEVACK Unacknowledged device alarm BLKSTA.B9
24 FS Fault State has been asserted in the BLKSTA.B8
device function block
*Bit 0 is the least significant, low order bit.
124
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
3 = Connecting Failed
4 = Scheduling Block
5 = Scheduling Failed
6 = Creating Block Connections
7 = Creating Block Connections Failed
8 = Writing Block Parameters
9 = Writing Block Parameters Failed
10 = Block ON-LINE
11 = Block ON-LINE with error - Processing has been completed, but
some step of the processing failed. The block status is reported to CP.
Block state transitions are explained in “Block States” on page 155.
CASIND Cascade Input Discrete is a configurable real input used to specify the
CAS_IN_D parameter of the associated device function block. It is setta-
ble only if Cascade mode is unlinked.
CAS_SW Cascade Switch is a settable output used to set the MODE_T parameter,
and thus MODE_BLK.Target in the associated device function block, to
Cascade.
CASSTS Cascade Input Status is a non-settable, packed Boolean output that con-
tains the CAS_IN_D.Status of the associated device function block. See
Section 4.6.8 for information on .Status.
CRIT Criticality is an integer output that indicates the priority of the block’s
highest currently active alarm. The range is 1 (highest priority) to 5. An
output of 0 indicates the absence of alarms.
125
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
NOTE
This parameter is not supported currently.
DEFINE Define is a data store that indicates the presence or absence of configura-
tion errors. The default is 1 (no configuration errors). When the block
initializes, DEFINE is set to 0 if any configured parameters fail validation
testing. See ERRCODE for a list of all possible validation errors in this
block.
♦ If DEFINE = 0, no further processing of the block occurs,
including further validation of remaining parameters.
♦ To return DEFINE to a True value, correct all configuration errors
and reinstall the block.
♦ If DEFINE = 0, the bit BLKSTA.UDEF = 1.
ERCODE Error Code is a string data store that indicates the type of configuration
error which caused the block’s DEFINE parameter to be set False.
Validation of configuration errors does not proceed past the first error
encountered by the block logic.
Table 4-6 lists the possible error codes for a DO block.
126
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
ERCODE
W43 - INVALID PERIOD/PHASE COMBINATION
W54 - ECB DOES NOT EXIST
W62 - UNRESOLVED CONNECTION
W65 - INVALID POINT ADDRESS
W66 - DUPLICATE CONNECTION
W67 - INSUFFICIENT FBM MEMORY/CONNECTIONS
W68 - INVALID DEVICE CONNECTION
W69 - INVALID POINT CONNECTION
W73 - FF FUNCTION BLOCK CONFIGURATION ERROR
W74 - FF FUNCTION BLOCK DDITEM MISMATCH
W75 - FF FUNCTION BLOCK DDMBR MISMATCH
W76 - INVALID FF MODE CONFIGURATION
W77 - FIELDBUS COMMUNICATION FAULT
W78 - INVALID FUNCTION BLOCK
W79 - INVALID PARAMETER INDEX
W80 - FIELDBUS DEVICE NOT FOUND
W81 - INVALID PARENT DCI ECB PERIOD/PHASE
W82 - FF CONFIGURATION IN PROGRESS
W83 - INVALID FF PARAMETER CONNECTION
W84 - INVALID FF PARAMETER TYPE
W85 - INVALID CONNECTION TYPE
W86 - MAN_ID, DVC_ID, OR DVCREV MISMATCH
FDATA1 File Data #1 and File Data #2 are settable multi-byte arrays that provide
FDATA2 configuration data for the device block represented by the DO block.
This file data is downloaded automatically into the FBM228 when the
FDATA1 parameter is changed in the CP270 via an OM write access
operation. This download also will occur automatically when the CP270
or FBM228 reboots and when the FBM228 is put on-line. The size of
each FDATAn parameter is 255 bytes, for a total array size of 510 bytes.
127
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
FSOPTN Fault State Option is a configurable integer parameter that specifies the
Fault State conditions and action to be taken by the CP and the FBM or
an output point in the corresponding device DO function block:
♦ Bit 0: 1 = Assert Fault State when the CASIND parameter is
sourced by an I/A Series block parameter and the CASIND
is BAD, OOS, or has a broken connection.
Note that ERROPT must be configured nonzero for this
option to take effect.
♦ Bit 1: 1 = Assert Fault State when the CASIND parameter is
sourced by an I/A Series block parameter and the SETFS
input is set/cleared.
♦ Bit 2: 1 = Assert Fault State if control station-to-FBM communi-
cation is lost (FBM option). This option is enabled only
when the CASIND parameter is sourced by an I/A Series
block parameter and the Fault State is enabled at the FBM
level via the FSENAB parameter in the ECB200 or
ECB202.
Bit 0 is the least significant, low order bit. FSOPTN is independent of the
FSTATE_TIME and FSTATE_VAL_D parameters and the
STATUS_OPTS options configured in the corresponding device DO
function block.
FSTIME Fault State Time is a configurable, downloadable, real value used to specify
the FSTATE_TIME parameter of a device function block. See
Section 4.6.9 on page 150.
INHIB Inhibit is a configurable, connectable and settable boolean that, when set,
suppresses all alarm message reporting. INHIB affects only alarm message
reporting; the alarm handling and detection functions are determined by
the INHOPT setting.
INHOPT Inhibit Option specifies the following actions applying to all block alarms:
♦ 0 = When an alarm is inhibited, disables alarm messages but does
not disable alarm detection.
♦ 1 = When an alarm is inhibited, disables both alarm messages and
alarm detection. If an alarm condition exists at the time the alarm
transitions into the inhibited state, the alarm indicator is cleared.
♦ 2 = Same as 0 for inhibited alarms. For uninhibited alarms,
automatically acknowledges “return-to-normal” messages.
“Into alarm” messages can be acknowledged by explicitly setting
UNACK False.
128
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
INHSTA Inhibit Status contains packed long values that represent the current
inhibit status of each alarm type configured in the block. Table 4-7 shows
how parameter is used with the DO block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BAD B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
B9
Bit Boolean
Number* Description, Connection
(0 to 31) Name When True (B32 to B1)
22 BAD Bad I/O Alarm Inhibited INHSTA.B10
*Bit 0 is the least significant, low order bit.
129
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
Bit
Number* Description, When True
15 Invert
14 SP-PV Track in Man
12 SP-PV Track in LO
11 SP Track retained target
9 Fault State to Value
8 Fault State on Restart
7 Target to MAN on FS
6 Use PV for BKCAL_OUT
*Bit 0 is the least significant, low order bit.
LOCKID Lock Identifier is a string identifying the workstation that has locked
access to the block via a successful setting of LOCKRQ. LOCKID has
the format LETTERBUG:DEVNAME, where LETTERBUG is the
6-character letterbug of the workstation and DEVNAME is the 1 to
6-character logical device name of the Display Manager task.
LOCKRQ Lock Request is a Boolean input which can be set True or False only by a
SETVAL command from the LOCK U/L toggle key on workstation dis-
plays. When LOCKRQ is set True in this fashion, a workstation identifier
accompanying the SETVAL command is entered into the LOCKID
parameter of the block. Thereafter, set requests to any of the block’s
parameters are only honored (subject to the usual access rules) from the
workstation whose identifier matches the contents of LOCKID.
LOCKRQ can be set False by any workstation at any time, whereupon a
new LOCKRQ is accepted, and a new ownership workstation identifier is
written to LOCKID.
MAN_SW Manual Switch is a settable Boolean output used to set the MODE_T
parameter, and thus MODE_BLK.Target in the associated device function
block, to Manual.
130
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
OOS_SW Out of Service Switch is a settable Boolean output used to set the
MODE_T parameter, and thus MODE_BLK.Target in the associated
device function block, to Out of Service.
OUT_D Discrete Output is an integer output that contains the OUT_D parameter
of the associated device function block. It is settable only in Manual
mode.
OUTSTS Output Status is a non-settable, packed Boolean output that contains the
OUT_D.Status parameter in the associated device function block. Refer to
“Device Parameter Status” on page 148 for information on .Status.
131
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
PERIOD Period is an indexed input that dictates the block’s execution time base
and allowable PHASE values. PERIOD values range from 0 to 9 and map
to the following period time lengths:
Period Length Period Length
0 0.1 second 5 30 seconds
1 0.5 second* 6 1 minute
2 1.0 second 7 10 minutes
3 2.0 seconds 8 60 minutes
4 10 seconds 9 0.2 second
*If the BPC is 0.2 second, this period is treated internally as 0.6 second,
but the PERIOD parameter remains 1.
PHASE Phase is a zero-based integer input that causes the block to execute at a
specific BPC within the time determined by the PERIOD. For instance,
assuming that the BPC of the I/A Series station is 0.5 second, a block with
a PERIOD of 3 (2.0 seconds) can execute within the first, second, third,
or fourth BPC of the 2-second time period. See Integrated Control Software
Concepts (B0700AG).
PRIBLK Primary Block indicates whether the DO block has a connection from an
upstream block (PRIBLK = 1) or not (PRIBLK = 0). Its value and the
value of PRITIM determine whether the block remains in holding until
the upstream block returns an acknowledgement, remains in holding for a
fixed time delay, or ends the hold after one cycle.
PRITIM Primary Cascade Timer is a configurable parameter used to delay the clos-
ing of the cascade to a primary block when the output is initialized in the
DO block. It is used only if the PRIBLK option is set. Note that PRITM
must be non-zero or the cascade will remain open indefinitely.
PRTYPE Priority Type is an indexed output parameter that indicates the alarm type
of the highest priority active alarm. For the DO block:
0 = No alarm
8 = Bad I/O alarm
PV_D Discrete Process Variable is a non-settable integer output that contains the
PV_D parameter of the associated device function block.
PVSTS Process Variable Status is a non-settable, packed Boolean output that con-
tains the PV_D.Status of the associated device function block. Refer to
“Device Parameter Status” on page 148 for information on .Status.
132
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
SETFS Set Fault State Request is a Boolean parameter that requests Fault State
action to be reset by the FBM or field device for the specific output value
of the block. The settings are:
♦ 1 = set Fault State request
♦ 0 = reset Fault State request.
SP_D Discrete Set Point is a configurable, integer output that is used to specify
the SP_D parameter of the associated device function block. It is settable
only in Auto mode.
SPSTS Set Point Status is a non-settable, packed Boolean output that contains the
SP._DStatus of the associated device function block. Refer to “Device
Parameter Status” on page 148 for information on .Status.
133
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
TYPE Type is the block type. When a DO block is added to the control data-
base, the configurator enters a numeric value of 120 to specify the DO
block type.
134
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
BKCAL_OUT_D
INVERT
Simulation
SP_D PV
CHANNEL
SIMULATE_D
Mode PV Fault
Conversion State
SHED_OPT
FSTATE_TIME READBACK_D
INVERT FSTATE_VAL_D
4.5.1.1 Mode
The device function block supports the following modes:
♦ Man - Manual allows you to set the OUT_D parameter.
♦ Auto - In Auto, the OUT_D parameter reflects the SP_D value.
♦ Cas - Cascade allows the OUT_D parameter to be set by an external source connected
to the CAS_IN_D parameter.
♦ OOS - When the mode is Out of Service, the block is not processed, the output
channel is maintained at the last value, and the status of OUT is set to BAD.
♦ IMan - Initialization Manual indicates that the path to the output hardware is closed.
The output remains at its last value.
♦ LO - Local Override is set when the resource block has been placed in LO or a fault
state is active. In LO, the output of the block does not respond to CAS_IN_D.
4.5.1.2 Setpoint
The source of the Setpoint depends on the block mode as described in Section 4.5.1.1.
4.5.1.4 Output
This value is passed to the device’s transducer block to provide the “setpoint” to the servo-position
circuit that actually manipulates the valve position.
135
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
4.5.1.5 Simulation
When the SIMULATE parameter in the device function block is set, the OUT_D parameter value
is not sent to the device, and the BKCAL_OUT_D can be set an external source such as a hand-
held H1 device for testing. Simulation at the device block level also requires that you set a simula-
tion jumper on the device.
Simulation of the control loop involving a discrete output to an H1 device can be accomplished
entirely within the control station and not involve communication with the H1 devices, as
described in Section 4.6.15.
136
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
The arrow notation is used in Table 4-10, which describes the parameter transforms for the DO
and the related device function block. These are presented in alphabetic order, arranged by the
DO block parameter names.
137
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
138
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
139
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
140
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
141
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
142
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
143
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
144
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
145
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
3. The PVSTS, SPSTS, and OUTSTS parameters are set to Bad OOS.
146
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
The CP270 propagates the BAD, OOS, and ERR status of these input parameters to their corre-
sponding device function block parameters by writing the status to the FBM228 when a change
occurs.
When the Update Source of an input connection is not a device function block parameter, the
BlockName specified in the connection is the name of the I/A Series block; the ParameterName
is the 1-6 character name of the parameter in the I/A Series block.
The CP270 also supports connections to specific inputs in the DO blocks from parameters con-
tained in device function blocks mapped to any standard I/A Series control or I/O block. These
inputs are updated each block cycle from data in the device function block parameter; the data
contained in the specified I/A Series source parameter will not be used. The inputs of this type are
listed in Table 4-12 below.
When the source of an input connection is a device function block parameter, the I/A Series block
connection is made by the CP270, and the source BlockName and ParameterName are extracted
from the connection and appended to a connect message. This message is sent to the FBM228 to
establish a fieldbus connection to the function block source parameter.
When the source of an input connection is a device function block parameter, the BlockName is
the TagName of the device function block, which is the same as the name of the source I/A Series
block. The ParameterName is the 1-6 character name of the parameter in the source I/A Series
block for those connections listed in Table 4-13 below. In these cases, the name of the I/A Series
block parameter is converted to the equivalent function block parameter index by the CP270
prior to appending it to the connect message. In all other cases, the ParameterName must be con-
figured to be the parameter index of the function block parameter.
If the fieldbus connection cannot be made due to an invalid BlockName or ParameterName, the
ERCODE parameter in the block is set to the following text and the block is undefined:
“W83 - INVALID FF PARAMETER CONNECTION”
147
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
Bits Description
0-1 Limits
0 = Not limited
1 = High limited
2 = Low limited
3 = Constant (both high and low limited bits set)
2-5 SubStatus depends on .Quality, as shown in Table 4-15
6-7 Quality:
0 = Bad
1 = Uncertain
2 = Good (non-cascade)
3 = Good (cascade)
Table 4-15 shows how the .SubStatus bits are used given the bits set in .Quality.
148
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
149
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
150
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
the function block. Otherwise, the write message requests the IFS status bit to be cleared.
If the Initiate Fault State if Bad CASIND (Bit 0=1) option is set, the CP270 requests the FBM228
to assert the Fault State when the CASIND parameter is sourced by an I/A Series parameter and
the CASIND is BAD, OOS, or has a broken linkage to the source parameter.
If the Initiate Fault State if SETFS (Bit 1=1) option is set, the CP270 requests the FBM228 to
assert the Fault State when the CASIND parameter is sourced by an I/A Series parameter and the
SETFS parameter is set.
In either of the two latter cases, when the FBM receives an explicit request from the CP to assert
the Fault State, the FBM sets the IFS status bit of the CASIND parameter of the device DO func-
tion block, driving the field output to the FSTATE_VAL_D value configured in the DO block.
These actions are taken independent of the FSENAB option.
In addition, the CP270 requests the FBM228 to assert the Fault State in these cases:
♦ When the I/A Series DO block is deleted, if any of the FSOPTN options are config-
ured in the block.
♦ When the compound containing the I/A Series DO block is deleted, if any of the
FSOPTN options are configured in the block.
♦ When the compound containing the I/A Series DO block is turned off, if any of the
FSOPTN options are configured in the block and the Station block CFGOPT option
Bit 4 is set to 0.
In addition to the Fault State options in the FSOPTN parameter, options may be configured in
the IOOPTS, FSTIME, and FSVAL parameters to specify Fault State actions to be performed in
the device DO function block.
The device Fault State options are designed primarily to deal with communication failures above
the device, while working in concert with ECB options. Enabling Fault State is effective under
two external conditions
♦ When Faultstate is asserted by the connected FBM
♦ When communications to the device are lost and the device DO function block mode
is CAS.
The actual Fault State behavior taken by the device DO function block is specified in the parame-
ters listed in the table below.
I/A Series
Parameter Description
IOOPTS Configures the device block parameter IO_OPTS to enable/disable two
Fault State options:
1) Fault State on Restart: Selecting this option causes the device to go to
the value specified in FSTATE_VAL_D on a device RESTART. If this
option is not selected and the device block can go to its target mode upon
RESTART, the last saved setpoint (SP) is used for generating the Faultstate
position.
2) Fault State to Value: When this option is selected, the block uses the
value specified in FSTATE_VAL_D. When the option is not selected, the
last saved setpoint is used.
151
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
I/A Series
Parameter Description
FSVAL Configures FSTATE_VAL_D in the device DO function block, specifying
the value that is asserted when one of the Fault State options is invoked.
FSTIME Configures FSTATE_TIME in the device DO function block, setting the
period that the fault condition must last before the block asserts the speci-
fied value. A Fault State action does not occur until the FSTATE_TIME
interval has expired.
NOTE
An additional requirement for Fault State handling at the device level is that the
Fault State option must be selected in the device resource block, that is,
(0x4)FaultState must be selected in FEATURE_SEL.
152
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
153
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
When UNACK is cleared, an Alarm Acknowledge message is generated and sent to all devices in
all alarm groups in the block.
Alarm Inhibiting/Disabling is supported using a combination of the compound CINHIB param-
eter and the INHOPT, INHIB, and INHALM parameters in the I/A Series DO block, to allow
the alarm messages to be inhibited and/or alarm detection to disabled dynamically.
When an alarm type is inhibited or disabled, an appropriate Alarm Disable message is generated
and sent to all devices in the alarm group. If the block is unacknowledged, an Alarm Acknowledge
message also is sent to these devices. In addition, the ALMSTA.INHIB bit is set, and the corre-
sponding INHSTA bit is set.
When an alarm type is uninhibited or enabled, an appropriate Alarm Enable message is generated
and sent to all devices in the alarm group. In addition, the ALMSTA.INHIB bit is cleared if no
other alarm in the block is inhibited, and the corresponding INHSTA bit is cleared.
The Alarm Reprioritization and Alarm Message Regeneration (using AMRTIN) enhancements
also are supported in the I/A Series DO block. Refer to the CP270 Integrated Control Concepts
(B0700AG) user document for details.
154
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
4.6.15 Simulation
The I/A Series DO block SIMOPT parameter enables simulation of an discrete input to the con-
trol system from the corresponding device DO function block. This feature can be used to test
control schemes requiring analog inputs without actual FBM228 hardware connections.
When SIMOPT= 1 (True), the status and value of OUT_D are not recovered from the field, but
can be set directly to simulate input from the field.
When simulating (SIMOPT=1), the following functions will be performed:
♦ The CASIND input is stored in the OUT_D output value when the block mode is
Auto.
♦ The OUTSTS output status parameter is set to Good Non-Cascade (0x80).
♦ Changes to the target mode via the mode switches (CAS_SW, AUT_SW, MAN_SW,
or OOS_SW) immediately update the target mode parameter (MODE_T), and the
actual block mode (MODE_A) tracks MODE_T each block cycle.
♦ If the Bad Alarm option is specified (BADOPT =1), bad alarming of the BCALCO
parameter is performed.
When simulating, the following functions are not performed:
♦ Downloading of configuration parameters.
♦ Updating of View data parameters.
♦ Block Error (BLKERR) processing.
♦ External configuration changes to function block parameters.
♦ Configuration Error (CFGERR) processing.
Refer to InFusion Enterprise Control System: Implementing FOUNDATION fieldbus in InFusion 2.0
(B0750DA) or Implementing FOUNDATION fieldbus on the I/A Series System (B0700BA) for
instructions on conducting control simulations from the control station.
BSTATE Value
(Int (Bin)) State Value Description
0 (00000000) Undefined -
1 (00000001) Unconnected A DCI block has been deleted/undeployed
from the CP configuration.
2 (00000010) Connecting A DCI block has been created in the CP;
The FBM is creating the block structures in
an internal FBM database.
155
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
BSTATE Value
(Int (Bin)) State Value Description
3 (00000011) Connecting Failed The FBM can fail to create a new block for a
number of reasons. For example:
- Connection already exists.
- FBM is out of memory
- No block match
- Invalid block
4 (00000100) Scheduling Block Execution A block schedule is being created.
5 (00000101) Scheduling Block Execution A schedule configuration failed. The FBM
Failed could not deploy block or LAS schedule.
Check schedule or schedule configuration.
6 (00000110) Creating Block Connections Publisher/Subscriber connections are being
created.
7 (00000111) Creating Block Connections FBM failed to create block Publisher/Sub-
Failed scriber connections. Check the configura-
tion. This may be a temporary condition
while the FBM is processing other blocks.
8 (00001000) Writing Block Parameters Block parameters are being written to a
device
9 (00001001) Writing Block Parameters FBM failed to write parameters to device
Failed resident block. The block detailed display
“Maintenance” overlay may have more
information. Verify block configuration in
IEE. Use the Field Device Manager to com-
pare configuration data base with device
database.
10 (00001010) Block ON LINE - OK Connection processing has been successful
and data/point connection has been estab-
lished.
11 (00001011) Block ON LINE – Error Processing has been completed, but some
step of the processing failed. The block
detailed display “Maintenance” overlay may
have more information. Also check the
System Manager status information for the
corresponding FF H1 device.
156
4. DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
Each field device connection must be specified by configuring the name of the ECB201 in the
IOM_ID parameter. The device DO function block connection must be specified by configuring
the DO function block index in the BLKNDX parameter.
The device DO function block output values will be available as connectable I/A Series DI block
parameters which can be connected to other blocks to perform additional functions not provided
by the I/A Series DO block.
Figure 4-2 illustrates an example of the DO block’s use in applications.
Parent ECB200/202
PARENT PARENT
IOM_ID IOM_ID
NAME NAME
IOM_ID IOM_ID
NAME NAME
DI Block DO Block
157
B0700EC – Rev B 4. DO – Foundation™ fieldbus Discrete Output
158
5. MAI – FOUNDATION™ fieldbus
Multiple Analog Input
This chapter describes the Multiple Analog Input (MAI) block, which interfaces the control
system with a corresponding multiple analog input function block operating in a
FOUNDATION™ fieldbus H1 device.
5.1 Overview
Multiple Analog Input (MAI) is a Distributed Control Interface (DCI) block that provides an
interface between the control processor and a multiple analog input function block operating in
a FOUNDATION fieldbus H1 device (the device function block). The MAI block is supported
on the FCP270 and ZCP270 when the H1 device is connected to the control station by an
FBM228. The MAI block is configured using the Block Configurator in the InFusion Engi-
neering Environment (IEE) as described in InFusion Enterprise Control System: Implementing
FOUNDATION fieldbus in InFusion 2.0 (B0750DA).
NOTE
The MAI block functionality described in this chapter is applicable only for
FBM228s with the software type (SWTYPE) of “128”. For a description of the leg-
acy MAI block functionality (I/A Series systems v8.4.3 or earlier) where FBM228s
have the SWTYPE of “228”, refer to Appendix E “Legacy MAI – Foundation™
fieldbus Multiple Analog Input”.
1. Device function block parameters are shown in this document in italics. Function blocks may use
different names for these parameters.
159
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
5.3 Features
The MAI block provides the following features:
♦ Acquires the status and value of up to eight published outputs (OUT-1 through OUT-
8) from an multiple analog input (MAI) device function block
♦ Time stamps value and status changes to the eight outputs
♦ Accesses the parameters in the device function block’s Views using change-driven and
periodic client/server connections
♦ Ensures that changes in the device function block’s process values and error conditions
are continuously available for display and connection to the control strategy
♦ Provides for the configuration of selected device block parameters from the I/A Series
system and management of the device configuration in the control database
♦ Enables users to set the mode of the device function block to Auto, Manual or Out of
Service
♦ Provides alarm reporting for Bad I/O for each output
♦ Supports simulation of the MAI device block output values within the control station
160
5. MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
161
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
162
5. MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
ALMOPT Alarm Options contain packed long values representing the alarm options
that have been configured in the block and the alarm groups that are in
use. Table 5-2 shows MAI usage of the parameter.
Bit
Number*
(0 to 31) Configured Alarm Option, When True
0 (lsb) Alarm Group 8 in Use
1 Alarm Group 7 in Use
2 Alarm Group 6 in Use
3 Alarm Group 5 in Use
4 Alarm Group 4 in Use
5 Alarm Group 3 in Use
6 Alarm Group 2 in Use
7 Alarm Group 1 in Use
8 Channel 8
9 Channel 7
10 Channel 6
11 Channel 5
12 Channel 4
13 Channel 3
14 Channel 2
163
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
Bit
Number*
(0 to 31) Configured Alarm Option, When True
15 Channel 1
22 Bad I/O Alarm Configured
*Bit 0 is the least significant, low order bit.
ALMSTA Alarm Status is a 32-bit output, bit-mapped to indicate the block’s alarm
states. Table 5-3 shows the bits used by the MAI block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
1=BAD B17
2=BAD B18
3=BAD B19
4 =BAD B20
5=BAD B21
6=BAD B22
7=BAD B23
8=BAD B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
B9
CRIT
UNAK
PRTYPE
BAD
INH
Bit Boolean
Number Connection
(0 to 31)* Name Description (B32 to B1)
0 to 4 PTYP_MSK Priority Type: See parameter ---
PRTYPE for values used in the MAI
block
5 to 7 CRIT_MSK Criticality: 1 (highest priority) to 5 ---
8 Channel 8 Bad Alarm ALMSTA.B24
9 Channel 7 Bad Alarm ALMSTA.B23
10 Channel 6 Bad Alarm ALMSTA.B22
11 Channel 5 Bad Alarm ALMSTA.B21
12 Channel 4 Bad Alarm ALMSTA.B20
13 Channel 3 Bad Alarm ALMSTA.B19
14 Channel 2 Bad Alarm ALMSTA.B18
15 Channel 1 Bad Alarm ALMSTA.B19
22 BAD Bad I/O Alarm: at least one channel ALMSTA.B10
is not usable
29 INH Inhibit Alarm at least one channel is ALMSTA.B3
inhibited
30 UNAK Unacknowledged: There is at least ALMSTA.B2
one unacknowledged alarm
*Bit 0 is the least significant, low order bit.
164
5. MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
AMRTIN Alarm Message Regeneration Time Interval specifies the rate at which
alarm messages are generated for alarm conditions that have not been
cleared. The interval is specified in seconds. The configured interval is
rounded up to the closest value that is an even multiple of the station
BPC. A value of 0 disables alarm message regeneration.
AUT_SW Auto Switch is a settable Boolean output used to set the MODE_T
parameter, and therefore MODE_BLK.Target in the associated device
function block, to Auto.
BADPRI Bad Alarm Priority is a configurable integer input used to specify the
Alarm Priority to be assigned to Bad Alarms in the block. BADPRI is
settable if unlinked. The range is 1 (highest) to 5 (default).
BLKERR Block Error is a non-settable, packed Boolean output that contains the
BLOCK_ERR parameter of the associated device function block. Table 5-4
shows the parameter format. A given device might not support all bits in
the status word.
165
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
BLKNDX Block Index is a configurable, non-settable long integer that contains the
index of the device function block represented by the MAI block. It is set
by the configurator and the FBM uses it to identify the block in the
device. The index is acquired when the MAI block is bound to a DD
either when the device is templated or the block instance is assigned to a
device instance.
166
5. MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
FBM228 B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
DEVACK B9
FDFAIL
FDACT
FDMM
FDOK
UDEF
FBM
TRK
LCK
FFX
BIO
ON
MA
LO
FS
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
3 LO The device function block mode is Local BLKSTA.B29
Override
6 TRK The block is being tracked as the device BLKSTA.B26
function block is in Local Override or
Initialization Manual mode
8 FBM There is a communication failure BLKSTA.B24
between CP and FBM
11 MA The block mode is Auto BLKSTA.B21
12 BIO Bad I/O: at least one channel is Bad BLKSTA.B20
14 UDEF The block is undefined BLKSTA.B18
15 ON The compound that contains the block BLKSTA.B17
is ON
16 FFX Enhanced FF block connection BLKSTA.B16
17 FDACT Download active BLKSTA.B15
18 FDFAIL Download failure BLKSTA.B14
19 FBM228 The H1 device is hosted and scheduled BLKSTA.B13
by an FBM228
20 LCK A workstation has locked this block BLKSTA.B12
21 FDOK FDATA installed BLKSTA.B11
22 FDMM FDATA mismatch BLKSTA.B10
23 DEVACK Unacknowledged device alarm BLKSTA.B9
24 FS Fault State has been asserted in the BLKSTA.B8
device function block
* Bit 0 is the least significant, low order bit.
167
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
168
5. MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
CHMASK does not affect any device function block settings. Table 5-7
shows the parameter format.
CRIT Criticality is an integer output that indicates the priority of the block’s
highest currently active alarm. The range is 1 (highest priority) to 5. An
output of 0 indicates the absence of alarms.
DEFINE Define is a data store that indicates the presence or absence of configura-
tion errors. The default is 1 (no configuration errors). When the block
initializes, DEFINE is set to 0 if any configured parameters fail validation
testing. See “ERCODE” on page 170 for a list of all possible validation
errors in this block.
♦ If DEFINE = 0, no further processing of the block occurs,
including further validation of remaining parameters.
♦ To return DEFINE to a True value, correct all configuration errors
and reinstall the block.
♦ If DEFINE = 0, the bit BLKSTA.UDEF = 1.
169
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
NOTE
This parameter is not supported currently.
EO1 Engineering Units for Output 1 specifies the engineering units text for all
OUTn parameters in the MAI block. The value configured for this text
string should be consistent with the values used for HSCO1 and LSCO1.
In the MAI block, EO1, HSCO1 and LSCO1 are used for scaling the
outputs in detail displays and other I/A Series system uses. These parame-
ter do not configure units and scaling in the device function block. How-
ever, they should reflect the device scaling.
ERCODE Error Code is a string data store that indicates the type of configuration
error which caused the block’s DEFINE parameter to be set False.
Validation of configuration errors does not proceed past the first error
encountered by the block logic.
Table 5-8 lists the possible values of ERCODE for the MAI block.
170
5. MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
ERCODE
W43 - INVALID PERIOD/PHASE COMBINATION
W44 - INVALID ENGINEERING RANGE
W54 - ECB DOES NOT EXIST
W62 - UNRESOLVED CONNECTION
W65 - INVALID POINT ADDRESS
W66 - DUPLICATE CONNECTION
W67 - INSUFFICIENT FBM MEMORY/CONNECTIONS
W68 - INVALID DEVICE CONNECTION
W69 - INVALID POINT CONNECTION
W73 - FF FUNCTION BLOCK CONFIGURATION ERROR
W74 - FF FUNCTION BLOCK DDITEM MISMATCH
W75 - FF FUNCTION BLOCK DDMBR MISMATCH
W76 - INVALID FF MODE CONFIGURATION
W77 - FIELDBUS COMMUNICATION FAULT
W78 - INVALID FUNCTION BLOCK
W79 - INVALID PARAMETER INDEX
W80 - FIELDBUS DEVICE NOT FOUND
W81 - INVALID PARENT DCI ECB PERIOD/PHASE
W82 - FF CONFIGURATION IN PROGRESS
W83 - INVALID FF PARAMETER CONNECTION
W84 - INVALID FF PARAMETER TYPE
W85 - INVALID CONNECTION TYPE
W86 - MAN_ID, DVC_ID, OR DVCREV MISMATCH
FDATA1 File Data #1 and File Data #2 are settable multi-byte arrays that provide
FDATA2 configuration data for the device block represented by the MAI block.
This file data is downloaded automatically into the FBM228 when the
FDATA1 parameter is changed in the CP270 via an OM write access
operation. This download also will occur automatically when the CP270
or FBM228 reboots and when the FBM228 is put on-line. The size of
each FDATAn parameter is 255 bytes, for a total array size of 510 bytes.
HSCO1 Output High Scale specifies the high scale value for OUTn parameters in
the MAI block. The value configured for HSCO1 should be consistent
with the values used for EO1 and LSCO1. In the MAI block, EO1,
HSCO1 and LSCO1 are used for scaling the outputs in detail displays
171
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
and other I/A Series system uses. These parameter do not configure units
and scaling in the device function block. However, they should reflect the
device scaling.
INHALM Inhibit Alarm contains packed Boolean values that represent alarm gener-
ation-inhibit requests for each type of alarm configured in the block.
Table 5-9 shows how the bits are used by the MAI block.
Bit Boolean
Number* Connection
(0 to 15) BAD Alarm Inhibited When True (B16 to B1)
8 Channel 1 INHALM.B8
9 Channel 2 INHALM.B7
10 Channel 3 INHALM.B6
11 Channel 4 INHALM.B5
12 Channel 5 INHALM.B4
13 Channel 6 INHALM.B3
14 Channel 7 INHALM.B2
15 Channel 8 INHALM.B1
*Bit 0 is the least significant, low order bit.
There are no mnemonic names for the individual bits of INHALM.
INHIB Inhibit is a configurable, connectable and settable boolean that, when set,
suppresses all alarm message reporting. INHIB affects only alarm message
reporting; the alarm handling and detection functions are determined by
the INHOPT setting.
INHOPT Inhibit Option specifies the following actions applying to all block alarms:
♦ 0 = When an alarm is inhibited, disables alarm messages but does
not disable alarm detection.
♦ 1 = When an alarm is inhibited, disables both alarm messages and
alarm detection. If an alarm condition exists at the time the alarm
transitions into the inhibited state, the alarm indicator is cleared.
♦ 2 = Same as 0 for inhibited alarms. For uninhibited alarms,
automatically acknowledges “return-to-normal” messages.
“Into alarm” messages can be acknowledged by explicitly setting
UNACK False.
♦ 3 = Same as 1 for inhibited alarms. For uninhibited alarms,
automatically acknowledges “return-to-normal” messages.
“Into alarm” messages can be acknowledged by explicitly setting
UNACK False.
172
5. MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
INHSTA Inhibit Status contains packed long values that represent the current
inhibit status of each alarm type configured in the block. Table 5-10
shows how parameter is used with the MAI block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
CH8 B1
CH7 B2
CH6 B3
CH5 B4
CH4 B5
CH3 B6
CH2 B7
CH1 B8
B9 Table 5-10. INHSTA Parameter Format
Bit Boolean
Number* Description, Connection
(0 to 31) When True (B32 to B1)
24 Channel 1 alarms inhibited INHSTA.B8
25 Channel 2 alarms inhibited INHSTA.B7
26 Channel 3 alarms inhibited INHSTA.B6
27 Channel 4 alarms inhibited INHSTA.B5
28 Channel 5 alarms inhibited INHSTA.B4
29 Channel 6 alarms inhibited INHSTA.B3
30 Channel 7 alarms inhibited INHSTA.B2
31 Channel 8 alarms inhibited INHSTA.B1
*Bit 0 is the least significant, low order bit.
LOCKID Lock Identifier is a string identifying the workstation that has locked
access to the block via a successful setting of LOCKRQ. LOCKID has
173
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
LOCKRQ Lock Request is a Boolean input which can be set True or False only by a
SETVAL command from the LOCK U/L toggle key on workstation dis-
plays. When LOCKRQ is set True in this fashion, a workstation identifier
accompanying the SETVAL command is entered into the LOCKID
parameter of the block. Thereafter, set requests to any of the block’s
parameters are only honored (subject to the usual access rules) from the
workstation whose identifier matches the contents of LOCKID.
LOCKRQ can be set False by any workstation at any time, whereupon a
new LOCKRQ is accepted, and a new ownership workstation identifier is
written to LOCKID.
LSCO1 Output Low Scale specifies the low scale value for OUTn parameters in
the MAI block. The value configured for LSCO1 should be consistent
with the values used for EO1 and HSCO1. In the MAI block, EO1,
HSCO1 and LSCO1 are used for scaling the outputs in detail displays
and other I/A Series system uses. These parameter do not configure units
and scaling in the device function block. However, they should reflect the
device scaling.
MAN_SW Manual Switch is a settable output used to set the MODE_T parameter,
and therefore MODE_BLK.Target in the associated device function block,
to Manual.
174
5. MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
OOS_SW Out of Service Switch is a settable output used set the MODE_T parame-
ter, and therefore MODE_BLK.Target in the associated device function
block, to Out of Service.
PERIOD Period is an indexed input that dictates the block’s execution time base
and allowable PHASE values. PERIOD values range from 0 to 9 and map
to the following period time lengths:
Period Length Period Length
0 0.1 second 5 30 seconds
1 0.5 second* 6 1 minute
2 1.0 second 7 10 minutes
3 2.0 seconds 8 60 minutes
4 10 seconds 9 0.2 second
* If the BPC is 0.2 second, this period is treated internally as
0.6 second, but the PERIOD parameter remains 1.
PHASE Phase is a zero-based integer input that causes the block to execute at a
specific BPC within the time determined by the PERIOD. For instance,
assuming that the BPC of the I/A Series station is 0.5 second, a block with
a PERIOD of 3 (2.0 seconds) can execute within the first, second, third,
175
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
or fourth BPC of the 2-second time period. See Integrated Control Software
Concepts (B0700AG).
PRTYPE Priority Type is an indexed output parameter that indicates the alarm type
of the highest priority active alarm. For the MAI block:
0 = No alarm
8 = Bad I/O alarm.
RO1 Range Output 1 is a real array consisting of the two parameters: HSCO1
and LSCO1. The array members are configured by their individual
names; however, RO1 and its members can be accessed on an array basis
by user tasks and displays.
176
5. MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
TYPE Type is the block type. When an MAI block is added to the control data-
base, the configuration editor enters a numeric value of 35 to specify the
MAI block type.
PV_n
(n = 1 to 8)
CHANNEL
Outputs
OUT_n
(n = 1 o 8)
Mode Alarms
BLOCK_ALM
5.5.1.1 Mode
The device function block supports three selectable modes:
177
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
♦ In Auto mode, the block’s output parameters (OUT_1 to OUT_8) reflect the process
variables’ (PV_1 to PV_8) values and status.
♦ In Manual, the OUT_n parameter can be set manually and the OUT_n.Status reflects
the mode.
♦ In OOS (out of service), the block values are not updated and the status of OUT_n is
set to BAD. In OOS, changes can be made to configured parameters.
5.5.1.2 Status
The device function block provides an eight-bit status for each output value, using the standard
function block value status, which is further parsed in to .Quality, .SubStatus, and .Limits bits.
The .SubStatus bits in this block are device-specific. Refer to “Device Parameter Status” on
page 185 for use of the bits.
5.5.1.3 Alarms
The BLOCK_ALM parameter is used for all configuration, hardware connection, and system
problems in the block.
The I/A Series system does not use the alarm features provided by the device blocks, but rather
provides alarm handling and error reporting options in the I/A Series MAI block. The MAI block
enables BAD alarming using standard I/A Series alarm parameters (see Section 5.6.8).
178
5. MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
The arrow notation is used in the Table 5-11 descriptions of MAI parameter transforms. These
are presented in alphabetic order, arranged by the MAI block parameter names.
When AUT_SW = 1:
Set MODE_T (request) = AUTO
MAN_SW=0, OOS_SW=0
Write MODE_T (request) to FBM
BLKERR BLOCK_ERR
BLKERR.value ← BLOCK_ERR
BLKERR.status.OOS ← CP to FBM communication is failed or FBM is Off-Line
BLKSTA MODE_BLK.Actual
BLKSTA.status.OOS ← MODE_BLK.Actual.OOS
BLKSTA.TRK ← MODE_BLK.Actual.IMAN or LO
BLKSTA.LO ← MODE_BLK.Actual.LO
BLKSTA.MA=0 ← MODE_BLK.Actual.MAN
BLKSTA.MA=1 ← MODE_BLK.Actual.AUTO
BLKSTA.FBM ← CP-FBM communication is failed
BLKSTA.BIO ← Any OUTn.Status.Bad (Bits 6-7=0), n=1-8
CHANNL ↔ CHANNEL
HSCO1 ↔ OUT_SCALE.@100%
LSCO1 ↔ OUT_SCALE.@0%
MAN_SW MODE_BLK.Target
When MAN_SW =1:
Set MODE_T (request) = MAN
AUT_SW=0, OOS_SW=0
Write MODE_T (request) to FBM
MODE_A MODE_BLK.Actual
MODE_A.value ← MODE_BLK.Actual
MODE_N ↔ MODE_BLK.Normal
MODE_P ↔ MODE_BLK.Permitted
179
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
PVn.value ←OUT_n.Value
PVn.status.LHI ← OUT_n.Status.Limited Hi (Bit 0)
PVn.status.LLO ← OUT_n.Status.Limited Lo (Bit 1)
PVn.status.ERR ← OUT_n.Status.Uncertain (Bits 6-7=1)
PVn.status.BAD ← OUT_n.Status.Bad (Bits 6-7=0)
or CP-FBM communication failure
or H1 device is Failed or Disabled.
PVn.status.OOS ← OUT_n.Status.Bad (Bits 6-7=0) and Substatus.OOS (bits2-5=
7),
or Compound is Off
or FBM228 is Off-Line or DCI Not Ready
or H1 Device is Failed or Disabled
or CP-FBM communication failure
or DCI_COMM_DATA.connect_status <= 0
PVFTIM ↔ PV_FTIME
STRATG ↔ STRATEGY
180
5. MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
181
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
The CHMASK parameter is used to specify which of the eight device block outputs are to be pro-
cessed by the MAI block. CHMASK does not affect any settings in the device function block.
The BLKSTA parameter is used to specify the current block operational states.
To assign function blocks to their device, refer to “Assign the Function Blocks to a Device” in
InFusion Enterprise Control System: Implementing FOUNDATION fieldbus in InFusion 2.0
(B0750DA).
182
5. MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
When the MAI block initializes, the following block validation tests are performed:
♦ If the high range value (HSCO1) is not less than the low range value (LSCO1), the
block is marked undefined (BLKSTA.UDEF=1) with the error code parameter
(ERCODE) set to “W44 - INVALID ENGINEERING RANGE”.
♦ If the Target mode (MODE_T) or the Permitted mode (MODE_P) is not Auto,
Manual or Out-of-Service, the block is marked undefined (BLKSTA.UDEF=1) with
the error code parameter (ERCODE) set to “W76 - INVALID FF MODE
CONFIGURATION”.
If the FBM simulation is not used (SIMOPT=0), the following validation tests are performed:
♦ If the MAI block is installed prior to the installation of the ECB201 block, it is
marked undefined (BLKSTA.UDEF=1) with the error code parameter (ERCODE)
set to “W54 - ECB DOES NOT EXIST”. In this case, the MAI block configuration
is restarted and re-validated automatically when the ECB201 is installed.
♦ An attempt is made to connect the MAI block to the ECB201 specified in the
IOM_ID parameter. The DCI connection address (i.e., the NAME parameter in the
MAI block) is used in a connect message to establish a block connection in the
FBM228. The CHMASK parameter is embedded in the connect message to indicate
which of the 1-8 input channels are to be enabled.
♦ If the data connection cannot be resolved due to a lack of configuration information,
a block connection is made in the FBM, the connection status is marked Unresolved,
and one of the following error strings is stored in the block ERCODE parameter:
♦ “W62 - UNRESOLVED CONNECTION”
♦ “W77 - FIELDBUS COMMUNICATIONS FAULT”
♦ “W78 - INVALID FUNCTION BLOCK”
♦ “W80 - FIELDBUS DEVICE NOT FOUND”
♦ “W82 - FF CONFIGURATION IN PROGRESS”
(In these cases, the MAI block is defined, but the output values are marked OOS.)
♦ “W73 - FF FUNCTION BLOCK CONFIGURATION ERROR”
(In this case, the MAI block is defined, and the index of the invalid function block
parameter is stored in the CFGERR parameter.)
♦ If the MAI data connection cannot be made for any other reason, the FBM rejects the
connection request and one of the following error strings is stored in the ERCODE
parameter to indicate the reason for the connection error:
♦ “W65 - INVALID POINT ADDRESS”
♦ “W66 - DUPLICATE CONNECTION”
♦ “W67 - INSUFFICIENT FBM MEMORY/CONNECTIONS”
♦ “W68 - INVALID DEVICE CONNECTION”
♦ “W69 - INVALID POINT CONNECTION”
♦ “W74 - FF FUNCTION BLOCK DDITEM MISMATCH”
♦ “W75 - FF FUNCTION BLOCK DDMBR MISMATCH”
♦ “W76 - INVALID FF MODE CONFIGURATION”
♦ “W79 - INVALID PARAMETER INDEX”
183
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
184
5. MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
♦ The Limited High (Bit 0) and Limited Low (Bit 1) fields are mapped onto the LHI,
LLO status bits, respectively.
Bits Description
0-1 Limits
0 = Not limited
1 = High limited
2 = Low limited
3 = Constant (both high and low limited bits set)
2-5 Refer to the device documentation
6-7 Quality
0 = Bad
1 = Uncertain
2 = Good (non-cascade)
3 = Good (cascade)
Table 5-14 shows the usage of the Substatus bits, which varies depending on which .Quality bits
are set.
Table 5-14. Device Parameter Substatus
185
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
186
5. MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
187
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
♦ The OUTST1-OUTST8 status parameters and the value status of the OUT1-OUT8
parameters are updated from data received in the reply to the read message. The
CHMASK parameter is used to determine which outputs to process.
♦ The PV_D1-PV_D8 input parameter values are updated from data received in the
reply to the read message. The CHMASK parameter is used to determine which
inputs to process.
♦ Configuration parameters that have changed since the previous block cycle are
downloaded.
♦ Other View data parameters are updated, if any changes in these parameters have
occurred since the previous block cycle.
♦ Block Error (BLKERR) processing begins.
♦ External configuration changes to function block parameters are propagated.
♦ Configuration Error (CFGERR) processing begins.
♦ If BADOPT=1, Bad Alarming of the inputs is performed.
When the Actual block mode is Auto, the following is performed:
♦ The OUT1-OUT8 output parameter values and status are updated from data
received in the reply to the read message. The CHMASK parameter is used to deter-
mine which outputs to process.
When the Actual block mode is Manual, the operator is allowed to set any of the OUT1-OUT8
output parameter values directly via an OM set operation. When any of these parameters are
changed in the CP, the new values are sent to the FBM228 which, in turn, updates the corre-
sponding function block parameters in the field device.
188
5. MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
189
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
When all point values have returned to good status, BAD, CRIT, PRTYPE and their correspond-
ing fields in ALMSTA are cleared.
The UNACK parameter and the ALMSTA.UNACK bit are cleared in these cases:
♦ When the alarm is acknowledged at the compound level, by setting the compound
UNACK=0, or at the block level, by setting the block UNACK=0.
♦ When all point values return to normal, if INHOPT is set appropriately.
♦ When the block is shut down.
When UNACK is cleared, an Alarm Acknowledge message is generated and sent to all devices in
the bad alarm group.
Alarm Inhibiting/Disabling is supported using a combination of the compound CINHIB param-
eter and the INHOPT, INHIB, and INHALM parameters in the MAI block, to allow the bad
alarm messages to be inhibited and/or the alarm detection to disabled dynamically.
The INHALM parameter can be used to inhibit or disable bad alarming selectively for any group
of the 1-8 points.
When Bad alarming is inhibited or disabled, an Alarm Disable message is generated and sent to all
devices in the alarm group. If the Alarm is unacknowledged, an Alarm Acknowledge message also
is sent to these devices. The ALMSTA.INHIB bit is set, and the appropriate INHSTA.BAD bits
are set.
When Bad alarming is uninhibited or enabled, an Alarm Enable message is generated and sent to
all devices in the alarm group. The appropriate BAD bits in the INHSTA parameter are cleared,
and the ALMSTA.INHIB bit is cleared if all channels are uninhibited or enabled.
The Alarm Reprioritization and Alarm Message Regeneration (using AMRTIN) enhancements
also are supported in this MAI block. Refer to the Control Processor 270 (CP270) Integrated Con-
trol Software Concepts (B0700AG) for details.
190
5. MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
♦ A write message is sent to the FBM228 with both the OOS and IMAN bits set in
the Target mode. The IMAN bit is set to indicate to the FBM228 that the com-
pound is off.
♦ Otherwise, a write message is sent to the FBM228 with only the OOS bit set in
the Target mode.
2. Otherwise, the following action is taken:
♦ A write message is sent to the FBM228 with both the current state and the IMAN
bits set in the Target mode. The IMAN bit is set to indicate to the FBM228 that
the compound is off.
5.6.13 Simulation
The I/A Series MAI block SIMOPT parameter enables simulation of multiple analog inputs to
the control system from the corresponding multiple analog input device function block. This fea-
ture can be used to test control schemes requiring analog inputs without actual FBM228 hard-
ware connections.
When SIMOPT= 1 (True), the status and value of OUTn are not recovered from the field, but
can be set directly to simulate input from the field.
When simulating (SIMOPT=1), the following functions will be performed:
♦ The PVn inputs are settable and are stored to the OUTn output values when the
block mode is Auto. The CHMASK parameter will be used to determine which out-
puts to process.
♦ The OUTSTn output status parameters are set to Good Non-Cascade (0x80).
♦ Changes to the target mode via the mode switches (AUT_SW, MAN_SW, or
OOS_SW) immediately update target mode parameter (MODE_T), and the actual
block mode (MODE_A) tracks MODE_T each block cycle.
♦ If BADOPT=1, Bad Alarming of the inputs is performed.
When simulating, the following functions are not performed:
♦ Downloading of configuration parameters.
♦ Updating of View data parameters.
♦ Block Error (BLKERR) processing.
♦ External configuration changes to function block parameters.
♦ Configuration Error (CFGERR) processing.
Refer to InFusion Enterprise Control System: Implementing FOUNDATION fieldbus in InFusion 2.0
(B0750DA) or Implementing FOUNDATION fieldbus on the I/A Series System (B0700BA) for
instructions on conducting control simulations from the control station.
191
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
BSTATE Value
(Int (Bin)) State Value Description
0 (00000000) Undefined -
1 (00000001) Unconnected A DCI block has been deleted/undeployed
from the CP configuration.
2 (00000010) Connecting A DCI block has been created in the CP;
The FBM is creating the block structures in
an internal FBM database.
3 (00000011) Connecting Failed The FBM can fail to create a new block for a
number of reasons. For example:
- Connection already exists.
- FBM is out of memory
- No block match
- Invalid block
4 (00000100) Scheduling Block Execution A block schedule is being created.
5 (00000101) Scheduling Block Execution A schedule configuration failed. The FBM
Failed could not deploy block or LAS schedule.
Check schedule or schedule configuration.
6 (00000110) Creating Block Connections Publisher/Subscriber connections are being
created.
7 (00000111) Creating Block Connections FBM failed to create block Publisher/Sub-
Failed scriber connections. Check the configura-
tion. This may be a temporary condition
while the FBM is processing other blocks.
8 (00001000) Writing Block Parameters Block parameters are being written to a
device
9 (00001001) Writing Block Parameters FBM failed to write parameters to device
Failed resident block. The block detailed display
“Maintenance” overlay may have more
information. Verify block configuration in
IEE. Use the Field Device Manager to com-
pare configuration data base with device
database.
10 (00001010) Block ON LINE - OK Connection processing has been successful
and data/point connection has been estab-
lished.
11 (00001011) Block ON LINE – Error Processing has been completed, but some
step of the processing failed. The block
detailed display “Maintenance” overlay may
have more information. Also check the
System Manager status information for the
corresponding FF H1 device.
192
5. MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
Parent ECB200/202
PARENT PARENT
IOM_ID IOM_ID
NAME NAME
IOM_ID
NAME
193
B0700EC – Rev B 5. MAI – Foundation™ fieldbus Multiple Analog Input
194
6. MAO - FOUNDATION™ fieldbus
Multiple Analog Output
This chapter describes the Multiple Analog Output (MAO) block, which interfaces the control
system with a corresponding multiple analog output function block operating in a
FOUNDATION™ fieldbus H1 device.
6.1 Overview
Multiple Analog Output (MAO) is a Distributed Control Interface (DCI) block that provides
an interface between the control processor and a multiple analog output function block operat-
ing in a FOUNDATION fieldbus H1 device (the device function block). The MAO block is sup-
ported on the FCP270 and ZCP270 when the H1 device is connected to the control station by
an FBM228. The MAO block is configured using the Block Configurator in the InFusion
Engineering Environment (IEE) as described in InFusion Enterprise Control System: Implement-
ing FOUNDATION fieldbus in InFusion 2.0 (B0750DA).
NOTE
The MAO block functionality described in this chapter is applicable only for
FBM228s with the software type (SWTYPE) of “128”. For a description of the leg-
acy MAO block functionality (I/A Series systems v8.4.3 or earlier) where FBM228s
have the SWTYPE of “228”, refer to Appendix F “Legacy MAO – Foundation™
fieldbus Multiple Analog Output”.
1. Device function block parameters are shown in this document in italics. Function blocks may use
different names for these parameters.
195
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
parameters are displayed in the block detail displays and are available for connection to other I/A
Series blocks.
6.3 Features
The MAO block provides the following features:
♦ Provides up to eight analog outputs (IN_1 through IN_8) to the linked device func-
tion block
♦ Acquires the value and status of the device block outputs
♦ Time stamps changes to the value and status of the device block outputs
♦ Accesses the parameters in the device function block’s Views using change-driven and
periodic client/server connections
♦ Ensures that changes in a device’s process values and error conditions are continuously
available for display and connection to the control strategy
♦ Provides for the configuration of device block parameters from the I/A Series system
and management of the device configuration in the control database
♦ Enables users to set the mode of the device function block to Auto or Out of Service
♦ Provides alarm detection and reporting for Bad I/O
♦ Supports simulation of device block outputs within the control station.
196
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
197
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
198
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
ALMOPT The Alarm Options parameter contains packed long values representing
the alarm types that have been configured as options in the block (based
on BADOPT which enables Bad Alarming and CHMASK which identi-
fies which channels are to be processed by the block), and the alarm
groups that are in use. Table 6-2 shows how the parameter is used by the
MAO block.
Bit Number*
(0 to 31) Configured Alarm Option, When True
0 (lsb) Alarm Group 8 in Use
1 Alarm Group 7 in Use
2 Alarm Group 6 in Use
3 Alarm Group 5 in Use
4 Alarm Group 4 in Use
5 Alarm Group 3 in Use
6 Alarm Group 2 in Use
7 Alarm Group 1 in Use
8 Channel 8 option
9 Channel 7 option
199
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
Bit Number*
(0 to 31) Configured Alarm Option, When True
10 Channel 6 option
11 Channel 5 option
12 Channel 4 option
13 Channel 3 option
14 Channel 2 option
15 Channel 1 option
22 Bad I/O Alarm Configured
*Bit 0 is the least significant, low order bit.
ALMSTA Alarm Status is a 32-bit output, bit-mapped to indicate the block’s alarm
states. Table 6-3 shows the bits used by the function blocks.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
CH1 Bad B17
CH2 Bad B18
CH3 Bad B19
CH4 Bad B20
CH5 Bad B21
CH6 Bad B22
CH7 Bad B23
CH8 Bad B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
B9
CRIT PRTYPE
UNAK
HMA
LMA
BAD
INH
Bit Boolean
Number Description, Connection
(0 to 31)* Name When True (B32 to B1)
0 to 4 PTYP_MSK Priority Type: See parameter PRTYPE ---
for values used in the blocks
5 to 7 CRIT_MSK Criticality: 1 (highest priority) to 5 ---
8 Channel 8 BAD alarm ALMSTA.B24
9 Channel 7 BAD alarm ALMSTA.B23
10 Channel 6 BAD alarm ALMSTA.B22
11 Channel 5 BAD alarm ALMSTA.B21
12 Channel 4 BAD alarm ALMSTA.B20
13 Channel 3 BAD alarm ALMSTA.B19
14 Channel 2 BAD alarm ALMSTA.B18
15 Channel 1 BAD alarm ALMSTA.B17
200
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
Bit Boolean
Number Description, Connection
(0 to 31)* Name When True (B32 to B1)
22 BAD Bad I/O Alarm. ALMSTA.B10
Set when any IN_n.Status.Bad=1
Cleared when all IN_n.Status.Bad = 0
29 INH Inhibit Alarm. This bit is set when any ALMSTA.B3
of the alarms for any channel is inhib-
ited
30 UNAK Unacknowledged ALMSTA.B2
*Bit 0 is the least significant, low order bit.
AMRTIN Alarm Message Regeneration Time Interval specifies the rate at which
alarm messages are generated for alarm conditions that have not been
cleared. The interval is specified in seconds. The configured interval is
rounded up to the closest value that is an even multiple of the station
BPC. A value of 0 disables alarm message regeneration.
AUT_SW Auto Switch is a settable Boolean output used to set MODE_T, and thus
MODE_BLK.Target in the associated device function block, to Auto.
BADPRI Bad Alarm Priority is a configurable integer input used to specify the
Alarm Priority to be assigned to Bad Alarms in the block. BADPRI is
settable if unlinked. The range is 1 (highest) to 5 (default).
BLKERR Block Error is a non-settable, packed Boolean output that contains the
BLOCK_ERR parameter of the associated device function block. Table 6-4
shows the parameter format.
201
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
BLKNDX Block Index is a configurable, non-settable long integer that contains the
index of the device function block represented by the MAO block. It is set
by the configurator and the FBM uses it to identify the block in the
device.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
FBM228 B13
B14
B15
B16
B17
B18
B19
B20
B21
B24
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
DEVACK B9
FDFAIL
FDACT
FDMM
HOLD
FDOK
UDEF
FBM
TRK
LCK
FFX
BIO
ON
MA
LO
LR
FS
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
3 LO The device function block mode is Local Override BLKSTA.B29
6 TRK The block is being tracked as the device function BLKSTA.B26
block is in Local Override or Initialization Manual
mode
202
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
8 FBM There is a communication failure between BLKSTA.B24
CP and FBM
11 MA The device block mode is Auto BLKSTA.B21
12 BIO Bad I/O: at least one channel is bad BLKSTA.B20
14 UDEF Block is undefined. See DEFINE, ERCODE, and BLKSTA.B18
CFGERR
15 ON The compound that contains the block is ON BLKSTA.B17
16 FFX Enhanced FF block connection BLKSTA.B16
17 FDACT Download active BLKSTA.B15
18 FDFAIL Download failure BLKSTA.B14
19 FBM228 The H1 device is hosted and scheduled by an BLKSTA.B13
FBM228
20 LCK A workstation has locked this block BLKSTA.B12
21 FDOK FDATA installed BLKSTA.B11
22 FDMM FDATA mismatch BLKSTA.B10
23 DEVACK Unacknowledged device alarm BLKSTA.B9
24 FS Fault state BLKSTA.B8
* Bit 0 is the least significant, low order bit.
203
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
204
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
CRIT Criticality is an integer output that indicates the priority of the block’s
highest currently active alarm. The range is 1 (highest priority) to 5. An
output of 0 indicates the absence of alarms.
DEFINE Define is a data store that indicates the presence or absence of configura-
tion errors. The default is 1 (no configuration errors). When the block
initializes, DEFINE is set to 0 if any configured parameters fail validation
testing. See “ERCODE” on page 206 for a list of all possible validation
errors in this block.
♦ If DEFINE = 0, no further processing of the block occurs,
including further validation of remaining parameters.
♦ To return DEFINE to a True value, correct all configuration errors
and reinstall the block.
♦ If DEFINE = 0, the bit BLKSTA.UDEF = 1.
EO1 Engineering Units for Output 1 specifies the engineering units text for the
block’s eight outputs (IN_n) in detail displays and other I/A Series system
205
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
uses. The limit should be consistent with the display range parameters,
LSCO1 and HSCO1.
This parameter does not affect scaling in the device function block. Refer
to the device documentation for scaling information. EO1 should be con-
sistent with the engineering units used by the connected devices.
ERCODE Error Code is a string data store that indicates the type of configuration
error which caused the block’s DEFINE parameter to be set False.
Validation of configuration errors does not proceed past the first error
encountered by the block logic.
Table 6-8 lists the possible values of ERCODE for the MAO block, and
the significance of each value in this block.
ERCODE
W43 - INVALID PERIOD/PHASE COMBINATION
W44 - INVALID ENGINEERING RANGE
W54 - ECB DOES NOT EXIST
W62 - UNRESOLVED CONNECTION
W65 - INVALID POINT ADDRESS
W66 - DUPLICATE CONNECTION
W67 - INSUFFICIENT FBM MEMORY/CONNECTIONS
W68 - INVALID DEVICE CONNECTION
W69 - INVALID POINT CONNECTION
W73 - FF FUNCTION BLOCK CONFIGURATION ERROR
W74 - FF FUNCTION BLOCK DDITEM MISMATCH
W75 - FF FUNCTION BLOCK DDMBR MISMATCH
W76 - INVALID FF MODE CONFIGURATION
W77 - FIELDBUS COMMUNICATION FAULT
W78 - INVALID FUNCTION BLOCK
W79 - INVALID PARAMETER INDEX
W80 - FIELDBUS DEVICE NOT FOUND
W81 - INVALID PARENT DCI ECB PERIOD/PHASE
W82 - FF CONFIGURATION IN PROGRESS
W83 - INVALID FF PARAMETER CONNECTION
W84 - INVALID FF PARAMETER TYPE
W85 - INVALID CONNECTION TYPE
W86 - MAN_ID, DVC_ID, OR DVCREV MISMATCH
206
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
FDATA1 File Data #1 and File Data #2 are settable multi-byte arrays that provide
FDATA2 configuration data for the device block represented by the MAO block.
This file data is downloaded automatically into the FBM228 when the
FDATA1 parameter is changed in the CP270 via an OM write access
operation. This download also will occur automatically when the CP270
or FBM228 reboots and when the FBM228 is put on-line. The size of
each FDATAn parameter is 255 bytes, for a total array size of 510 bytes.
FSOPTN Fault State Option is a configurable integer parameter that specifies under
what conditions the FBM228 will force the device to take the Fault State
action configured in the device function block (Table 6-10).
FSOPTN is dependent upon how the Fault State parameters are config-
ured in the device with which the MAO block is being used (see
207
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
MOOPTS). The Fault State can also be turned off in the device, which
would render FSOPTN ineffective. See Section 6.6.14.
FSTATE Fault State is a non-settable packed boolean output that contains the
FSTATE_STATUS parameter of the device function block, which shows
the Fault State of each channel. Table 6-11 shows the parameter format
for MAO and the device function block parameters.
FSTIME Fault State Time is a configurable, downloadable, real value used to specify
the FSTATE_TIME parameter of a device function block, which is the
time in milliseconds a fault must persist before the Fault State is asserted
for the affected output. Refer to Section 6.6.14.
HSCO1 High Scale for Output Range 1 specifies the upper range value for the
block’s eight outputs (IN_n) in detail displays and other I/A Series system
uses. The limit should be consistent with the other display scaling param-
eters, LSCO1 and EO1.
This parameter does not affect scaling in the device function block or con-
nected devices, but should be consistent with the device block scaling.
Refer to the device documentation for information on scaling the outputs.
INHALM Inhibit Alarm contains packed Boolean values that represent alarm
generation inhibit requests for each type of alarm configured in the block.
Table 6-12 shows how the bits are used by the MAO block.
208
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
Boolean
Bit Description, Connection
Number* When True (B16 to B1)
8 Inhibit Channel 1 BAD Alarm INHALM.B8
9 Inhibit Channel 2 BAD Alarm INHALM.B7
10 Inhibit Channel 3 BAD Alarm INHALM.B6
11 Inhibit Channel 4 BAD Alarm INHALM.B5
12 Inhibit Channel 5 BAD Alarm INHALM.B4
13 Inhibit Channel 6 BAD Alarm INHALM.B3
14 Inhibit Channel 7 BAD Alarm INHALM.B2
15 Inhibit Channel 8 BAD Alarm INHALM.B1
*Bit 0 is the least significant, low order bit.
INHIB Inhibit is a configurable, connectable and settable boolean that, when set,
suppresses all alarm message reporting. INHIB affects only alarm message
reporting; the alarm handling and detection functions are determined by
the INHOPT setting.
209
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
INHSTA Inhibit Status contains packed long values that represent the current
inhibit status of each alarm type configured in the block. Table 6-14
shows how parameter is used with the MAO block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
CH8 B1
CH7 B2
CH6 B3
CH5 B4
CH4 B5
CH3 B6
CH2 B7
CH1 B8
B9 Table 6-14. INHSTA Parameter Format
Bit Boolean
Number* Description, Connection
(0 to 31) When True (B32 to B1)
24 Channel 1 alarms inhibited INHSTA.B8
25 Channel 2 alarms inhibited INHSTA.B7
26 Channel 3 alarms inhibited INHSTA.B6
27 Channel 4 alarms inhibited INHSTA.B5
28 Channel 5 alarms inhibited INHSTA.B4
29 Channel 6 alarms inhibited INHSTA.B3
30 Channel 7 alarms inhibited INHSTA.B2
31 Channel 8 alarms inhibited INHSTA.B1
*Bit 0 is the least significant, low order bit.
210
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
LOCKID Lock Identifier is a string identifying the workstation that has locked
access to the block via a successful setting of LOCKRQ. LOCKID has
the format LETTERBUG:DEVNAME, where LETTERBUG is the
6-character letterbug of the workstation and DEVNAME is the 1 to
6-character logical device name of the display task.
LOCKRQ Lock Request is a Boolean input which can be set True or False only by a
SETVAL command from the LOCK U/L toggle key on workstation dis-
plays. When LOCKRQ is set True in this fashion, a workstation identifier
accompanying the SETVAL command is entered into the LOCKID
parameter of the block. Thereafter, set requests to any of the block’s
parameters are only honored (subject to the usual access rules) from the
workstation whose identifier matches the contents of LOCKID.
LOCKRQ can be set False by any workstation at any time, whereupon a
new LOCKRQ is accepted, and a new ownership workstation identifier is
written to LOCKID.
LSCO1 Low Scale for Output Range 1 is a real value that defines the lower range
value for the block’s eight outputs (IN_n) in detail displays and other
I/A Series system uses. The limit should be consistent with the display
scaling parameters, HSCO1 and EO1.
This parameter does not affect scaling in the device function block or con-
nected devices, but should be consistent with the device block scaling.
Refer to the device documentation for information on scaling the outputs.
211
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
OOS_SW Out of Service Switch is a settable output used to set the parameter
MODE_T, and thus MODE_BLK.Target in the associated device function
block, to Out of Service.
212
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
identical to the value in the set request. Otherwise, the request is rejected
with a LOCKED_ACCESS error.
OWNER can be cleared by any application with the null string, which is
always accepted, regardless of the current value of OWNER. Once the
null string is set, the value can be reset as desired.
PERIOD Period is an indexed input that dictates the block’s execution time base
and allowable PHASE values. PERIOD values range from 0 to 9 and map
to the following period time lengths:
Period Length Period Length
0 0.1 second 5 30 seconds
1 0.5 second* 6 1 minute
2 1.0 second 7 10 minutes
3 2.0 seconds 8 60 minutes
4 10 seconds 9 0.2 second
*If the BPC is 0.2 second, this period is treated internally as 0.6 second,
but the PERIOD parameter remains 1.
PHASE Phase is a zero-based integer input that causes the block to execute at a
specific BPC within the time determined by the PERIOD. For instance,
assuming that the BPC of the I/A Series station is 0.5 second, a block with
a PERIOD of 3 (2.0 seconds) can execute within the first, second, third,
or fourth BPC of the 2-second time period. See Integrated Control Software
Concepts (B0700AG).
PRTYPE Priority Type is an indexed output parameter that indicates the alarm type
of the highest priority active alarm:
0 = No alarm
8 = Bad I/O alarm.
RO1 Range Output 1 is a real array consisting of the two parameters HSCO1
and LSCO1. The array members are configured by their individual
names; however, RO1 and its members can be accessed on an array basis
by user tasks and displays.
213
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
TSTMPn Time Stamp n (where n is 1 through 8) contains the time (in milliseconds
(n = 1 to 8) since midnight) of the latest change in the IN_n parameter in the device
function block.
The time is from the FBM228 when a new value is sent to device function
block. However, when the block is in simulation (SIMOPT = 1), the value
is computed by the CP.
TYPE Type is the block type. When an MAO block is added to the control data-
base, the configuration editor sets TYPE to 36, causing the block type to
be identified as MAO in operator and system management displays.
214
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
IN_1
IN_2
IN_3 Output Snap
IN_4 to CHANNEL
Block
Transducer
IN_5 Algorithm
Block
IN_6 Inputs
IN_7
IN_8
6.5.1.1 Mode
The device MAO block supports the following modes:
♦ Auto - In Auto, the block output reflects IN_n.
♦ OOS - When the mode is Out of Service, the block is not processed, the output
channel is maintained at the last value, and the status of IN_n is set to BAD.
♦ LO - Local Override is set when the resource block has been placed in LO or a Fault
State is active. In LO, the output of the block does not respond to IN_n.
215
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
From the point of view of the MAO block, the relationship with the device function block can
also be described in terms of sink and source connections:
→ Source-sink The MAO block parameter is the source for the corresponding func-
tion block parameter. Thus, changes to the MAO block parameter are
made to the device function block parameter. For example, when the
MAO block is initialized, the TAGDSC value is copied to the device
function block TAG_DESC parameter.
← Sink-source The MAO block parameter value is updated by the corresponding
device function block parameter. For example, the MODE_A param-
eter reads the device parameter MODE_BLK.Actual to make the
actual function block mode visible to the control system.
↔ Bidirectional Changes to the MAO block parameter are made to the corresponding
device function block parameter and vice versa. For example, when
the MAO block is initialized, its MODE_T parameter value is writ-
ten to the device block parameter, MODE_BLK.Target, to configure
the block’s target mode. Subsequently, the MODE_BLK.Target value
is written back to the MAO block MODE_T parameter.
The arrow notation is used in the Table 6-16 descriptions of MAO parameter transforms. These
are presented in alphabetic order, arranged by the I/A Series MAO block parameter names.
216
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
217
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
IN_n parameter selected in the CHMASK parameter. The MAO block then reads back the value
and status of the IN_n parameters.
The MAO block does not scale or condition the output to the device. However, the MAO range
and units parameters (HSCO1, LSCO1 and EIO) scale the IN_n parameters for details displays
and other I/A Series system uses.
The MAO block supports the device block Fault State functions and Mode Machine.
218
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
219
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
220
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
221
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
♦ Requested changes to the IN_1-IN_8 parameters by the I/A Series user or by a source
connection are saved in the I/A Series MAO block and written to the device MAO
function block via the FBM228.
♦ The actual IN_1-IN_8 input parameter values and status are updated from readback
data received in the reply to a read message. The CHMASK parameter is used to
determine which values to process.
♦ Downloading of configuration parameters that have changed since the previous block
cycle.
♦ Updating of the Fault State (FSTATE) parameter from the View data.
♦ Other View data parameters are updated, if any changes in these parameters have
occurred since the previous block cycle.
♦ Block Error (BLKERR) processing begins.
♦ External configuration changes to function block parameters are propagated.
♦ Configuration Error (CFGERR) processing begins.
♦ If BADOPT=1, Bad Alarming of the inputs is performed.
The Actual block mode (MODE_BLK.Actual) is provided in the I/A Series MAO block in the fol-
lowing two forms, and then the following occurs:
♦ The Actual mode is stored in the MODE_A output parameter.
♦ The Actual mode also is mapped onto equivalent bits in the BLKSTA block status
parameter,.
♦ The OOS state is mapped onto the OOS value status bit of the BLKSTA parameter.
♦ The IMAN state is mapped onto the BLKSTA.TRK status bit.
♦ The LO state is mapped onto both the BLKSTA.TRK and BLKSTA.LO status bits.
♦ The AUTO state sets BLKSTA.MA=1.
222
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
NOTE
The .SubStatus bits in multiple analog output blocks vary with the specific I/O sub-
system or multi-output device, and may not be the same as the standard
FOUNDATION fieldbus bit assignment usage in other device function blocks. Refer
to the device documentation for information about how the .SubStatus bits are
used.
Bits Description
0-1 Limits
0 = Not limited
1 = High limited
2 = Low limited
3 = Constant (both high and low limited bits set)
2-5 Refer to the device documentation
6-7 Quality
0 = Bad
1 = Uncertain
2 = Good (non-cascade)
3 = Good (cascade)
Table 6-19 shows the usage of the Substatus bits, which varies depending on which .Quality bits
are set.
Table 6-19. Device Parameter Substatus
223
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
224
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
225
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
The CP270 also supports connections to specific inputs in the MAO blocks from parameters con-
tained in device function blocks mapped to any standard I/A Series control or I/O block. These
inputs are updated each block cycle from data in the function block parameter; the data contained
in the specified I/A Series source parameter will not be used. The inputs of this type are listed in
Table 6-20 below.
When the source of an input connection is a device function block parameter, the I/A Series block
connection is made by the CP270, and the source BlockName and ParameterName are extracted
from the connection and appended to a connect message. This message is sent to the FBM228 to
establish a fieldbus connection to the function block source parameter.
When the source of an input connection is a device function block parameter, the BlockName is
the TagName of the device function block, which is the same as the name of the source I/A Series
block. The ParameterName is the 1-6 character name of the parameter in the source I/A Series
block for those connections listed in Table 6-21 below. In these cases, the name of the I/A Series
block parameter is converted to the equivalent function block parameter index by the CP270
prior to appending it to the connect message. In all other cases, the ParameterName must be con-
figured to be the parameter index of the function block parameter.
If the fieldbus connection cannot be made due to an invalid BlockName or ParameterName, the
ERCODE parameter in the block is set to the following text and the block is undefined:
“W83 - INVALID FF PARAMETER CONNECTION”
226
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
227
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
When the point value becomes bad, a bad alarm message is created and sent to all devices in the
bad alarm group specified by the BADGRP parameter. This message contains a “BAD_n” (if
IN_n) text string to identify the appropriate point. This message also contains the respective
DESCRn point descriptor, the descriptive text in the BADTXT parameter, and the loop identifier
in the LOOPID parameter.
When the point value becomes good, a return-to-normal message is generated and sent to all
devices in the bad alarm group.
When any point value is bad, the BAD bit is set in the alarm status parameter (ALMSTA.BAD).
The UNACK parameter and the ALMSTA.UNACK bit are set. The CRIT parameter and ALM-
STA.CRIT field are set to the BADPRI parameter value, and the PRTYPE parameter and ALM-
STA.PRTYPE field are set to the Bad alarm type.
When all point values have returned to good status, BAD, CRIT, PRTYPE and their correspond-
ing fields in ALMSTA are cleared.
The UNACK parameter and the ALMSTA.UNACK bit are cleared in these cases:
♦ When the alarm is acknowledged at the compound level, by setting the compound
UNACK=0, or at the block level, by setting the block UNACK=0.
♦ When all point values return to normal, if INHOPT is set appropriately.
♦ When the block is shut down.
When UNACK is cleared, an Alarm Acknowledge message is generated and sent to all devices in
the bad alarm group.
Alarm Inhibiting/Disabling is supported using a combination of the compound CINHIB param-
eter and the INHOPT, INHIB, and INHALM parameters in the MAO block, to allow the bad
alarm messages to be inhibited and/or the alarm detection to disabled dynamically.
The INHALM parameter can be used to inhibit or disable bad alarming selectively for any group
of the 1-8 points.
When Bad alarming is inhibited or disabled, an Alarm Disable message is generated and sent to all
devices in the alarm group. If the Alarm is unacknowledged, an Alarm Acknowledge message also
is sent to these devices. The ALMSTA.INHIB bit is set, and the appropriate INHSTA.BAD bits
are set.
When Bad alarming is uninhibited or enabled, an Alarm Enable message is generated and sent to
all devices in the alarm group. The appropriate BAD bits in the INHSTA parameter are cleared,
and the ALMSTA.INHIB bit is cleared if all channels are uninhibited or enabled.
The Alarm Reprioritization and Alarm Message Regeneration (using AMRTIN) enhancements
also are supported in this MAI block. Refer to the Control Processor 270 (CP270) Integrated Con-
trol Software Concepts (B0700AG) for details.
228
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
changed. The fault state timer counts down and is reset to the FSDLAY value when the read or
write message is received.
Two distinct fault state options may be configured in the FSOPTN parameter in the MAO block.
These fault state options are downloaded into the FBM228 when the MAO block connection is
established. The options are:
♦ FSOPTN Bit 2: 1= Assert Fault State upon loss of CP communication
♦ FSOPTN Bit 0: 1= Assert Fault State if Bad Output (i.e. IN_1-IN_8)
The Fault State Timer (FSTIME) and Fault State Values (FSVAL_1-FSVAL_8) are downloaded
into the device function block when the MAO block initializes and any of these values is re-con-
figured.
If the FSENAB option is set and the Assert Fault State upon loss of CP communications option is
configured, FBM228 performs the following actions:
♦ The fault state timer counts down periodically between receipt of read and write mes-
sages. When either message is received for an MAO function block, its failsafe timer is
reset to the FSDLAY value.
♦ If the fault state timer expires, the FBM sets the status of each of the IN_1-IN_8 func-
tion block parameters to BAD in the field device (IN_n.Status Bits 6-7=0).
♦ When the CP communications is restored, the failsafe timers are reset to full value
automatically by the first read or write message to each connection.
♦ If the fault state had been previously asserted by a request from the CP and the failsafe
condition still exists in the CP, the write message requests the BAD status to remain
set in the IN_1-IN_8 function block parameters. Otherwise, the write message
requests the status of these parameters to be set to Good Non-Cascade in the field
device (IN_n.Status Bits 6-7=2).
These actions are taken independent of the FSENAB option.
The FBM configuration does not establish the device Fault State behavior as that is determined by
options in the device function blocks. Different behaviors can be set for each device connected to
the FBM, and in the case of the multiple analog output devices, for each channel.
The device Fault State options are designed primarily to deal with communication failures above
the device, while working in concert with ECB options. Enabling Fault State is effective under
two external conditions:
♦ When Fault State is asserted by the connected FBM
♦ When communications to the device are lost and the device MAO block mode is
Auto.
The actual Fault State behavior taken by the device function block is specified in the following
I/A Series system MAO block parameters (Table 6-23).
229
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
Table 6-23. Fault State Parameters in the Device MAO Function Block
Parameter Description
MOOPTS Configures the device function block MO_OPTS parameter to enable/dis-
able two Fault State options for each output (IN_n).
♦ Use Fault State on Restart n: Selecting this option causes the IN_n
output to go to the value specified in FSTATE_VALn on a device
RESTART. If this option is not selected and the device can go to its tar-
get mode upon RESTART, the last saved setpoint is used for generating
the Fault State position.
♦ Fault State to Value n: When this option is selected, the block uses the
value specified for output n in FSTATE_VALn. When the option is not
selected, the last saved setpoint is used.
FSVn Configures FSTATE_VALn in the device function block to specify the value
that is asserted when one of the faultstate options is invoked for the channel.
FSTIME Configures FSTATE_TIME in the device function block to set the period
that the fault condition must last before the block asserts the specified value.
A Fault State action does not occur until the FSTATE_TIME interval has
expired.
230
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
♦A write message is sent to the FBM228 with both the current state and the
IMAN bits set in the Target mode. The IMAN bit is set to indicate to the
FBM228 that the compound is off.
♦ Otherwise, if the FSOPTN is set, a write message will be sent to the FBM228
to drive the IN_1-IN_8 parameters to their fault state values. The FBM sets
the status of the IN_1-IN_8 parameters to BAD (IN_n.Status Bits 6-7=0) in
the field device.
2. Otherwise, if the FSOPTN is set, a write message is sent to the FBM228 to drive the
IN_1-IN_8 parameters to their fault state values. The FBM sets the status of the
IN_1-IN_8 parameters to BAD (IN_n.Status Bits 6-7=0) in the field device.
6.6.16 Simulation
The I/A Series MAO block SIMOPT parameter enables simulation of output to and readback
from the corresponding multiple analog output device function block. This feature can be used to
test control schemes requiring analog outputs without the actual FBM228 hardware connections.
When SIMOPT= 1 (True), the value contained in IN_n is not written to the H1 device and the
value and status of IN_n are not recovered from the device function block. However, the IN_n
and INST_n parameters are updated as if the value and status had been read back from the device.
When SIMOPT= 1, the following functions are performed:
♦ The actual values and status of the IN_n inputs are updated from the requested values
and status each block cycle when the Actual block mode is Auto. The CHMASK
parameter determines which values to process.
♦ The INST_n input status parameters is set to Good Non-Cascade (0x80).
♦ Changes to the target mode via the mode switches (AUT_SW or OOS_SW) immedi-
ately update target mode parameter (MODE_T), and the actual block mode
(MODE_A) tracks MODE_T each block cycle.
♦ If BADOPT=1, Bad Alarming of the inputs is performed.
When SIMOPT = 1, the following functions are not performed:
♦ Downloading of configuration parameters
♦ Updating of View data parameters
♦ Block Error (BLKERR) processing
♦ External configuration changes to function block parameters
♦ Configuration Error (CFGERR) processing.
Refer to InFusion Enterprise Control System: Implementing FOUNDATION fieldbus in InFusion 2.0
(B0750DA) or Implementing FOUNDATION fieldbus on the I/A Series System (B0700BA) for
instructions on conducting control simulations from control station.
231
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
BSTATE Value
(Int (Bin)) State Value Description
0 (00000000) Undefined -
1 (00000001) Unconnected A DCI block has been deleted/undeployed
from the CP configuration.
2 (00000010) Connecting A DCI block has been created in the CP;
The FBM is creating the block structures in
an internal FBM database.
3 (00000011) Connecting Failed The FBM can fail to create a new block for a
number of reasons. For example:
- Connection already exists.
- FBM is out of memory
- No block match
- Invalid block
4 (00000100) Scheduling Block Execution A block schedule is being created.
5 (00000101) Scheduling Block Execution A schedule configuration failed. The FBM
Failed could not deploy block or LAS schedule.
Check schedule or schedule configuration.
6 (00000110) Creating Block Connections Publisher/Subscriber connections are being
created.
7 (00000111) Creating Block Connections FBM failed to create block Publisher/Sub-
Failed scriber connections. Check the configura-
tion. This may be a temporary condition
while the FBM is processing other blocks.
8 (00001000) Writing Block Parameters Block parameters are being written to a
device
9 (00001001) Writing Block Parameters FBM failed to write parameters to device
Failed resident block. The block detailed display
“Maintenance” overlay may have more
information. Verify block configuration in
IEE. Use the Field Device Manager to com-
pare configuration data base with device
database.
10 (00001010) Block ON LINE - OK Connection processing has been successful
and data/point connection has been estab-
lished.
11 (00001011) Block ON LINE – Error Processing has been completed, but some
step of the processing failed. The block
detailed display “Maintenance” overlay may
have more information. Also check the
System Manager status information for the
corresponding FF H1 device.
232
6. MAO - Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
NOTE
Since the MAO function block does not support cascade initialization, it is strongly
recommended that the I/A Series MAO block be used in non-control configura-
tions only. It should not be used to drive actuators in the field device.
Parent ECB200/202
PARENT PARENT
IOM_ID IOM_ID
NAME NAME
IOM_ID
NAME
233
B0700EC – Rev B 6. MAO - Foundation™ fieldbus Multiple Analog Output
234
7. MDI – FOUNDATION™ fieldbus
Multiple Discrete Input
This chapter describes the Multiple Discrete Input (MDI) block, which interfaces the control
system with a corresponding multiple discrete input function block operating in a
FOUNDATION™ fieldbus H1 device.
7.1 Overview
Multiple Discrete Input (MDI) is a Distributed Control Interface (DCI) block that provides
an interface between the control processor and a multiple discrete input function block operat-
ing in a FOUNDATION fieldbus H1 device (the device function block). The MDI block is sup-
ported on the FCP270 and ZCP270 when the H1 device is connected to the control station by
an FBM228. The MDI block is configured using the Block Configurator in the InFusion Engi-
neering Environment (IEE) as described in InFusion Enterprise Control System: Implementing
FOUNDATION fieldbus in InFusion 2.0 (B0750DA).
NOTE
The MDI block functionality described in this chapter is applicable only for
FBM228s with the software type (SWTYPE) of “128”.
7.3 Features
The MDI block provides the following features:
1. Device function block parameters are shown in this document in italics. Function blocks may use
different names for these parameters.
235
B0700EC – Rev B 7. MDI – Foundation™ fieldbus Multiple Discrete Input
♦ Acquires the status and value of up to eight published outputs (OUT_D1 through
OUT_D8) from a multiple discrete input device function block
♦ Time stamps value and status changes to the eight outputs
♦ Accesses the parameters in the device function block’s views using change-driven and
periodic client/server connections
♦ Ensures that changes in the device function block’s process values and error conditions
are continuously available for display and connection to the control strategy
♦ Provides for the configuration of selected device block parameters from the I/A Series
system and management of the device configuration in the control database
♦ Enables users to set the mode of the device function block to Auto, Manual or Out of
Service
♦ Provides alarm reporting for Bad I/O for each device block output
♦ Supports simulation of the device block output values within the control station
236
7. MDI – Foundation™ fieldbus Multiple Discrete Input B0700EC – Rev B
237
B0700EC – Rev B 7. MDI – Foundation™ fieldbus Multiple Discrete Input
238
7. MDI – Foundation™ fieldbus Multiple Discrete Input B0700EC – Rev B
ALMOPT Alarm Options contain packed long values representing the alarm options
that have been configured in the block and the alarm groups that are in
use. Table 7-2 shows MDI usage of the parameter.
Bit Number*
(0 to 31) Configured Alarm Option, When True
0 (lsb) Alarm Group 8 in Use
1 Alarm Group 7 in Use
2 Alarm Group 6 in Use
3 Alarm Group 5 in Use
4 Alarm Group 4 in Use
5 Alarm Group 3 in Use
6 Alarm Group 2 in Use
7 Alarm Group 1 in Use
8 Channel 8
9 Channel 7
10 Channel 6
11 Channel 5
12 Channel 4
13 Channel 3
14 Channel 2
15 Channel 1
22 Bad I/O Alarm Configured
*Bit 0 is the least significant, low order bit.
239
B0700EC – Rev B 7. MDI – Foundation™ fieldbus Multiple Discrete Input
ALMSTA Alarm Status is a 32-bit output, bit-mapped to indicate the block’s alarm
states. Table 7-3 shows the bits used by the MDI block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
1=BAD B17
2=BAD B18
3=BAD B19
4 =BAD B20
5=BAD B21
6=BAD B22
7=BAD B23
8=BAD B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
B9
CRIT
UNAK
PRTYPE
BAD
INH
Bit Boolean
Number Connection
(0 to 31)* Name Description (B32 to B1)
0 to 4 PTYP_MSK Priority Type: See parameter ---
PRTYPE for values used in the MDI
block
5 to 7 CRIT_MSK Criticality: 1 (highest priority) to 5 ---
8 Channel 8 Bad Alarm ALMSTA.B24
9 Channel 7 Bad Alarm ALMSTA.B23
10 Channel 6 Bad Alarm ALMSTA.B22
11 Channel 5 Bad Alarm ALMSTA.B21
12 Channel 4 Bad Alarm ALMSTA.B20
13 Channel 3 Bad Alarm ALMSTA.B19
14 Channel 2 Bad Alarm ALMSTA.B18
15 Channel 1 Bad Alarm ALMSTA.B19
22 BAD Bad I/O Alarm: at least one channel ALMSTA.B10
is not usable
29 INH Inhibit Alarm at least one channel is ALMSTA.B3
inhibited
30 UNAK Unacknowledged: There is at least ALMSTA.B2
one unacknowledged alarm
*Bit 0 is the least significant, low order bit.
AMRTIN Alarm Message Regeneration Time Interval specifies the rate at which
alarm messages are generated for alarm conditions that have not been
cleared. The interval is specified in seconds. The configured interval is
rounded up to the closest value that is an even multiple of the station
BPC. A value of 0 disables alarm message regeneration.
AUT_SW Auto Switch is a settable Boolean output used to set the MODE_T
parameter, and therefore MODE_BLK.Target in the associated device
function block, to Auto.
240
7. MDI – Foundation™ fieldbus Multiple Discrete Input B0700EC – Rev B
BADPRI Bad Alarm Priority is a configurable integer input used to specify the
Alarm Priority to be assigned to Bad Alarms in the block. BADPRI is
settable if unlinked. The range is 1 (highest) to 5 (default).
BLKERR Block Error is a non-settable, packed Boolean output that contains the
BLOCK_ERR parameter of the associated device function block. Table 7-4
shows the parameter format. A given device might not support all bits in
the status word.
241
B0700EC – Rev B 7. MDI – Foundation™ fieldbus Multiple Discrete Input
BLKNDX Block Index is a configurable, non-settable long integer that contains the
index of the device function block represented by the MDI block. It is set
by the configurator and the FBM uses it to identify the block in the
device. The index is acquired when the MDI block is bound to a DD
either when the device is templated or the block instance is assigned to a
device instance.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
FBM228 B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
B9
UDEF
FBM
TRK
LCK
BIO
MA
ON
LO
FS
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
3 LO The device function block mode is Local Over- BLKSTA.B29
ride
6 TRK The block is being tracked as the device function BLKSTA.B26
block is in Local Override or Initialization Man-
ual mode
8 FBM There is a communication failure between BLKSTA.B24
CP and FBM
11 MA The block mode is Auto BLKSTA.B21
12 BIO Bad I/O: at least one channel is Bad BLKSTA.B20
14 UDEF The block is undefined BLKSTA.B18
15 ON The compound that contains the block is ON BLKSTA.B17
16 FFX Enhanced FF block connection BLKSTA.B16
17 FDACT Download active BLKSTA.B15
18 FDFAIL Download failure BLKSTA.B14
19 FBM228 The H1 device is hosted and scheduled by an BLKSTA.B13
FBM228
20 LCK A workstation has locked this block BLKSTA.B12
21 FDOK FDATA installed BLKSTA.B11
22 FDMM FDATA mismatch BLKSTA.B10
23 DEVACK Unacknowleged device alarm BLKSTA.B9
* Bit 0 is the least significant, low order bit.
242
7. MDI – Foundation™ fieldbus Multiple Discrete Input B0700EC – Rev B
243
B0700EC – Rev B 7. MDI – Foundation™ fieldbus Multiple Discrete Input
CRIT Criticality is an integer output that indicates the priority of the block’s
highest currently active alarm. The range is 1 (highest priority) to 5. An
output of 0 indicates the absence of alarms.
DEFINE Define is a data store that indicates the presence or absence of configura-
tion errors. The default is 1 (no configuration errors). When the block
initializes, DEFINE is set to 0 if any configured parameters fail validation
244
7. MDI – Foundation™ fieldbus Multiple Discrete Input B0700EC – Rev B
testing. See “ERCODE” on page 246 for a list of all possible validation
errors in this block.
♦ If DEFINE = 0, no further processing of the block occurs,
including further validation of remaining parameters.
♦ To return DEFINE to a True value, correct all configuration errors
and reinstall the block.
♦ If DEFINE = 0, the bit BLKSTA.UDEF = 1.
NOTE
This parameter is not supported currently.
245
B0700EC – Rev B 7. MDI – Foundation™ fieldbus Multiple Discrete Input
verify that there is a match between the block and the device. The IEE
configurator encodes the following data in DVCREV:
Bits 16-23 Bits 8-15 Bits 0-7
Device revision Minimum Device Description Common File Format
(DD) File Revision (CFF) File Revision
ERCODE Error Code is a string data store that indicates the type of configuration
error which caused the block’s DEFINE parameter to be set False.
Validation of configuration errors does not proceed past the first error
encountered by the block logic.
Table 7-8 lists the possible values of ERCODE for the MDI block
ERCODE
W43 - INVALID PERIOD/PHASE COMBINATION
W54 - ECB DOES NOT EXIST
W62 - UNRESOLVED CONNECTION
W65 - INVALID POINT ADDRESS
W66 - DUPLICATE CONNECTION
W67 - INSUFFICIENT FBM MEMORY/CONNECTIONS
W68 - INVALID DEVICE CONNECTION
W69 - INVALID POINT CONNECTION
W73 - FF FUNCTION BLOCK CONFIGURATION ERROR
W74 - FF FUNCTION BLOCK DDITEM MISMATCH
W75 - FF FUNCTION BLOCK DDMBR MISMATCH
W76 - INVALID FF MODE CONFIGURATION
W77 - FIELDBUS COMMUNICATION FAULT
W78 - INVALID FUNCTION BLOCK
W79 - INVALID PARAMETER INDEX
W80 - FIELDBUS DEVICE NOT FOUND
W81 - INVALID PARENT DCI ECB PERIOD/PHASE
W82 - FF CONFIGURATION IN PROGRESS
W83 - INVALID FF PARAMETER CONNECTION
W84 - INVALID FF PARAMETER TYPE
W85 - INVALID CONNECTION TYPE
W86 - MAN_ID, DVC_ID, OR DECREC MISMATCH
246
7. MDI – Foundation™ fieldbus Multiple Discrete Input B0700EC – Rev B
FDATA1, File Data #1 and File Data #2 are settable multi-byte arrays that provide
FDATA2 configuration data for the device function block represented by the MDI
block.
This file data is downloaded automatically into the FBM228 when the
FDATA1 parameter is changed in the CP270 via an OM write access
operation. This download also will occur automatically when the CP270
or FBM228 reboots and when the FBM228 is put on-line. The size of
each FDATAn parameter is 255 bytes, for a total array size of 510 bytes.
INHALM Inhibit Alarm contains packed Boolean values that represent alarm gener-
ation-inhibit requests for each type of alarm configured in the block.
Table 7-9 shows how the bits are used by the MDI block.
Bit Boolean
Number* Connection
(0 to 15) BAD Alarm Inhibited When True (B16 to B1)
8 Channel 1 INHALM.B8
9 Channel 2 INHALM.B7
10 Channel 3 INHALM.B6
11 Channel 4 INHALM.B5
12 Channel 5 INHALM.B4
13 Channel 6 INHALM.B3
14 Channel 7 INHALM.B2
15 Channel 8 INHALM.B1
*Bit 0 is the least significant, low order bit.
There are no mnemonic names for the individual bits of INHALM.
INHIB Inhibit is a configurable, connectable and settable boolean that, when set,
suppresses all alarm message reporting. INHIB affects only alarm message
reporting; the alarm handling and detection functions are determined by
the INHOPT setting.
INHOPT Inhibit Option specifies the following actions applying to all block alarms:
♦ 0 = When an alarm is inhibited, disables alarm messages but does
not disable alarm detection.
♦ 1 = When an alarm is inhibited, disables both alarm messages and
alarm detection. If an alarm condition exists at the time the alarm
transitions into the inhibited state, the alarm indicator is cleared.
♦ 2 = Same as 0 for inhibited alarms. For uninhibited alarms,
automatically acknowledges “return-to-normal” messages.
“Into alarm” messages can be acknowledged by explicitly setting
UNACK False.
♦ 3 = Same as 1 for inhibited alarms. For uninhibited alarms,
automatically acknowledges “return-to-normal” messages.
247
B0700EC – Rev B 7. MDI – Foundation™ fieldbus Multiple Discrete Input
INHSTA Inhibit Status contains packed long values that represent the current
inhibit status of each alarm type configured in the block. Table 7-10
shows how parameter is used with the MDI block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
CH8 B1
CH7 B2
CH6 B3
CH5 B4
CH4 B5
CH3 B6
CH2 B7
CH1 B8
B9
Bit Boolean
Number* Description, Connection
(0 to 31) When True (B32 to B1)
24 Channel 1 alarms inhibited INHSTA.B8
25 Channel 2 alarms inhibited INHSTA.B7
26 Channel 3 alarms inhibited INHSTA.B6
27 Channel 4 alarms inhibited INHSTA.B5
28 Channel 5 alarms inhibited INHSTA.B4
29 Channel 6 alarms inhibited INHSTA.B3
30 Channel 7 alarms inhibited INHSTA.B2
31 Channel 8 alarms inhibited INHSTA.B1
*Bit 0 is the least significant, low order bit.
248
7. MDI – Foundation™ fieldbus Multiple Discrete Input B0700EC – Rev B
LOCKID Lock Identifier is a string identifying the workstation that has locked
access to the block via a successful setting of LOCKRQ. LOCKID has
the format LETTERBUG:DEVNAME, where LETTERBUG is the
6-character letterbug of the workstation and DEVNAME is the 1 to
6-character logical device name of the display task.
LOCKRQ Lock Request is a Boolean input which can be set True or False only by a
SETVAL command from the LOCK U/L toggle key on workstation dis-
plays. When LOCKRQ is set True in this fashion, a workstation identifier
accompanying the SETVAL command is entered into the LOCKID
parameter of the block. Thereafter, set requests to any of the block’s
parameters are only honored (subject to the usual access rules) from the
workstation whose identifier matches the contents of LOCKID.
LOCKRQ can be set False by any workstation at any time, whereupon a
new LOCKRQ is accepted, and a new ownership workstation identifier is
written to LOCKID.
MAN_SW Manual Switch is a settable output used to set the MODE_T parameter,
and therefore MODE_BLK.Target in the associated device function block,
to Manual.
249
B0700EC – Rev B 7. MDI – Foundation™ fieldbus Multiple Discrete Input
OOS_SW Out of Service Switch is a settable output used set the MODE_T parame-
ter, and therefore MODE_BLK.Target in the associated device function
block, to Out of Service.
PERIOD Period is an indexed input that dictates the block’s execution time base
and allowable PHASE values. PERIOD values range from 0 to 9 and map
to the following period time lengths:
Period Length Period Length
0 0.1 second 5 30 seconds
1 0.5 second* 6 1 minute
2 1.0 second 7 10 minutes
3 2.0 seconds 8 60 minutes
4 10 seconds 9 0.2 second
* If the BPC is 0.2 second, this period is treated internally as
0.6 second, but the PERIOD parameter remains 1.
PHASE Phase is a zero-based integer input that causes the block to execute at a
specific BPC within the time determined by the PERIOD. For instance,
assuming that the BPC of the I/A Series station is 0.5 second, a block with
250
7. MDI – Foundation™ fieldbus Multiple Discrete Input B0700EC – Rev B
a PERIOD of 3 (2.0 seconds) can execute within the first, second, third,
or fourth BPC of the 2-second time period. See Integrated Control Software
Concepts (B0700AG).
PRTYPE Priority Type is an indexed output parameter that indicates the alarm type
of the highest priority active alarm. For the MDI block:
0 = No alarm
8 = Bad I/O alarm.
TYPE Type is the block type. When an MDI block is added to the control data-
base, the configuration editor enters a numeric value of 35 to specify the
MDI block type.
251
B0700EC – Rev B 7. MDI – Foundation™ fieldbus Multiple Discrete Input
PV_Dn
(n = 1 to 8)
CHANNEL
Outputs
OUT_Dn
(n = 1 o 8)
Mode Alarms
BLOCK_ALM
7.5.1.1 Mode
The device function block supports three selectable modes:
♦ In Auto mode, the block’s output parameters (OUT_D1 to OUT_D8) reflect the pro-
cess variables’ (PV_D1 to PV_D8) values and status.
♦ In Manual, the OUT_Dn parameter can be set manually.
252
7. MDI – Foundation™ fieldbus Multiple Discrete Input B0700EC – Rev B
♦ In OOS (out of service), the block values are not updated and the status of OUT_Dn
is set to BAD. In OOS, changes can be made to configured parameters.
7.5.1.2 Status
The device function block provides an eight-bit status for each output value, using the standard
function block value status, which is further parsed in to .Quality, .SubStatus, and .Limits bits.
The .SubStatus bits in this block are device-specific. Refer to “Device Parameter Status” on
page 259 for use of the bits.
7.5.1.3 Alarms
The BLOCK_ALM parameter is used for all configuration, hardware connection, and system
problems in the block.
The I/A Series system does not use the alarm features provided by the device blocks, but rather
provides alarm handling and error reporting options in the I/A Series MDI block. The MDI
block enables BAD alarming using standard I/A Series alarm parameters.
The arrow notation is used in the Table 7-11 descriptions of MDI parameter transforms. These
are presented in alphabetic order, arranged by the MDI block parameter names.
253
B0700EC – Rev B 7. MDI – Foundation™ fieldbus Multiple Discrete Input
When AUT_SW = 1:
Set MODE_T (request) = AUTO
MAN_SW=0, OOS_SW=0
Write MODE_T (request) to FBM
BLKERR BLOCK_ERR
BLKERR.value ← BLOCK_ERR
BLKERR.status.OOS ← CP to FBM communication is failed or FBM is Off-Line
BLKSTA MODE_BLK.Actual
BLKSTA.status.OOS ← MODE_BLK.Actual.OOS
BLKSTA.TRK ← MODE_BLK.Actual.IMAN or LO
BLKSTA.LO ← MODE_BLK.Actual.LO
BLKSTA.MA=0 ← MODE_BLK.Actual.MAN
BLKSTA.MA=1 ← MODE_BLK.Actual.AUTO
BLKSTA.FBM ← CP-FBM communication is failed
BLKSTA.BIO ← OUT.Status.Bad (Bits 6-7=0)
CHANNL ↔ CHANNEL
HSCO1 ↔ OUT_SCALE.@100%
LSCO1 ↔ OUT_SCALE.@0%
MAN_SW MODE_BLK.Target
When MAN_SW =1:
Set MODE_T (request) = MAN
AUT_SW=0, OOS_SW=0
Write MODE_T (request) to FBM
MODE_A MODE_BLK.Actual
MODE_A.value ← MODE_BLK.Actual
MODE_N ↔ MODE_BLK.Normal
MODE_P ↔ MODE_BLK.Permitted
MODE_T MODE_BLK.Target
MODE_T.value (request) → MODE_BLK.Target
MODE_T.value (actual) ← MODE_BLK.Target
NAME → Function Block Tag
OOS_SW MODE_BLK.Target
When OOS_SW =1:
Set MODE_T (request) = OOS
AUT_SW=0, MAN_SW=0
Write MODE_T (request) to FBM
254
7. MDI – Foundation™ fieldbus Multiple Discrete Input B0700EC – Rev B
PV_Dn.value ←OUT_Dn.Value
PV_Dn.status.LHI ← OUT_Dn.Status.Limited Hi (Bit 0)
PV_Dn.status.LLO ← OUT_Dn.Status.Limited Lo (Bit 1)
PV_Dn.status.ERR ← OUT_Dn.Status.Uncertain (Bits 6-7=1)
PV_Dn.status.BAD ← OUT_Dn.Status.Bad (Bits 6-7=0)
or CP-FBM communication failure
or H1 device is Failed or Disabled.
PV_Dn.status.OOS ← OUT_Dn.Status.Bad (Bits 6-7=0) and Substatus.OOS (bits2-
5= 7),
or Compound is Off
or FBM228 is Off-Line or DCI Not Ready
or H1 Device is Failed or Disabled
or CP-FBM communication failure
or DCI_COMM_DATA.connect_status <= 0
PVFTIM ↔ PV_FTIME
STRATG ↔ STRATEGY
ST_REV ← ST_REV
TAGDSC → TAG_DESC
Note: Changes to TAGDSC are copied to DESCRP.
255
B0700EC – Rev B 7. MDI – Foundation™ fieldbus Multiple Discrete Input
The MDI block OUT_Dn (where n is 1 through 8) and OUTSTn parameters hold value and sta-
tus, respectively, of the device function block OUT_Dn parameter.
The block also supports the function block’s mode parameters.
The MDI block and the device function block operate in two asynchronous cycles, both writing
to and reading from shared space in the FBM memory. As with other I/A Series IO blocks, the
MDI block executes in the Basic Processing Cycle (BPC) of the control station according to its
compound and its PERIOD and PHASE parameters, as described in Control Processor 270
(CP270) Integrated Control Software Concepts (B0700AG). The device MDI block executes once
each FBM macrocycle as scheduled by the FBM228.
The principal task of the MDI block is to read values and status from the corresponding device
block. For this task, publisher/subscriber and/or client/server connections (which are based on the
BLKOPT and CHMASK parameters) are maintained between the MDI block OUT_Dn param-
eters and the device function block OUT_Dn parameters.
All other parameter connections are made by the FBM228 on a client/server basis at the fre-
quency specified in the UPDPER parameter. The parameter can be set from 0 to 2147483647
milliseconds; the default is 10000 (10 seconds). Increasing the frequency of the client/server com-
munication can significantly add to the load on the H1 segment.
256
7. MDI – Foundation™ fieldbus Multiple Discrete Input B0700EC – Rev B
♦ If needed, add compel data (CD) messages to each macrocycle to publish the
OUT_Dn parameter values and status as specified by the BLKOPT and CHMASK
parameters.
♦ Schedule client/server connections between the MDI block and the device function
block for view updates.
Table 7-12 lists the device function block parameters and the MDI block parameters used to con-
figure them. For the MDI, the table includes both the six-character (maximum) parameter name
that is used in block detail displays and the parameter labels which more closely resemble the
FOUNDATION fieldbus parameter names. Use the six-character parameter name when connecting
parameters to a process display.
257
B0700EC – Rev B 7. MDI – Foundation™ fieldbus Multiple Discrete Input
258
7. MDI – Foundation™ fieldbus Multiple Discrete Input B0700EC – Rev B
taining the block is turned on, the block also initializes and starts running automatically.
259
B0700EC – Rev B 7. MDI – Foundation™ fieldbus Multiple Discrete Input
Bits Description
0-1 Limits
0 = Not limited
1 = High limited
2 = Low limited
3 = Constant (both high and low limited bits set)
2-5 Refer to the device documentation
6-7 Quality
0 = Bad
1 = Uncertain
2 = Good (non-cascade)
3 = Good (cascade)
Table 7-14 shows the usage of the Substatus bits, which varies depending on which .Quality bits
are set.
Table 7-14. Device Parameter Substatus
260
7. MDI – Foundation™ fieldbus Multiple Discrete Input B0700EC – Rev B
261
B0700EC – Rev B 7. MDI – Foundation™ fieldbus Multiple Discrete Input
262
7. MDI – Foundation™ fieldbus Multiple Discrete Input B0700EC – Rev B
♦
The Actual mode is stored in the MODE_A output parameter.
♦ The Actual mode also is mapped onto equivalent bits in the BLKSTA block status
parameter.
♦ The OOS state is mapped onto the OOS value status bit of the BLKSTA parameter.
♦ The IMAN state is mapped onto the BLKSTA.TRK status bit.
♦ The LO state is mapped onto both the BLKSTA.TRK and BLKSTA.LO status bits.
♦ The MAN state sets BLKSTA.MA=0.
♦ The AUTO state sets BLKSTA.MA=1.
263
B0700EC – Rev B 7. MDI – Foundation™ fieldbus Multiple Discrete Input
264
7. MDI – Foundation™ fieldbus Multiple Discrete Input B0700EC – Rev B
7.6.13 Simulation
The MDI block SIMOPT parameter enables simulation of multiple discrete inputs to the control
system from the corresponding multiple discrete input device function block. This feature can be
265
B0700EC – Rev B 7. MDI – Foundation™ fieldbus Multiple Discrete Input
used to test control schemes requiring discrete inputs without actual FBM228 hardware connec-
tions.
When SIMOPT= 1 (True), the status and value of OUT_Dn are not recovered from the field, but
can be set directly to simulate input from the field.
When simulating (SIMOPT=1), the following functions will be performed:
♦ The PV_Dn inputs are settable and are stored to the OUT_Dn output values when
the block mode is Auto. The CHMASK parameter will be used to determine which
outputs to process.
♦ The OUTSTn output status parameters are set to Good Non-Cascade (0x80).
♦ Changes to the target mode via the mode switches (AUT_SW, MAN_SW, or
OOS_SW) immediately update target mode parameter (MODE_T), and the actual
block mode (MODE_A) tracks MODE_T each block cycle.
♦ If BAO=1, Bad Alarming of the inputs is performed.
When simulating, the following functions are not performed:
♦ Downloading of configuration parameters.
♦ Updating of View data parameters.
♦ Block Error (BLKERR) processing.
♦ External configuration changes to function block parameters.
♦ Configuration Error (CFGERR) processing.
Refer to InFusion Enterprise Control System: Implementing Foundation fieldbus in InFusion 2.0
(B0750DA) or Implementing Foundation fieldbus on the I/A Series System (B0700BA) for instruc-
tions on conducting control simulations from the control station.
BSTATE Value
(Int (Bin)) State Value Description
0 (00000000) Undefined -
1 (00000001) Unconnected A DCI block has been deleted/undeployed
from the CP configuration.
2 (00000010) Connecting A DCI block has been created in the CP;
The FBM is creating the block structures in
an internal FBM database.
3 (00000011) Connecting Failed The FBM can fail to create a new block for a
number of reasons. For example:
- Connection already exists.
- FBM is out of memory
- No block match
- Invalid block
266
7. MDI – Foundation™ fieldbus Multiple Discrete Input B0700EC – Rev B
BSTATE Value
(Int (Bin)) State Value Description
4 (00000100) Scheduling Block Execution A block schedule is being created.
5 (00000101) Scheduling Block Execution A schedule configuration failed. The FBM
Failed could not deploy block or LAS schedule.
Check schedule or schedule configuration.
6 (00000110) Creating Block Connections Publisher/Subscriber connections are being
created.
7 (00000111) Creating Block Connections FBM failed to create block Publisher/Sub-
Failed scriber connections. Check the configura-
tion. This may be a temporary condition
while the FBM is processing other blocks.
8 (00001000) Writing Block Parameters Block parameters are being written to a
device
9 (00001001) Writing Block Parameters FBM failed to write parameters to device
Failed resident block. The block detailed display
“Maintenance” overlay may have more
information. Verify block configuration in
IEE. Use the Field Device Manager to com-
pare configuration data base with device
database.
10 (00001010) Block ON LINE - OK Connection processing has been successful
and data/point connection has been estab-
lished.
11 (00001011) Block ON LINE – Error Processing has been completed, but some
step of the processing failed. The block
detailed display “Maintenance” overlay may
have more information. Also check the
System Manager status information for the
corresponding FF H1 device.
267
B0700EC – Rev B 7. MDI – Foundation™ fieldbus Multiple Discrete Input
Parent ECB200/202
PARENT PARENT
IOM_ID IOM_ID
NAME NAME
IOM_ID
NAME
DO Block
CASIND
OUT_D
268
8. MDO - FOUNDATION™ fieldbus
Multiple Discrete Output
This chapter describes the Multiple Discrete Output (MDO) block, which interfaces the control
system with a corresponding multiple discrete output function block operating in a
FOUNDATION™ fieldbus H1 device.
8.1 Overview
Multiple Discrete Output (MDO) is a Distributed Control Interface (DCI) block that pro-
vides an interface between the control processor and a multiple discrete output function block
operating in a FOUNDATION fieldbus H1 device (the device function block). The MDO block
is supported on the FCP270 and ZCP270 when the H1 device is connected to the control sta-
tion by an FBM228. The MDO block is configured using the Block Configurator in the InFu-
sion Engineering Environment (IEE) as described in InFusion Enterprise Control System:
Implementing FOUNDATION fieldbus in InFusion 2.0 (B0750DA).
NOTE
The MDO block functionality described in this chapter is applicable only for
FBM228s with the software type (SWTYPE) of “128”.
1. Device function block parameters are shown in this document in italics. Function blocks may use
different names for these parameters.
269
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
8.3 Features
The MDO block provides the following features:
♦ Provides up to eight discrete outputs (IN_D1 through IN_D8) to the linked device
function block
♦ Acquires the value and status of the device block outputs
♦ Time-stamps changes to the value and/or status of the device block outputs
♦ Accesses the parameters in the device function block’s View using change-driven and
periodic client/server connections
♦ Ensures that changes in a device’s process values and error conditions are continuously
available for display and connection to the control strategy
♦ Provides for the configuration of device block parameters from the I/A Series system
and management of the device configuration in the control database
♦ Enables users to set the mode of the device function block to Auto or Out of Service
♦ Supports the device function’s fault state operation
♦ Provides alarm detection and reporting for Bad I/O
♦ Supports simulation of device block outputs within the control station.
270
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
271
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
272
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
ALMOPT The Alarm Options parameter contains packed long values representing
the alarm types that have been configured as options in the block (based
on BADOPT which enables Bad Alarming and CHMASK which identi-
fies which channels are to be processed by the block), and the alarm
groups that are in use. Table 8-2 shows how the parameter is used by the
MDO block.
Bit Number*
(0 to 31) Configured Alarm Option, When True
0 (lsb) Alarm Group 8 in Use
1 Alarm Group 7 in Use
2 Alarm Group 6 in Use
3 Alarm Group 5 in Use
4 Alarm Group 4 in Use
5 Alarm Group 3 in Use
6 Alarm Group 2 in Use
7 Alarm Group 1 in Use
8 Channel 8 option
9 Channel 7 option
10 Channel 6 option
11 Channel 5 option
12 Channel 4 option
13 Channel 3 option
273
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
Bit Number*
(0 to 31) Configured Alarm Option, When True
14 Channel 2 option
15 Channel 1 option
22 Bad I/O Alarm Configured
*Bit 0 is the least significant, low order bit.
ALMSTA Alarm Status is a 32-bit output, bit-mapped to indicate the block’s alarm
states. Table 8-3 shows the bits used by the function blocks.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
CH1 Bad B17
CH2 Bad B18
CH3 Bad B19
CH4 Bad B20
CH5 Bad B21
CH6 Bad B22
CH7 Bad B23
CH8 Bad B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
B9
CRIT PRTYPE
UNAK
HMA
BAD
LMA
INH
Bit Boolean
Number Description, Connection
(0 to 31)* Name When True (B32 to B1)
0 to 4 PTYP_MSK Priority Type: See parameter PRTYPE ---
for values used in the blocks
5 to 7 CRIT_MSK Criticality: 1 (highest priority) to 5 ---
8 Channel 8 BAD alarm ALMSTA.B24
9 Channel 7 BAD alarm ALMSTA.B23
10 Channel 6 BAD alarm ALMSTA.B22
11 Channel 5 BAD alarm ALMSTA.B21
12 Channel 4 BAD alarm ALMSTA.B20
13 Channel 3 BAD alarm ALMSTA.B19
14 Channel 2 BAD alarm ALMSTA.B18
15 Channel 1 BAD alarm ALMSTA.B17
274
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
Bit Boolean
Number Description, Connection
(0 to 31)* Name When True (B32 to B1)
16 LMA Low Absolute Alarm ALMSTA.B16
17 HMA High Absolute Alarm ALMSTA.B15
22 BAD Bad I/O Alarm. ALMSTA.B10
Set when any IN_Dn.Status.Bad=1
Cleared when all IN_Dn.Status.Bad = 0
29 INH Inhibit Alarm. This bit is set when any of ALMSTA.B3
the alarms for any channel is inhibited
30 UNAK Unacknowledged ALMSTA.B2
*Bit 0 is the least significant, low order bit.
AMRTIN Alarm Message Regeneration Time Interval specifies the rate at which
alarm messages are generated for alarm conditions that have not been
cleared. The interval is specified in seconds. The configured interval is
rounded up to the closest value that is an even multiple of the station
BPC. A value of 0 disables alarm message regeneration.
AUT_SW Auto Switch is a settable Boolean output used to set MODE_T, and thus
MODE_BLK.Target in the associated device function block, to Auto.
BADPRI Bad Alarm Priority is a configurable integer input used to specify the
Alarm Priority to be assigned to Bad Alarms in the block. BADPRI is
settable if unlinked. The range is 1 (highest) to 5 (default).
BLKERR Block Error is a non-settable, packed Boolean output that contains the
BLOCK_ERR parameter of the associated device function block. Table 8-4
shows the parameter format.
275
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
FBM228 B13
B14
B15
B16
B17
B18
B19
B20
B21
B24
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
DEVACK B9
FDFAIL
FDACT
FDMM
HOLD
FDOK
UDEF
FBM
TRK
LCK
FFX
BIO
MA
ON
LO
LR
FS
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
3 LO The device function block mode is Local Override BLKSTA.B29
6 TRK The block is being tracked as the device function BLKSTA.B26
block is in Local Override or Initialization Manual
mode
8 FBM There is a communication failure between BLKSTA.B24
CP and FBM
276
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
10 LR Local/Remote BLKSTA.B22
11 MA The device block mode is Auto BLKSTA.B21
12 BIO Bad I/O: at least one channel is bad BLKSTA.B20
14 UDEF Block is undefined. See DEFINE, ERCODE, and BLKSTA.B18
CFGERR
15 ON The compound that contains the block is ON BLKSTA.B17
16 FFX Enhanced FF block connection BLKSTA.B16
17 FDACT Download active BLKSTA.B15
18 FDFAIL Download failure BLKSTA.B14
19 FBM228 The H1 device is hosted and scheduled by an BLKSTA.B13
FBM228
20 LCK A workstation has locked this block BLKSTA.B12
21 FDOK File data installed BLKSTA.B11
22 FDMM File data mismatch BLKSTA.B10
23 DEVACK Unacknowledged device alarm BLKSTA.B9
24 FS Fault State BLKSTA.B8
* Bit 0 is the least significant, low order bit.
BLKNDX Block Index is a configurable, non-settable long integer that contains the
index of the device function block represented by the MDO block. It is set
by the configurator and the FBM uses it to identify the block in the
device.
277
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
278
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
CRIT Criticality is an integer output that indicates the priority of the block’s
highest currently active alarm. The range is 1 (highest priority) to 5. An
output of 0 indicates the absence of alarms.
DEFINE Define is a data store that indicates the presence or absence of configura-
tion errors. The default is 1 (no configuration errors). When the block
initializes, DEFINE is set to 0 if any configured parameters fail validation
testing. See “ERCODE” on page 280 for a list of all possible validation
errors in this block.
♦ If DEFINE = 0, no further processing of the block occurs,
including further validation of remaining parameters.
♦ To return DEFINE to a True value, correct all configuration errors
and reinstall the block.
♦ If DEFINE = 0, the bit BLKSTA.UDEF = 1.
279
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
NOTE
This parameter is not supported currently.
ERCODE Error Code is a string data store that indicates the type of configuration
error which caused the block’s DEFINE parameter to be set False.
Validation of configuration errors does not proceed past the first error
encountered by the block logic.
Table 8-8 lists the possible values of ERCODE for the MDO block, and
the significance of each value in this block.
ERCODE
W43 - INVALID PERIOD/PHASE COMBINATION
W54 - ECB DOES NOT EXIST
W62 - UNRESOLVED CONNECTION
W65 - INVALID POINT ADDRESS
280
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
ERCODE
W66 - DUPLICATE CONNECTION
W67 - INSUFFICIENT FBM MEMORY/CONNECTIONS
W68 - INVALID DEVICE CONNECTION
W69 - INVALID POINT CONNECTION
W73 - FF FUNCTION BLOCK CONFIGURATION ERROR
W74 - FF FUNCTION BLOCK DDITEM MISMATCH
W75 - FF FUNCTION BLOCK DDMBR MISMATCH
W76 - INVALID FF MODE CONFIGURATION
W77 - FIELDBUS COMMUNICATION FAULT
W78 - INVALID FUNCTION BLOCK
W79 - INVALID PARAMETER INDEX
W80 - FIELDBUS DEVICE NOT FOUND
W81 - INVALID PARENT DCI ECB PERIOD/PHASE
W82 - FF CONFIGURATION IN PROGRESS
W83 - INVALID FF PARAMETER CONNECTION
W84 - INVALID FF PARAMETER TYPE
W85 - INVALID CONNECTION TYPE
W86 - MAN_ID, DVC_ID, OR DECREC MISMATCH
281
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
FDATA1, File Data #1 and File Data #2 are settable multi-byte arrays that provide
FDATA2 configuration data for the device function block represented by the MDO
block.
This file data is downloaded automatically into the FBM228 when the
FDATA1 parameter is changed in the CP270 via an OM write access
operation. This download also will occur automatically when the CP270
or FBM228 reboots and when the FBM228 is put on-line. The size of
each FDATAn parameter is 255 bytes, for a total array size of 510 bytes.
FSOPTN Fault State Option is a configurable integer parameter that specifies speci-
fies the Fault State conditions and action to be taken by the CP and the
FBM for an output point in the corresponding device MDO function
block (Table 8-10).
FSTATE Fault State is a non-settable packed boolean output that contains the
FSTATE_STATUS parameter of the device function block, which shows
the Fault State of each channel. Table 8-11 shows the parameter format
for MDO and the device function block parameters.
282
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
FSTIME Fault State Time is a configurable, downloadable, real value used to specify
the FSTATE_TIME parameter of a device function block, which is the
time in milliseconds a fault must persist before the Fault State is asserted
for the affected output. Refer to Section 8.6.14.
INHALM Inhibit Alarm contains packed Boolean values that represent alarm
generation inhibit requests for each type of alarm configured in the block.
Table 8-12 shows how the bits are used by the MDO block.
Boolean
Bit Description, Connection
Number* When True (B16 to B1)
8 Inhibit Channel 1 BAD Alarm INHALM.B8
9 Inhibit Channel 2 BAD Alarm INHALM.B7
10 Inhibit Channel 3 BAD Alarm INHALM.B6
11 Inhibit Channel 4 BAD Alarm INHALM.B5
12 Inhibit Channel 5 BAD Alarm INHALM.B4
13 Inhibit Channel 6 BAD Alarm INHALM.B3
14 Inhibit Channel 7 BAD Alarm INHALM.B2
15 Inhibit Channel 8 BAD Alarm INHALM.B1
*Bit 0 is the least significant, low order bit.
INHIB Inhibit is a configurable, connectable and settable boolean that, when set,
suppresses all alarm message reporting. INHIB affects only alarm message
283
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
INHSTA Inhibit Status contains packed long values that represent the current
inhibit status of each alarm type configured in the block. Table 8-14
shows how parameter is used with the MDO block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
CH8 B1
CH7 B2
CH6 B3
CH5 B4
CH4 B5
CH3 B6
CH2 B7
CH1 B8
B9
Bit Boolean
Number* Description, Connection
(0 to 31) When True (B32 to B1)
24 Channel 1 alarms inhibited INHSTA.B8
25 Channel 2 alarms inhibited INHSTA.B7
26 Channel 3 alarms inhibited INHSTA.B6
27 Channel 4 alarms inhibited INHSTA.B5
28 Channel 5 alarms inhibited INHSTA.B4
284
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
Bit Boolean
Number* Description, Connection
(0 to 31) When True (B32 to B1)
29 Channel 6 alarms inhibited INHSTA.B3
30 Channel 7 alarms inhibited INHSTA.B2
31 Channel 8 alarms inhibited INHSTA.B1
*Bit 0 is the least significant, low order bit.
LOCKID Lock Identifier is a string identifying the workstation that has locked
access to the block via a successful setting of LOCKRQ. LOCKID has
the format LETTERBUG:DEVNAME, where LETTERBUG is the
6-character letterbug of the workstation and DEVNAME is the 1 to
6-character logical device name of the display task.
LOCKRQ Lock Request is a Boolean input which can be set True or False only by a
SETVAL command from the LOCK U/L toggle key on workstation dis-
plays. When LOCKRQ is set True in this fashion, a workstation identifier
accompanying the SETVAL command is entered into the LOCKID
parameter of the block. Thereafter, set requests to any of the block’s
parameters are only honored (subject to the usual access rules) from the
workstation whose identifier matches the contents of LOCKID.
LOCKRQ can be set False by any workstation at any time, whereupon a
285
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
286
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
OOS_SW Out of Service Switch is a settable output used to set the parameter
MODE_T, and thus MODE_BLK.Target in the associated device function
block, to Out of Service.
PERIOD Period is an indexed input that dictates the block’s execution time base
and allowable PHASE values. PERIOD values range from 0 to 9 and map
to the following period time lengths:
Period Length Period Length
0 0.1 second 5 30 seconds
1 0.5 second* 6 1 minute
2 1.0 second 7 10 minutes
3 2.0 seconds 8 60 minutes
4 10 seconds 9 0.2 second
287
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
PHASE Phase is a zero-based integer input that causes the block to execute at a
specific BPC within the time determined by the PERIOD. For instance,
assuming that the BPC of the I/A Series station is 0.5 second, a block with
a PERIOD of 3 (2.0 seconds) can execute within the first, second, third,
or fourth BPC of the 2-second time period. See Integrated Control Software
Concepts (B0700AG).
PRTYPE Priority Type is an indexed output parameter that indicates the alarm type
of the highest priority active alarm:
0 = No alarm
8 = Bad I/O alarm.
TSTMPn Time Stamp n (where n is 1 through 8) contains the time (in milliseconds
(n = 1 to 8) since midnight) of the latest change in the IN_Dn parameter in the device
function block.
The time is from the FBM228 when a new value is sent to device function
block. However, when the block is in simulation (SIMOPT = 1), the value
is computed by the CP.
TYPE Type is the block type. When an MDO block is added to the control data-
base, the configuration editor sets TYPE to 36, causing the block type to
be identified as MDO in operator and system management displays.
288
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
IN_D1
IN_D2
IN_D3 Output Snap
IN_D4 to CHANNEL
Block
Transducer
IN_D5 Algorithm
Block
IN_D6 Inputs
IN_D7
IN_D8
8.5.1.1 Mode
The device MDO block supports the following modes:
♦ Auto - In Auto, the block output reflects IN_Dn.
♦ OOS - When the mode is Out of Service, the block is not processed, the output
channel is maintained at the last value, and the status of IN_Dn is set to BAD.
♦ LO - Local Override is set when the resource block has been placed in LO or a Fault
State is active. In LO, the output of the block does not respond to IN_Dn.
289
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
♦ Fault State to Value sets each IN_Dn parameter to a specified value if the block has not
received a value for output from its configured source within the time specified in
FSTATE_TIME. As with the restart option, the value is specified in
FSTATE_VAL_Dn.
In the case of both options, the device detects the condition and takes the fault state action.
The arrow notation is used in the Table 8-16 descriptions of MDO parameter transforms. These
are presented in alphabetic order, arranged by the I/A Series MDO block parameter names.
290
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
291
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
292
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
Table 8-17 lists the device function block parameters and the MDO block parameters used to
configure them. For the I/A Series block, the table includes both the six-character parameter name
that is used in block detail displays and parameter labels which more closely resemble the FOUN-
DATION fieldbus parameter names. Use the six-character parameter name when connecting
parameters to a process display.
293
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
set to “W54 - ECB DOES NOT EXIST”. In this case, the MDO block configuration
is restarted and re-validated automatically when the ECB201 is installed.
♦ An attempt is made to connect the MDO block to the ECB201 specified in the
IOM_ID parameter. The DCI connection address (i.e., the BLKNDX parameter in
the MDO block) is used in a connect message to establish a block connection in the
FBM228. The CHMASK parameter is embedded in the connect message to indicate
which of the 1-8 input channels are to be enabled.
♦ If the block data connection cannot be resolved due to a lack of configuration infor-
mation, a block connection is made in the FBM, the connection status is marked
Unresolved, and one of the following error strings is stored in the block ERCODE
parameter:
♦ “W62 - UNRESOLVED CONNECTION”
♦ “W77 - FIELDBUS COMMUNICATIONS FAULT”
♦ “W78 - INVALID FUNCTION BLOCK”
♦ “W80 - FIELDBUS DEVICE NOT FOUND”
♦ “W82 - FF CONFIGURATION IN PROGRESS”
(In these cases, the I/A Series MDO block is defined, but the output values are
marked OOS.)
♦ “W73 - FF FUNCTION BLOCK CONFIGURATION ERROR”
(In this case, the MDO block is defined, and the index of the invalid function block
parameter is stored in the CFGERR parameter.)
♦ If the block data connection cannot be made for any other reason, the FBM rejects the
connection request and one of the following error strings is stored in the ERCODE
parameter to indicate the reason for the connection error:
♦ “W65 - INVALID POINT ADDRESS”
♦ “W66 - DUPLICATE CONNECTION”
♦ “W67 - INSUFFICIENT FBM MEMORY/CONNECTIONS”
♦ “W68 - INVALID DEVICE CONNECTION”
♦ “W69 - INVALID POINT CONNECTION”
♦ “W74 - FF FUNCTION BLOCK DDITEM MISMATCH”
♦ “W75 - FF FUNCTION BLOCK DDMBR MISMATCH”
♦ “W76 - INVALID FF MODE CONFIGURATION”
♦ “W79 - INVALID PARAMETER INDEX”
♦ “W83 - INVALID FF PARAMETER CONNECTION”
♦ “W84 - INVALID FF PARAMETER TYPE”
♦ “W85 - INVALID CONNECTION TYPE”
♦ “W86 - MAN_ID, DVC_ID, OR DVCREV MISMATCH”
(In these cases, the I/A Series MDO block is undefined.)
♦ If the PERIOD/PHASE combination is inconsistent, or if the PERIOD/PHASE
combination conflicts with the compound PERIOD/PHASE combination, the
294
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
I/A Series MDO block is undefined with ERCODE set to “W43 - INVALID
PERIOD/PHASE COMBINATION”.
♦ If the PERIOD/PHASE combination conflicts with the PERIOD/PHASE combina-
tion of the Parent ECB200 or ECB202 to which the ECB201 is connected, the
I/A Series MDO block is undefined with ERCODE set to “W81 - INVALID PAR-
ENT DCI ECB PERIOD/PHASE”.
If there are no configuration errors when the I/A Series MDO block is installed, the block is
marked defined (BLKSTA.UDEF=0) and ERCODE is cleared (nulled). If the compound con-
taining the block is turned on, the block also initializes and starts running automatically.
295
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
When the Actual, Permitted, Target, or Normal modes change in the device MDO function
block, the corresponding DCI mode parameters are updated automatically from the MODE_BLK
function block parameter. In addition, the Actual mode is mapped onto equivalent BLKSTA
parameter bits.
When the Actual block mode is Auto, the following additional functions are performed:
♦ Requested changes to the IN_D1-IN_D8 parameters by the I/A Series user or by a
source connection are saved in the DCI block and written to the device MDO func-
tion block via the FBM228.
♦ The actual IN_D1-IN_D8 input parameter values and status are updated from read-
back data received in the reply to a read message. The CHMASK parameter is used to
determine which values to process.
♦ Downloading of configuration parameters that have changed since the previous block
cycle.
♦ Updating of the Fault State (FSTATE) parameter from the View data.
♦ Other View data parameters are updated, if any changes in these parameters have
occurred since the previous block cycle.
♦ Block Error (BLKERR) processing begins.
♦ External configuration changes to function block parameters are propagated.
♦ Configuration Error (CFGERR) processing begins.
♦ If BADOPT=1, Bad Alarming of the inputs is performed.
The Actual block mode (MODE_BLK.Actual) is provided in the I/A Series MDO block in two
forms:
♦ The Actual mode is stored in the MODE_A output parameter.
♦ The Actual mode also is mapped onto equivalent bits in the BLKSTA block status
parameter.
♦ The OOS state is mapped onto the OOS value status bit of the BLKSTA parameter.
♦ The IMAN state is mapped onto the BLKSTA.TRK status bit.
♦ The LO state is mapped onto both the BLKSTA.TRK and BLKSTA.LO status bits.
♦ The AUTO state sets BLKSTA.MA=1.
296
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
♦ The Limited High (Bit 0) and Limited Low (Bit 1) fields are mapped onto the LHI
and LLO status bits.
NOTE
The .SubStatus bits in multiple discrete output blocks vary with the specific I/O
subsystem or multi-output device, and may not be the same as the standard
FOUNDATION fieldbus bit assignment usage in other device function blocks.
Bits Description
0-1 Limits
0 = Not limited
1 = High limited
2 = Low limited
3 = Constant (both high and low limited bits set)
2-5 Refer to the device documentation
6-7 Quality
0 = Bad
1 = Uncertain
2 = Good (non-cascade)
3 = Good (cascade)
Table 8-19 shows the usage of the Substatus bits, which varies depending on which .Quality bits
are set.
Table 8-19. Device Parameter Substatus
297
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
298
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
299
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
The CP270 also supports connections to specific inputs in the MDO blocks from parameters
contained in device function blocks mapped to any standard I/A Series control or I/O block.
These inputs are updated each block cycle from data in the function block parameter; the data
contained in the specified I/A Series source parameter will not be used. The inputs of this type are
listed in Table 8-20 below.
When the source of an input connection is a function block parameter, the I/A Series block con-
nection is made by the CP270, and the source BlockName and ParameterName are extracted
from the connection and appended to a connect message. This message is sent to the FBM228 to
establish a fieldbus connection to the function block source parameter.
When the source of an input connection is a function block parameter, the BlockName is the
TagName of the FF function block, which is the same as the name of the source I/A Series block.
The ParameterName is the 1-6 character name of the parameter in the source I/A Series block for
those connections listed in Table 8-21 below. In these cases, the name of the I/A Series block
parameter is converted to the equivalent function block parameter index by the CP270 prior to
appending it to the connect message. In all other cases, the ParameterName must be configured
to be the parameter index of the function block parameter.
If the fieldbus connection cannot be made due to an invalid BlockName or ParameterName, the
ERCODE parameter in the block is set to the following text and the block is undefined:
“W83 - INVALID FF PARAMETER CONNECTION”
300
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
301
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
Bad alarm messages are generated for each point independently when its status is bad (i.e.,
IN_Dn.BAD, where n=1-8).
When the point value becomes bad, a bad alarm message is created and sent to all devices in the
bad alarm group specified by the BADGRP parameter. This message contains a “BAD_n” (if
IN_Dn) text string to identify the appropriate point. This message also contains the respective
DESCRn point descriptor, the descriptive text in the BADTXT parameter, and the loop identifier
in the LOOPID parameter.
When the point value becomes good, a return-to-normal message is generated and sent to all
devices in the bad alarm group.
When any point value is bad, the BAD bit is set in the alarm status parameter (ALMSTA.BAD).
The UNACK parameter and the ALMSTA.UNACK bit are set. The CRIT parameter and ALM-
STA.CRIT field are set to the BADPRI parameter value, and the PRTYPE parameter and ALM-
STA.PRTYPE field are set to the Bad alarm type.
When all point values have returned to good status, BAD, CRIT, PRTYPE and their correspond-
ing fields in ALMSTA are cleared.
The UNACK parameter and the ALMSTA.UNACK bit are cleared in these cases:
♦ When the alarm is acknowledged at the compound level, by setting the compound
UNACK=0, or at the block level, by setting the block UNACK=0.
♦ When all point values return to normal, if INHOPT is set appropriately.
♦ When the block is shut down.
When UNACK is cleared, an Alarm Acknowledge message is generated and sent to all devices in
the bad alarm group.
Alarm Inhibiting/Disabling is supported using a combination of the compound CINHIB param-
eter and the INHOPT, INHIB, and INHALM parameters in the MDO block, to allow the bad
alarm messages to be inhibited and/or the alarm detection to disabled dynamically.
The INHALM parameter can be used to inhibit or disable bad alarming selectively for any group
of the 1-8 points.
When Bad alarming is inhibited or disabled, an Alarm Disable message is generated and sent to all
devices in the alarm group. If the Alarm is unacknowledged, an Alarm Acknowledge message also
is sent to these devices. The ALMSTA.INHIB bit is set, and the appropriate INHSTA.BAD bits
are set.
When Bad alarming is uninhibited or enabled, an Alarm Enable message is generated and sent to
all devices in the alarm group. The appropriate BAD bits in the INHSTA parameter are cleared,
and the ALMSTA.INHIB bit is cleared if all channels are uninhibited or enabled.
The Alarm Reprioritization and Alarm Message Regeneration (using AMRTIN) enhancements
also are supported in this MDO block. Refer to the Control Processor 270 (CP270) Integrated Con-
trol Software Concepts (B0700AG) for details.
302
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
A Fault State Delay (FSDLAY) value also must be configured in the ECB200/202. This value is
downloaded when the FBM is rebooted and when the configuration of the ECB200/202 is
changed. The fault state timer counts down and is reset to the FSDLAY value when the read or
write message is received.
Two distinct fault state options may be configured in the FSOPTN parameter in the MDO
block. These fault state options are downloaded into the FBM228 when the MDO block connec-
tion is established. The options are:
♦ FSOPTN Bit 2: 1= Assert Fault State upon loss of CP communication
♦ FSOPTN Bit 0: 1= Assert Fault State if Bad Output
The Fault State Timer (FSTIME) and Fault State Values (FSVAL_1-FSVAL_8) are downloaded
into the device function block when the MDO block initializes and any of these values is re-con-
figured.
If the FSENAB option is set and the Assert Fault State upon loss of CP communications option is
configured, FBM228 performs the following actions:
♦ The fault state timer counts down periodically between receipt of read and write mes-
sages. When either message is received for a device MDO function block, its failsafe
timer is reset to the FSDLAY value.
♦ If the fault state timer expires, the FBM sets the status of each of the IN_D1-IN_D8
function block parameters to BAD in the field device (IN_Dn.Status Bits 6-7=0).
♦ When the CP communications is restored, the failsafe timers are reset to full value
automatically by the first read or write message to each connection.
♦ If the fault state had been previously asserted by a request from the CP and the failsafe
condition still exists in the CP, the write message requests the BAD status to remain
set in the IN_D1-IN_D8 function block parameters. Otherwise, the write message
requests the status of these parameters to be set to Good Non-Cascade in the field
device (IN_Dn.Status Bits 6-7=2).
These actions are taken independent of the FSENAB option.
The FBM configuration does not establish the device Fault State behavior as that is determined by
options in the device function blocks. Different behaviors can be set for each device connected to
the FBM, and in the case of the multiple discrete output devices, for each channel.
The device Fault State options are designed primarily to deal with communication failures above
the device, while working in concert with ECB options. Enabling Fault State is effective under
two external conditions:
♦ When Fault State is asserted by the connected FBM
♦ When communications to the device are lost and the device MDO block mode is
Auto.
The actual Fault State behavior taken by the device function block is specified in the following
I/A Series system MDO block parameters (Table 8-23).
303
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
Table 8-23. Fault State Parameters in the Device MDO Function Block
Parameter Description
MOOPTS Configures the device function block MO_OPTS parameter to enable/dis-
able two Fault State options for each output (IN_Dn).
♦ Use Fault State on Restart n: Selecting this option causes the IN_Dn
output to go to the value specified in FSTATE_VAL_Dn on a device
RESTART. If this option is not selected and the device can go to its tar-
get mode upon RESTART, the last saved setpoint is used for generating
the Fault State position.
♦ Fault State to Value n: When this option is selected, the block uses the
value specified for output n in FSTATE_VAL_Dn. When the option is
not selected, the last saved setpoint is used.
FSV_Dn Configures FSTATE_VAL_Dn in the device function block to specify the
value that is asserted when one of the faultstate options is invoked for the
channel.
FSTIME Configures FSTATE_TIME in the device function block to set the period
that the fault condition must last before the block asserts the specified value.
A Fault State action does not occur until the FSTATE_TIME interval has
expired.
304
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
♦A write message is sent to the FBM228 with both the current state and the
IMAN bits set in the Target mode. The IMAN bit is set to indicate to the
FBM228 that the compound is off.
♦ Otherwise, if the FSOPTN is set, a write message will be sent to the FBM228
to drive the IN_D1-IN_D8 parameters to their fault state values. The FBM
sets the status of the IN_D1-IN_D8 parameters to BAD (IN_Dn.Status Bits
6-7=0) in the field device.
2. Otherwise, if the FSOPTN is set, a write message is sent to the FBM228 to drive the
IN_D1-IN_D8 parameters to their fault state values. The FBM sets the status of the
IN_D1-IN_D8 parameters to BAD (IN_Dn.Status Bits 6-7=0) in the field device.
8.6.16 Simulation
The I/A Series MDO block SIMOPT parameter enables simulation of output to and readback
from the corresponding multiple discrete output device function block. This feature can be used
to test control schemes requiring discrete outputs without the actual FBM228 hardware connec-
tions.
When SIMOPT= 1 (True), the value contained in IN_Dn is not written to the H1 device and the
value and status of IN_Dn are not recovered from the device function block. However, the
IN_Dn and INST_Dn parameters are updated as if the value and status had been read back from
the device.
When SIMOPT= 1, the following functions are performed:
♦ The actual values and status of the IN_Dn inputs are updated from the requested val-
ues and status each block cycle when the Actual block mode is Auto. The CHMASK
parameter determines which values to process.
♦ The INSTn input status parameters is set to Good Non-Cascade (0x80).
♦ Changes to the target mode via the mode switches (AUT_SW, MAN_SW, or
OOS_SW) immediately update target mode parameter (MODE_T), and the actual
block mode (MODE_A) tracks MODE_T each block cycle.
♦ If BADOPT=1, Bad Alarming of the inputs is performed.
When SIMOPT = 1, the following functions are not performed:
♦ Downloading of configuration parameters
♦ Updating of View data parameters
♦ Block Error (BLKERR) processing
♦ External configuration changes to function block parameters
♦ Configuration Error (CFGERR) processing.
Refer to InFusion Enterprise Control System: Implementing FOUNDATION fieldbus in InFusion 2.0
(B0750DA) or Implementing FOUNDATION fieldbus on the I/A Series System (B0700BA) for
instructions on conducting control simulations from control station.
305
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
BSTATE Value
(Int (Bin)) State Value Description
0 (00000000) Undefined -
1 (00000001) Unconnected A DCI block has been deleted/undeployed
from the CP configuration.
2 (00000010) Connecting A DCI block has been created in the CP;
The FBM is creating the block structures in
an internal FBM database.
3 (00000011) Connecting Failed The FBM can fail to create a new block for a
number of reasons. For example:
- Connection already exists.
- FBM is out of memory
- No block match
- Invalid block
4 (00000100) Scheduling Block Execution A block schedule is being created.
5 (00000101) Scheduling Block Execution A schedule configuration failed. The FBM
Failed could not deploy block or LAS schedule.
Check schedule or schedule configuration.
6 (00000110) Creating Block Connections Publisher/Subscriber connections are being
created.
7 (00000111) Creating Block Connections FBM failed to create block Publisher/Sub-
Failed scriber connections. Check the configura-
tion. This may be a temporary condition
while the FBM is processing other blocks.
8 (00001000) Writing Block Parameters Block parameters are being written to a
device
9 (00001001) Writing Block Parameters FBM failed to write parameters to device
Failed resident block. The block detailed display
“Maintenance” overlay may have more
information. Verify block configuration in
IEE. Use the Field Device Manager to com-
pare configuration data base with device
database.
10 (00001010) Block ON LINE - OK Connection processing has been successful
and data/point connection has been estab-
lished.
11 (00001011) Block ON LINE – Error Processing has been completed, but some
step of the processing failed. The block
detailed display “Maintenance” overlay may
have more information. Also check the
System Manager status information for the
corresponding FF H1 device.
306
8. MDO - Foundation™ fieldbus Multiple Discrete Output B0700EC – Rev B
NOTE
Since the device MDO function block does not support cascade initialization, it is
strongly recommended that the I/A Series MDO block be used only in non-control
configurations. It should not be used to drive actuators in the field device.
Parent ECB200/202
PARENT PARENT
IOM_ID
NAME
307
B0700EC – Rev B 8. MDO - Foundation™ fieldbus Multiple Discrete Output
308
9. PIDFF – FOUNDATION™ fieldbus
PID Block
This chapter describes the I/A Series FOUNDATION™ fieldbus PID (PIDFF) block, which
interfaces the control system with a corresponding PID function block operating in a
FOUNDATION fieldbus H1 device.
9.1 Overview
FOUNDATION fieldbus PID (PIDFF) is a Distributed Control Interface (DCI) block that pro-
vides an interface between the control processor and a PID function block operating in a
FOUNDATION fieldbus H1 device. The PIDFF block is supported on the FCP270 and ZCP270
when the H1 device is connected to the control station by an FBM228. The PIDFF block is
configured using the InFusion Engineering Environment (IEE) as described in InFusion Enter-
prise Control System: Implementing FOUNDATION fieldbus in InFusion 2.0 (B0750DA).
NOTE
The PIDFF block functionality described in this chapter is applicable only for
FBM228s with the software type (SWTYPE) of “128”.
All device PID function blocks are not functionally equivalent. Refer to the device’s
vendor documentation for more details.
9.3 Features
♦ Acquires the block’s primary output value and status for read-back to the control
system
309
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
♦ Accesses the parameters in the device PID function block’s views using change-driven
and periodic client/server connections
♦ Ensures that changes in the device PID function block’s process values and error con-
ditions are continuously available for display and connection to the control strategy
♦ Supports the device block Fault State handling
♦ Provides for the configuration of device block parameters from the I/A Series system
and management of the device configuration in the control database
♦ Enables users to set the block mode of the device PID function block to Remote Cas-
cade, Cascade, Auto, Manual, or Out of Service
♦ Provides detection and reporting for process alarms including Bad I/O, High/Low
Absolute, High-High/Low-Low Absolute, High-Low Deviation, and High-Low
Output
♦ Supports the calculation of a simulated output with gain, reset, and rate action within
the control station.
310
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
311
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
312
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
313
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
314
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
1.
Device function block parameters are shown in this document in italics. Function blocks may
use different names for these parameters.
ALMOPT Alarm Options contain packed long values representing the alarm options
that have been configured in the block and the alarm groups that are in
use. Table 9-2 shows PIDFF usage of the parameter.
Bit
Number*
(0 to 31) Configured Alarm Option, When True
0 (lsb) Alarm Group 8 in Use
1 Alarm Group 7 in Use
2 Alarm Group 6 in Use
3 Alarm Group 5 in Use
4 Alarm Group 4 in Use
5 Alarm Group 3 in Use
6 Alarm Group 2 in Use
7 Alarm Group 1 in Use
16 Low absolute alarm option (HLOPT=1 or 3)
17 High absolute alarm option (HLOPT=1 or 2)
315
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
Bit
Number*
(0 to 31) Configured Alarm Option, When True
18 Low output alarm option (OALOPT=1 or 3)
19 High output alarm option (OALOPT=1 or 2)
20 Low deviation alarm (DEVOPT=1 or 3)
21 High deviation alarm (DEVOPT=1 or 2)
22 Bad alarm option (BADOPT=1)
24 Low-low alarm option (HHIOPT=1 or 3)
25 High-high alarm option (HHIOPT=1 or 2)
*Bit 0 is the least significant, low order bit.
ALMSTA Alarm Status is a 32-bit output, bit-mapped to indicate the block’s alarm
states. Table 9-3 shows the bits used by the PIDFF block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
UNAK B2
B3
B4
B5
B6
B7
B8
B9
CRIT PRTYPE
BAD
LLO
INH
HHI
HO
HD
HA
LO
LD
LA
Bit Boolean
Number Connection
(0 to 31)* Name Description (B32 to B1)
0 to 4 PTYP_MSK Priority type: See parameter PRTYPE on ---
page 336 for values used in this block
5 to 7 CRIT_MSK Criticality: 1 (highest priority) to 5 ---
16 LA Low absolute alarm ALMSTA.B16
17 HA High absolute alarm ALMSTA.B15
18 LO Low output alarm ALMSTA.B14
19 HO High output alarm ALMSTA.B13
20 LD Low deviation alarm ALMSTA.B12
21 HD High deviation alarm ALMSTA.B11
22 BAD Bad alarm ALMSTA.B10
27 LLO Low-low alarm ALMSTA.B5
28 HHI High-high alarm ALMSTA.B4
29 INH Alarms Inhibited ALMSTA.B3
316
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
Bit Boolean
Number Connection
(0 to 31)* Name Description (B32 to B1)
30 UNAK Unacknowledged: There is at least one unac- ALMSTA.B2
knowledged alarm.
*Bit 0 is the least significant, low order bit.
AMRTIN Alarm Message Regeneration Time Interval specifies the rate at which
alarm messages are generated for alarm conditions that have not been
cleared. The interval is specified in seconds. The configured interval is
rounded up to the closest value that is an even multiple of the station
BPC. A value of 0 disables alarm message regeneration.
AUT_SW Auto Switch is a settable Boolean output used to set the MODE_T
parameter, and therefore MODE_BLK.Target in the device PID block, to
Auto.
BADPRI Bad Alarm Priority is a configurable integer input used to specify the
Alarm Priority to be assigned to Bad Alarms in the block. BADPRI is
settable if unlinked. The range is 1 (highest) to 5 (default).
317
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
BLKERR Block Error is a non-settable, packed Boolean output that contains the
BLOCK_ERR parameter of the device PID block. Table 9-4 shows the
parameter format.
318
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
BLKNDX Block Index is a configurable, non-settable long integer that contains the
index of the device function block represented by the PIDFF block. The
index is acquired when the PIDFF is bound to a DD either when the
device is templated or the block instance is assigned to a device instance. It
is set by the configurator and the FBM uses it to identify the block in the
device.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
DEVACK B9
FDFAIL
FDACT
FDMM
FDOK
UDEF
FBM
TRK
LCK
FFX
BIO
ON
MA
SC
SE
LO
LR
FS
FF
FL
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
3 LO The device function block mode is Local Override BLKSTA.B29
6 TRK The block is being tracked as the device function BLKSTA.B26
block is in Local Override or Initialization Manual
mode
319
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
8 FBM There is a communication failure between BLKSTA.B24
CP and FBM
10 LR Local/Remote BLKSTA.B22
11 MA The block mode is Auto BLKSTA.B21
12 BIO Bad I/O: at least one channel is Bad BLKSTA.B20
14 UDEF The block is undefined BLKSTA.B18
15 ON The compound that contains the block is ON BLKSTA.B17
16 FFX Enhanced FF Block Connection BLKSTA.B16
17 FDACT Download active BLKSTA.B15
18 FDFAIL Download failure BLKSTA.B14
19 FF FF block connection BLKSTA.B13
20 LCK A workstation has locked this block BLKSTA.B12
21 FDOK FDATA installed BLKSTA.B11
22 FDMM FDATA mismatch BLKSTA.B10
23 DEVACK Unacknowledged device alarm (DEVACK) BLKSTA.B9
24 FS Failsafe asserted BLKSTA.B8
28 SE Supervisor enabled BLKSTA.B3
29 SC Supervisor control BLKSTA.B2
30 FL Fallback state BLKSTA.B1
* Bit 0 is the least significant, low order bit.
320
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
BYPASS Bypass is a non-settable short integer that contains the BYPASS parameter
of the device PID block.
In the device function block, the normal control algorithm may be
bypassed through this parameter. When BYPASS is set, the setpoint value
(in percent) is directly transferred to the output. To prevent a bump on
transfer to/from bypass, the setpoint is automatically initialized to the out-
put value or process variable, respectively, and the path broken flag is set
for one execution.
CAS_IN Cascade In is a real input that specifies the CAS_IN value, the remote set
point, in the PID block.
CAS_IN can be linked either to an I/A Series block parameter or to a
device function block parameter. CAS_IN is settable when it is unlinked
and the block is CAS mode.
CAS_SW Cascade Switch is a settable Boolean output used to set the MODE_T
parameter, and therefore MODE_BLK.Target in the device PID block, to
CAS.
CASSTS Cascade Status is a non-settable, packed Boolean output that contains the
CAS_IN.Status of the device PID block. See Section 9.7for a description
of the .Status value.
321
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
CRIT Criticality is an integer output that indicates the priority of the block’s
highest currently active alarm. The range is 1 (highest priority) to 5. An
output of 0 indicates the absence of alarms.
DEFINE Define is a data store that indicates the presence or absence of configura-
tion errors. The default is 1 (no configuration errors). When the block
initializes, DEFINE is set to 0 if any configured parameters fail validation
testing. See “ERCODE” on page 239 for a list of all possible validation
errors in this block.
♦ If DEFINE = 0, no further processing of the block occurs,
including further validation of remaining parameters.
♦ To return DEFINE to a True value, correct all configuration errors
and reinstall the block.
♦ If DEFINE = 0, the bit BLKSTA.UDEF = 1.
322
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
NOTE
This parameter is not supported currently.
323
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
mal parameter, which sets the number of places to the right of the decimal
used in displays of the OUT parameter. The range is 0 to 10.
ERCODE Error Code is a string data store that indicates the type of configuration
error which caused the block’s DEFINE parameter to be set False.
Validation of configuration errors does not proceed past the first error
encountered by the block logic.
Table 9-7 lists the possible values of ERCODE for the PIDFF block.
ERCODE
W43 - INVALID PERIOD/PHASE COMBINATION
324
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
ERCODE
W44 - INVALID ENGINEERING RANGE
W48 - INVALID BLOCK OPTION
W54 - ECB DOES NOT EXIST
W62 - UNRESOLVED CONNECTION
W65 - INVALID POINT ADDRESS
W66 - DUPLICATE CONNECTION
W67 - INSUFFICIENT FBM MEMORY/CONNECTIONS
W68 - INVALID DEVICE CONNECTION
W69 - INVALID POINT CONNECTION
W73 - FF FUNCTION BLOCK CONFIGURATION ERROR
W74 - FF FUNCTION BLOCK DDITEM MISMATCH
W75 - FF FUNCTION BLOCK DDMBR MISMATCH
W76 - INVALID FF MODE CONFIGURATION
W77 - FIELDBUS COMMUNICATION FAULT
W78 - INVALID FUNCTION BLOCK
W79 - INVALID PARAMETER INDEX
W80 - FIELDBUS DEVICE NOT FOUND
W81 - INVALID PARENT DCI ECB PERIOD/PHASE
W82 - FF CONFIGURATION IN PROGRESS
W83 - INVALID FF PARAMETER CONNECTION
W84 - INVALID FF PARAMETER TYPE
W85 - INVALID CONNECTION TYPE
W86 - MAN_ID, DVC_ID, OR DECREC MISMATCH
325
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
FDATA1 File Data #1 and File Data #2 are settable multi-byte arrays that provide
FDATA2 configuration data for the PID block represented by the PIDFF block.
These parameters encapsulate extended PID parameters that were
acquired from the device DD and configured using Field Device Manager,
as well as schedule and connection information.
This file data is downloaded automatically into the FBM228 when the
FDATA1 parameter is changed in the CP270 via an OM write access
operation. This download also will occur automatically when the CP270
or FBM228 reboots and when the FBM228 is put on-line. The size of
each FDATAn parameter is 255 bytes, for a total array size of 510 bytes.
FFGAIN Feed Forward Gain is a configurable, settable real output that specifies the
FF_GAIN parameter of the device PID block. It may be sourced by an
I/A Series block parameter or by a device block parameter. The FF_Gain
value is multiplied by the feed forward input (FF_VAL) before the gain is
added to the calculated control output.
FFVAL Feed Forward Value is a configurable real input that specifies the feed for-
ward input (FF_VAL parameter) of the device PID block. It may be
sourced by an I/A Series block parameter or by a device function block
parameter.
FFVSTS Feed Forward Value Status is a non-settable packed boolean output that
contains the FF_VAL.Status parameter of the device PID block. See
Section 9.7 for a description of the .Status value.
FLBOPT Fallback Option is a short integer input that defines the control action to
be taken by the block when a Supervisory fallback occurs:
0 = Take no fallback action (default)
1 = Set the Target Mode to Auto
2 = Set the Target Mode to Manual
3 = Set the Target Mode to Cascade
FLBOPT is disabled if either LR or MA is driven by a source parameter.
FLBREQ Fallback Request is a short integer output that is an explicit request for the
block to go to the Fallback state, with recovery at the block level (when SE
is set), and/or at the group level (when the appropriate group enable bit is
set in SUPENA).
0 = No fallback requested
1 = Fallback requested; recovery at block or group level
2 = Fallback requested; recovery only at block level
FLBREQ is disabled if either LR or MA is driven by a source parameter.
326
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
FSOPTN Fault State Option is a configurable integer parameter that specifies the
Fault State conditions and action to be taken by the CP and the FBM for
an output point in the corresponding device PID function block:
♦ Bit 0: 1 = Assert Fault State when the CAS_IN parameter is
sourced by an I/A Series parameter and the CAS_IN is
BAD, OOS, or has a broken connection.
Note that ERROPT must be configured nonzero for this
option to take effect.
♦ Bit 1: 1 = Assert Fault State when the CAS_IN parameter is
sourced by an I/A Series parameter and the SETFS input is
set/cleared.
♦ Bit 2: 1 = Assert Fault State if control station-to-FBM communi-
cation is lost (FBM option). This option is enabled only
when the CAS_IN parameter is sourced by an I/A Series
parameter and the Fault State is enabled at the FBM level
via the FSENAB parameter in the ECB200 or ECB202.
HDLIM High Deviation Alarm Limit is a configurable, settable real input used to
specify the high limit value to be used in the Deviation Alarm detection
logic in the block. It is equivalent to the DV_HI_LIM parameter in a
device function block; however, HDLIM does not set the corresponding
device block parameter.
HHILIM High-High Alarm Limit is a configurable, settable real input used to spec-
ify the high limit value to be used in the High-High Alarm detection logic
in the PIDFF block. It is equivalent to the HI_HI_LIM parameter in a
device PID block; however, HHILIM does not set the corresponding
device block parameter.
327
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
HILIM High Alarm Limit is a configurable, settable real input used to specify the
high limit value to be used in Absolute Alarm detection logic in a PIDFF
block. It is equivalent to the HI_LIM parameter in a PID function block;
however, HILIM does not set the corresponding device block parameter.
HLGRP High Low Alarm Group is a configurable, non-settable short integer used
to specify the alarm group assigned to High Low Absolute Alarms in the
PIDFF block. The range is 1 (default) to 8.
HLOPT High Low Alarm Option is a configurable, non-settable short integer used
to enable or disable High and Low Absolute Alarm detection in a PIDFF
block. Valid settings are:
♦ 0 = Disable High and Low Absolute Alarming
♦ 1 = Enable High and Low Absolute Alarming
♦ 2 = Enable High Absolute Alarming only
♦ 3 = Enable Low Absolute Alarming only.
HLPRI High Low Alarm Priority is a configurable, settable integer input used to
specify the alarm priority to be assigned to High Low Absolute Alarms in a
PIDFF block. The range is 1 (highest) to 5 (default).
HOALIM High Output Alarm Limit is a configurable, settable real input used to
specify the high limit value to be used in Absolute Alarm detection logic in
the block for high output alarms. It is equivalent to the OUT_HI_LIM
parameter in a device PID function block; however, HOALIM does not
set the corresponding device block parameter.
328
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
IN Input is a configurable real input that specifies the primary input value of
the device PID function block (IN parameter). It may be sourced from an
I/A block parameter or from a device PID function block parameter.
INHALM Inhibit Alarm contains packed Boolean values that represent alarm
generation inhibit requests for each type of alarm configured in the block.
Table 9-8 shows how the bits are used by the PIDFF block.
Bit Boolean
Number* Description, Connection
(0 to 15) Name When True (B16 to B1)
16 LA Inhibit Low Absolute Alarm INHALM.B16
17 HA Inhibit High Absolute Alarm INHALM.B15
18 LO Inhibit Low Output Alarm INHALM.B14
19 HO Inhibit High Output Alarm INHALM.B13
20 LD Inhibit Low Deviation Alarm INHALM.B12
21 HD Inhibit High Deviation Alarm INHALM.B11
22 BAD Inhibit Bad I/O Alarm INHALM.B10
24 LLO Inhibit Low-Low Absolute Alarm INHALM.B8
25 HHI Inhibit High-High Absolute Alarm INHALM.B7
*Bit 0 is the least significant, low order bit.
There are no mnemonic names for the individual bits of INHALM.
INHIB Inhibit is a configurable, connectable and settable boolean that, when set,
suppresses all alarm message reporting. INHIB affects only alarm message
reporting; the alarm handling and detection functions are determined by
the INHOPT setting.
INHOPT Inhibit Option specifies the following actions applying to all block alarms:
0 = When an alarm is inhibited, disables alarm messages but does not
disable alarm detection.
329
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
INHSTA Inhibit Status contains packed long values that represent the current
inhibit status of each alarm type configured in the block. Table 9-9 shows
how the parameter is used with the PIDFF block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BAD B10
B11
B12
B13
B14
HMA B15
LMA B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
HHA B7
LLA B8
B9
HO
HD
LO
LD
Bit Boolean
Number* Description, Connection
(0 to 31) Name When True (B32 to B1)
16 LMA Low Absolute Alarm Inhibited INHSTA.B16
17 HMA High Absolute Alarm Inhibited INHSTA.B15
18 LO Low Output Alarm Inhibited INHSTA.B14
19 HO High Output Alarm Inhibited INHSTA.B13
20 LD Low Deviation Alarm Inhibited INHSTA.B12
21 HD High Deviation Alarm Inhibited INHSTA.B11
22 BAD Bad I/O Alarm Inhibited INHSTA.B10
24 LLA Low-Low Absolute Alarm Inhibited INHSTA.B8
25 HHA High-High Absolute Alarm Inhibited INHSTA.B7
*Bit 0 is the least significant, low order bit.
INITSE Initial Supervisory Enable specifies the initial Supervisory Control state in
a block configured for Supervisory Control (SUPOPT = 1 or 3) when the
block initializes due to reboot, installing the block, or turning on the com-
pound. Options are:
0 = Disable Supervisory Control, i.e., set the Target mode (MODE_T) to
the highest state below Remote Cascade that is specified in the Permitted
Mode (MODE_P).
330
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
INSTS Input Status is a non-settable packed boolean output that contains the
IN.Status of the associated the device PID block. See Section 9.7 for a
description of the .Status value.
LDLIM Low Deviation Alarm Limit is a configurable, settable real input used to
specify the low limit value to be used in the Deviation Alarm detection
logic in the block. It is equivalent to the DV_LO_LIM parameter in a
device PID function block; however, LDLIM does not set the device block
parameter.
LLOLIM Low-Low Alarm Limit is a configurable, settable real input used to specify
the low limit value to be used in the Low-Low Alarm detection logic in
the PIDFF block. It is equivalent to the LO_LO_LIM parameter in a
device PID block; however, LLOLIM does not set the device block
parameter.
331
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
LOALIM Low Alarm Limit is a configurable, settable real input used to specify the
low limit value to be used in Low Output Alarm detection logic in the
PIDFF block. It is equivalent to the OUT_LO_LIM parameter in a device
PID function block; however, LOALIM does not set the device block
parameter.
LOCKID Lock Identifier is a string identifying the workstation that has locked
access to the block via a successful setting of LOCKRQ. LOCKID has the
format LETTERBUG:DEVNAME, where LETTERBUG is the 6-char-
acter letterbug of the workstation and DEVNAME is the 1- to 6-character
logical device name of the Display Manager task.
LOCKRQ Lock Request is a Boolean input which can be set True or False only by a
SETVAL command from the LOCK U/L toggle key on workstation dis-
plays. When LOCKRQ is set True in this fashion, a workstation identifier
accompanying the SETVAL command is entered into the LOCKID
parameter of the block. Thereafter, set requests to any of the block’s
parameters are only honored (subject to the usual access rules) from the
workstation whose identifier matches the contents of LOCKID.
LOCKRQ can be set False by any workstation at any time, whereupon a
new LOCKRQ is accepted, and a new ownership workstation identifier is
written to LOCKID.
LOLIM Low Alarm Limit is a configurable, settable real input used to specify the
low limit value to be used in Absolute Alarm detection logic in a PIDFF
block. It is equivalent to the LO_LIM parameter in a device PID function
block; however, LOLIM does not set the device PID function block
parameter.
332
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
When LR is set to Remote, the Target mode will be set to Cascade. While
the Actual mode is Cascade, the block’s setpoint will be provided by the
CAS_IN parameter.
When LR is set to Local, the Target mode will be set to Auto. While the
Actual mode is Auto, the block's setpoint will be provided by the SP
parameter.
LSCI1 PV Low Scale Value specifies the PV_SCALE@0% parameter value of the
device PID function block.
MAN_SW Manual Switch is a settable output used to set the MODE_T parameter,
and thus the MODE_BLK.Target in the PID block, to Manual.
333
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
334
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
OOS_SW Out of Service Switch is a settable output used to set the MODE_T
parameter, and thus the MODE_BLK.Target in the device PID block, to
Out of Service.
OUT Out is a real output that contains the OUT parameter of the device PID
block. OUT is settable when the block is in Manual mode.
OUTHLM Output High Limit is a configurable real input that specifies the
OUT_HI_LIM parameter of the device PID block. It is settable if
unlinked. OUT_HI_LIM sets the maximum output value.
OUTLLM Output Low Limit is a configurable real input that specifies the
OUT_LO_LIM parameter of the device PID block. It is settable if
unlinked. OUT_LO_LIM sets the minimum output value.
OUTPRI Output Alarm Priority is a configurable integer input used to specify the
Alarm Priority to be assigned to Low Output Alarm and High Output
Alarms in the block. BADPRI is settable if unlinked.
OUTSTS Output Status is a non-settable, packed Boolean output that contains the
OUT.Status of the device PID block. See Section 9.7 for a description of
the .Status value.
335
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
PERIOD Period is an indexed input that dictates the block’s execution time base
and allowable PHASE values. PERIOD values range from 0 to 9 and map
to the following period time lengths:
Period Length Period Length
0 0.1 second 5 30 seconds
1 0.5 second* 6 1 minute
2 1.0 second 7 10 minutes
3 2.0 seconds 8 60 minutes
4 10 seconds 9 0.2 second
*If the BPC is 0.2 second, this period is treated internally as 0.6 second,
but the PERIOD parameter remains 1.
PHASE Phase is a zero-based integer input that causes the block to execute at a
specific BPC within the time determined by the PERIOD. For instance,
assuming that the BPC of the I/A Series station is 0.5 second, a block with
a PERIOD of 3 (2.0 seconds) can execute within the first, second, third,
or fourth BPC of the 2-second time period. See Integrated Control Software
Concepts (B0700AG).
PRIBLK Primary Block indicates whether the PIDFF block has a connection from
an upstream block (PRIBLK = 1) or not (PRIBLK = 0). Its value and the
value of PRITIM determine whether the block remains in holding until
the upstream block returns an acknowledgement, remains in holding for a
fixed time delay, or ends the hold after one cycle.
PRITIM Primary Cascade Timer is a configurable parameter used to delay the clos-
ing of the cascade to a primary block when the output is initialized in the
PIDFF block. It is used only if the PRIBLK option is set. If PRITIM = 0
and PRIBLK is used, the cascade remains open indefinitely until acknowl-
edged by the primary block.
PRTYPE Priority Type is an indexed output parameter that indicates the alarm type
of the highest priority active alarm. For the PIDFF block:
♦ 0 = No active alarm
♦ 1 = High Absolute
♦ 2 = Low Absolute
♦ 3 = High-High Absolute
♦ 4 = Low-Low Absolute
♦ 5 = High Deviation
♦ 6 = Low Deviation
♦ 8 = BAD Alarm
If there is more than one active alarm with highest priority, PRTYPE
reports the alarm type occurring first in the following order: Bad, High-
High Absolute, Low-Low Absolute, High Absolute, Low Absolute, High
Deviation, Low Deviation, High Output, and Low Output. For example:
336
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
if the Bad and High-High Absolute alarms both have priority 3 and the
Deviation alarm has priority 4, and all three alarms are active, then
CRIT = 3 (priority of Bad Alarm) and PRTYPE = 8 (Bad Alarm type).
PVSTS Process Variable Status is a non-settable, packed Boolean output that con-
tains the PV.Status of the device PID block. See Section 9.7 for a descrip-
tion of the .Status value.
RATE Rate is a configurable, downloadable, settable real output that specifies the
RATE tuning parameter of the device PID block. RATE defines the deriv-
ative time constant, in seconds.
RCASSW Remote Cascade Switch is a settable output that is used to set the Target
Mode to Remote Cascade in the device PID block.
RCISTS Remote Cascade Input Status is a non-settable packed boolean output that
contains the RCAS_IN.Status of the device PID block. See Section 9.7 for
a description of the .Status value.
RI1 Input Range 1 is a non-settable real data array that contains a copy of the
HSCI1 (PV_SCALE@100%) and LSCI1 (PV_SCALE@0%) engineering
range scaling parameters.
RI2 Input Range 1 is a non-settable real data array that contains a copy of the
HSCI2 (TRK_SCALE@100%) and LSCI2 (TRK_SCALE@0%) engineer-
ing range scaling parameters.
RI3 Input Range 1 is a non-settable real data array that contains a copy of the
HSCI3 (FF_SCALE@100%) and LSCI3 (FF_SCALE@0%) engineering
range scaling parameters.
337
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
RO1 Output Range 1 is a non-settable real data array that contains a copy of
the HSCO1 (OUT_SCALE@100%) and LSCO1 (OUT_SCALE@0%)
engineering range scaling parameters.
SETFS Set Failsafe is a non-configurable, settable boolean output that when set
causes the CP270 to request the FBM228 to assert failsafe in the device
PID block. The set failsafe request is implemented if the SETFS option is
set in the FSOPTN parameter (bit 1 =1).
SPHLIM Set Point High Limit is a configurable, downloadable, real parameter that
specifies the value of the SP_HI_LIM parameter in the device PID block.
SPHLIM is settable if the parameter is unlinked.
SPLLIM Set Point Low Limit is a configurable, downloadable, real parameter that
specifies the value of the SP_LO_LIM parameter in the device PID block.
SPLLIM is settable if the parameter is unlinked.
338
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
SPSTS Set Point Status is a non-settable, packed Boolean output that contains the
SP.Status of the device PID block. See Section 9.7 for a description of
the .Status value.
339
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
♦ 0 = No Supervisory control
♦ 1 = Set Point Control (SPC) of the block's Secure Supervisory
Control (SSC)
♦ 3 = SPC, with an implicit acknowledge by the CP
Be aware that option 1 requires an explicit acknowledge by the application
software to close the supervisory cascade. This must be done by setting the
ACK status bit in the SUP_IN parameter using special OM access func-
tions.
TRISTS Track Input Status is a non-settable packed boolean output that contains
the TRK_IN_D.Status of the device PID block. See Section 9.7 for a
description of the .Status value.
TRKIND Track Input is a configurable short integer input that specifies the
TRK_IN_D parameter of the device PID block. It may be sourced by an
I/A Series block parameter or by a device PID function block parameter.
TRK_IN_D is used to initiate external tracking of the block output to the
value specified by TRK_VAL.
TRKVAL Track Value is a configurable real input that specifies the TRK_VAL
parameter of the device PID block. It may be sourced by from I/A Series
block parameter or from a device PID function block parameter.
TRK_VAL used as the track value when external tracking is enabled by
TRK_IN_D.
TRVSTS Track Value Status is a non-settable packed boolean output that contains
the TRK_VAL.Status of the device PID block. Section 9.7 for a descrip-
tion of the .Status value.
TYPE Type is the block type. When a PIDFF block is added to the control data-
base, the configuration editor enters the value 127 to specify the PIDFF
block type.
340
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
Figure 9-1. PID Device PID Function Block Inputs and Outputs
The process value to be controlled is connected to the IN input (Figure 9-2). This value is passed
through a filter whose time constant is PV_FTIME. The value is then shown as the PV, which is
used in conjunction with the SP in the PID algorithm. A PID will not integrate if the limit status
of IN is constant.
341
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
The switch BYPASS is available to the operator if the Bypass Enable control option is true. Bypass
is used in secondary cascade controllers that have a bad PV. The Bypass Enable option is necessary
because not all cascade control schemes will be stable if BYPASS is true. BYPASS can only be
changed when the block mode is Man or O/S. While it is set, the value of SP, in percent of range,
is passed directly to the target output, and the value of OUT is used for BKCAL_OUT.
When the mode is changed to Cas, the upstream block is requested to initialize to the value of
OUT. When a block is in Cas mode, then on the transition out of bypass, the upstream block is
requested to initialize to the PV value, regardless of the “Use PV for BKCAL_OUT” option.
GAIN, RESET, and RATE are the tuning constants for the P, I, and D terms, respectively. Gain is
a dimensionless number. RESET and RATE are time constants expressed in seconds. There are
existing controllers that are tuned by the inverse value of some or all of them, such as proportional
band and repeats per minute. The human interface to these parameters should be able to display
the user's preference.
The Direct Acting control option, if true, causes the output to increase when the PV exceeds the
SP. If false, the output will decrease when the PV exceeds the SP. It will make the difference
between positive and negative feedback, so it must be set properly, and never changed while in an
automatic mode. The setting of the option must also be used in calculating the limit state for
BKCAL_OUT.
The output supports the feed forward algorithm. The FF_VAL input brings in an external value
which is proportional to some disturbance in the control loop. The value is converted to percent
of output span using the values of parameter FF_SCALE. This value is multiplied by the
FF_GAIN and added to the target output of the PID algorithm. If the status of FF_VAL is Bad,
the last usable value will be used, because this prevents bumping the output. When the status
returns to good, the block will adjust its integral term to maintain the previous output.
The output supports the track algorithm.
There is an option to use either the SP value after limiting or the PV value for the BKCAL_OUT
value.
PID supported the following modes: O/S, IMan, LO, Man, Auto, Cas, and RCas.
The alarm types are the Standard block alarm plus standard HI_HI, HI, DV_HI, DV_LO, LO,
and LO_LO alarms applied to PV.
The I/A Series system does not use the alarm features provided by the device blocks, but rather
provides alarm handling options in the CP-resident PDIFF block. The PIDFF block provides
detection and reporting for BAD I/O, high and low absolute and high-high and low-low alarm
conditions. See Section 9.7.3.
342
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
block, the relationship with the device PID function block can also be described in terms of sink
and source connections:
→ Source-sink The PIDFF block parameter is the source for the corresponding
device PID function block parameter. Thus, changes to the PIDFF
block parameter are made to the device parameter. For example,
when the PIDFF block is initialized, the TAGDSC value is copied to
the device PID function block TAG_DESC parameter.
← Sink-source The PIDFF block parameter value is updated by the corresponding
device PID function block parameter. For example, the MODE_A
parameter reads the device parameter MODE_BLK.Actual to make
the actual device PID function block mode visible to the control sys-
tem.
↔ Bidirectional Changes to the PIDFF block parameter are made to the correspond-
ing device PID function block parameter and vice versa. For example,
when a PIDFF block is initialized, its STOPTS parameter value is
written to the equivalent device PID function block parameter,
STATUS_OPTS, to configure how the function block processes block
status information. Subsequent changes to the status options made at
the device are written back to the PIDFF block STOPTS parameter.
The arrow notation is used in Table 9-11; the mappings are presented in alphabetic order,
arranged by the PIDFF block parameter names.
343
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
344
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
BLKSTA.TRK Å MODE_BLK.Actual.IMAN or LO
or BKCAL_IN.Status.Limited Hi and Low (Bits 0-1),
or BKCAL_OUT.Status.Limited Hi and Low (Bits 0-1)
BLKSTA.LO Å MODE_BLK.Actual.LO
BLKSTA.SE=0 cleared when CAS_SWÆ 1, AUT_SWÆ1, or MAN_SWÆ 1
BLKSTA.SE=1 set when RCASSWÆ1
BLKSTA.SC=0 Å MODE_BLK.Actual.AUTO or MAN or CAS
BLKSTA.SC=1 Å MODE_BLK.Actual.RCAS
BLKSTA.LR=0 Å MODE_BLK.Actual.AUTO or MAN or RCAS
BLKSTA.LR=1 Å MODE_BLK.Actual.CAS
BLKSTA.MA=0 Å MODE_BLK.Actual.MAN
BLKSTA.MA=1 Å MODE_BLK.Actual.AUTO or CAS or RCAS
BLKSTA.FBM Å CP-FBM communications is failed
BLKSTA.BIO Å IN.Status.Bad (Bits 6-7=0) or BCALCI.Status.Bad (Bits 6-7=0)
BLKSTA.FS Å OUT.Status. Good_Cascade (Bits 6-7=3) and Substatus.IFS
(Bits 2-5= 8
BYPASS Å> BYPASS
CASSTS CAS_IN
CASSTS.value Å CAS_IN.Status
345
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
346
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
347
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
348
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
349
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
350
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
351
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
352
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
353
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
onds; the default is 10000 (10 seconds). Increasing the frequency of the client/server communica-
tion can significantly add to the load on the H1 segment.
354
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
9.6.3 Scaling
Table 9-13 lists the PIDFF block parameters used to configure the device PID block scaling
parameters. When the device block parameters are changed, they are read back to the PIDFF
block.
355
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
356
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
DOES NOT EXIST”. In this case, the PIDFF block configuration will be restarted
and re-validated automatically when the ECB201 is installed.
♦ An attempt is made to connect the PIDFF block to the ECB201 specified in the
IOM_ID parameter. The DCI connection address (i.e., the BLKNDX parameter in
the PIDFF block) is used in a connect message to establish a block connection in the
FBM228.
♦ If the device block connection cannot be resolved due to a lack of configuration infor-
mation, one of the following error strings is stored in the DCI block ERCODE
parameter:
♦ “W62 - UNRESOLVED CONNECTION”
♦ “W77 - FIELDBUS COMMUNICATIONS FAULT”
♦ “W78 - INVALID FUNCTION BLOCK”
♦ “W80 - FIELDBUS DEVICE NOT FOUND”
♦ “W82 - FF CONFIGURATION IN PROGRESS”
(In these cases, the DCI block is defined, but the output values are marked OOS.)
♦ “W73 - FF FUNCTION BLOCK CONFIGURATION ERROR”
(In this case, the PIDFF block is defined, and the index of the invalid function block
parameter is stored in the CFGERR parameter.)
♦ If the device block connection cannot be made for any other reason, the FBM rejects
the connection request and one of the following error strings is stored in the
ERCODE parameter to indicate the reason for the connection error:
♦ “W65- INVALID POINT ADDRESS”
♦ “W66 - DUPLICATE CONNECTION”
♦ “W67 - INSUFFICIENT FBM MEMORY/CONNECTIONS”
♦ “W68 - INVALID DEVICE CONNECTION”
♦ “W69 - INVALID POINT CONNECTION”
♦ “W74 - FF FUNCTION BLOCK DDITEM MISMATCH”
♦ “W75 - FF FUNCTION BLOCK DDMBR MISMATCH”
♦ “W76 - INVALID FF MODE CONFIGURATION”
♦ “W79 - INVALID PARAMETER INDEX”
♦ “W83 - INVALID FF PARAMETER CONNECTION”
♦ “W84 - INVALID FF PARAMETER TYPE”
♦ “W85 - INVALID CONNECTION TYPE”
♦ “W86 - MAN_ID, DVC_ID, OR DVCREV MISMATCH”
(In these cases, the PIDFF block is undefined.)
♦ If the PERIOD/PHASE combination is inconsistent, or if the PERIOD/PHASE
combination conflicts with the compound PERIOD/PHASE combination, the
PIDFF block is undefined with ERCODE set to “W43 - INVALID
PERIOD/PHASE COMBINATION”.
♦ If the PERIOD/PHASE combination conflicts with the PERIOD/PHASE combina-
tion of the Parent ECB200 or ECB202 to which the ECB201 is connected, the
357
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
PIDFF block is undefined with ERCODE set to “W81 - INVALID PARENT DCI
ECB PERIOD/PHASE”.
If there are no configuration errors when the DCI PIDFF block is installed, the block is marked as
defined (BLKSTA.UDEF=0) and ERCODE is cleared (nulled). If the compound containing the
block is turned on, the block also initializes and starts running automatically.
358
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
The Target mode is changeable through a group of settable boolean mode switches provided in
the PIDFF block. These mode switches, RCASSW, CAS_SW, AUT_SW, MAN_SW, and
OOS_SW, allow the block mode to be changed to the Remote Cascade, Cascade, Auto, Manual,
or Out-of-Service states respectively.
The mode switch setting is mapped onto an equivalent Target mode setting sent to the FBM228.
See the PIDFF Parameter Transformations table for mapping details.
Logic in the CP270 prevents more than one switch to be set at a given time. If more than one
switch is set during the same block cycle, only the last switch setting is honored. Once set, a mode
switch remains set only until the Target mode change is sent to the FBM228 or until another
mode switch is set. At that time, the mode switch is cleared.
MA and LR parameters also are provided to allow an I/A Series application to change the Target
mode through a parameter connection. If neither the MA nor LR parameter is linked, the user
application can change the block mode to Auto, Manual, Cascade, or Remote Cascade using the
LR or MA parameters, or the operator can change the mode using the AUT_SW, MAN_SW,
CAS_SW, RCAS_SW, or OOS_SW mode switches described above.
If either the MA or LR parameter is linked, the operator cannot change the block mode to any
state except OOS using the mode switches, since the switches cannot override the linked LR or
MA parameter. MA and LR cannot both be linked, or they would fight each other. Therefore, if
MA is linked, LR is disabled, and if LR is linked, MA is disabled.
Also, if either LR or MA is linked, the FLBOPT and FLBREQ parameters used in Secure Super-
visory Control (SSC) are disabled.
The Target mode is a shadow parameter updated from the MODE_BLK function block parame-
ter read back during input scanning of the FBM228.
When the Actual, Permitted, Target, or Normal modes change in the PID function block, the
corresponding DCI PIDFF mode parameters are updated automatically from the MODE_BLK
Function Block parameter. In addition, the Actual mode is mapped onto equivalent BLKSTA
parameter bits, as specified in Table 9-11 on page 343.
The INITMA parameter and the Auto/Manual override parameters, AUTSW and MANSW, are
not supported in the DCI PIDFF block, since these functions do not exist in the device PID
function block. The same is true of the INITLR parameter and the Remote/Local override
parameters, REMSW and LOCSW.
The Actual block mode (MODE_BLK.Actual) will be provided in two forms:
♦ The Actual mode is stored in the MODE_A output parameter.
♦ The Actual mode also is mapped onto equivalent bits in the BLKSTA block status
parameter:
The mapping of Actual mode state to BLKSTA bits will be as follows:
♦ The OOS state is mapped onto the OOS value status bit of the BLKSTA parameter.
♦ The IMAN state is mapped onto the BLKSTA.TRK status bit.
♦ The LO state is mapped onto both the BLKSTA.TRK and BLKSTA.LO status bits.
♦ The MAN state sets BLKSTA.MA=0, BLKSTA.LR=0, and BLKSTA.SC=0.
♦ The AUTO state sets BLKSTA.MA=1, BLKSTA.LR=0, and BLKSTA.SC=0.
♦ The CAS state sets BLKSTA.LR=1, BLKSTA.MA=1, and BLKSTA.SC=0.
359
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
360
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
361
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
block shows the converted status parameter so that the value need not be decoded. Table 9-16
shows how the status byte is formatted.
Table 9-16. Device Parameter Status Format
Bits Description
0-1 Limits
0 = Not limited
1 = High limited
2 = Low limited
3 = Constant (both high and low limited bits set)
2-5 SubStatus depends on .Quality, as shown in Table 9-17
6-7 Quality
0 = Bad
1 = Uncertain
2 = Good (non-cascade)
3 = Good (cascade)
Table 9-17 shows the usage of the Substatus bits, which varies depending on which .Quality bits
are set.
Table 9-17. Device Parameter Substatus
362
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
363
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
364
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
NOTE
An additional requirement for Fault State handling at the device level is that the
Fault State option must be selected in the device resource block, that is,
(0x4)FaultState must be selected in FEATURE_SEL.
9.7.2 Alarms
The PIDFF block performs alarm functions consistent with standard I/A Series CP270 alarming,
including:
♦ Absolute Alarming, High-High /Low-Low Alarming, High/Low Deviation Alarming,
and High/Low Output Alarming
♦ Bad Alarming of the analog input parameter (IN) and the analog output via the back-
calculated input parameter (BCALCI).
♦ Informational messages of block errors (BLKERR) reported by the PID block’s
BLOCK_ERR parameter.
♦ Informational messages of PID block configuration errors (CFGERR).
The PID block process alarm detection, alarm events, alarm messaging, and associated parameters
provided by the H1 field device are not supported in the PIDFF block.
Refer to Integrated Control Software Concepts (B0700AG) for information on alarm functionality.
365
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
If the Bad Alarm option (BADOPT) is set, alarming will be performed as follows:
♦ Bad Alarm status information is set in the block when the BAD status of the IN
parameter or BCALCI parameter is set. The BAD is set in the alarm status parameter
(ALMSTA.BAD). The UNACK parameter and the corresponding ALM-
STA.UNACK bit also are set.
♦ The CRIT parameter and its corresponding ALMSTA.CRIT field will be set to the
BADPRI parameter value, and the PRTYPE parameter and its corresponding ALM-
STA.PRTYPE field will be set to the appropriate alarm type. Note that this will
happen only if there are no other alarms of higher priority in the block.
♦ When the Bad Alarm condition occurs, a Bad Alarm message will be sent to all devices
in the BADGRP alarm group. This message will contain the OUTDSC output
descriptor, the BADTXT descriptive text, and the LOOPID loop identifier. Separate
messages will be sent for the IN and BCALCI parameters.
♦ When the Bad alarm condition clears for either the IN or BCALCI parameter, a
return-to-normal message will be generated and sent to all devices in the bad alarm
group.
If the Absolute Alarm (HLOPT), High-High/Low-Low Alarm (HHIOPT), Deviation Alarm
(DEVOPT), or Output Alarm (OALOPT) option is set, alarming will be performed as follows:
♦ Alarm status information will be set in the block when the alarm condition exists (see
Table 9-3 for the alarm detection algorithms and corresponding ALMSTA settings).
The appropriate alarm bit will be set in ALMSTA. The UNACK parameter and the
corresponding ALMSTA.UNACK bit also are set.
♦ The CRIT parameter and its corresponding ALMSTA.CRIT field will be set to the
HLPRI, HHIPRI, DEVPRI, or OUTPRI parameter value, and the PRTYPE parame-
ter and its corresponding ALMSTA.PRTYPE field will be set to the appropriate alarm
type. Note that this will happen only if there are no other alarms of higher priority in
the block.
♦ When the alarm condition occurs, an alarm message will be sent to all devices in the
HLGRP, HHIGRP, DEVGRP, or OUTGRP alarm group. This message will contain
the PVDESC or OUTDSC descriptor, the appropriate descriptive text, and the
LOOPID loop identifier.
♦ When the alarm condition clears, a return-to-normal message will be generated and
sent to all devices in the HLGRP, HHIGRP, DEVGRP, or OUTGRP alarm group.
366
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
The CRIT, PRTYPE, and corresponding ALMSTA fields will be cleared when there are no active
alarms in the block.
The UNACK parameter and the ALMSTA.UNACK bit will be cleared in these cases:
♦ When the alarm is acknowledged by an OM set operation at either the compound
level, by setting the compound UNACK=0, or at the block level, by setting the block
UNACK=0.
♦ When all alarm conditions in the block return to normal status, if INHOPT is set
appropriately.
♦ When the block is shut down.
When UNACK is cleared, an Alarm Acknowledge message will be generated and sent to all
devices in all alarm groups in the block.
Alarm Inhibiting/Disabling will be supported using a combination of the compound CINHIB
parameter and the INHOPT, INHIB, and INHALM parameters in the DCI block, to allow the
alarm messages to be inhibited and/or alarm detection to disabled dynamically.
When an alarm type is inhibited or disabled, an appropriate Alarm Disable message will be gener-
ated and sent to all devices in the alarm group. If the block is unacknowledged, an Alarm
Acknowledge message also will be sent to these devices. In addition, the ALMSTA.INHIB bit will
be set, and the corresponding INHSTA bit will be set.
When an alarm type is uninhibited or enabled, an appropriate Alarm Enable message will be gen-
erated and sent to all devices in the alarm group. In addition, the ALMSTA.INHIB bit will be
cleared if no other alarm in the block is inhibited, and the corresponding INHSTA bit will be
cleared.
In Auto, the block processes all alarms. When the block is in Manual, the MANALM value deter-
mines which alarms are processed:
0 = Disable all alarms in Manual
1 = Process all alarms in Manual
2 = No Output alarming in Manual
3 = No Output alarming in Track
4 = No Output alarming in Manual or Track
In addition to these functions, the Alarm Reprioritization, Alarm Message Regeneration, and
Delayed Alarming enhancements are provided in the PIDFF block.
367
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
368
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
9.7.7 Simulation
Simulation of a control loop involving a PIDFF block and PID device block can be performed
using the SIMULATE parameters in the device PID function blocks as described Section 9.5, or
the simulation can be performed entirely within the control station by using the PIDFF block
simulation option (SIMOPT=1) and the equivalent functionality in other blocks in the strategy.
This function can be used to test control schemes without requiring actual FBM228 hardware
connections.
When simulating within the control station by using SIMOPT=1, the following functions will be
performed:
♦ When the Actual block mode is Remote Cascade, Cascade, or Auto, the block output
(OUT) is simulated using the following calculation:
OUT = P_Term + I_Term
where:
P_Term = GAIN * (SP – IN – D_Term)
D_Term is calculated as follows:
Derivative = RATE/60.0
Tau = Derivative * Period in Cycles
V_Term = Previous_V_Term + IN – (V_term – Previous W_Term)/(Tau/2 +1)
W_Term = Previous W_Term + V_Term/(Tau/2 +1)
D_Term = V_Term * (Derivative + Tau)/(Tau + (1/Period in Cycles)
I_Term is calculated as follows:
Integral = RESET/60.0
FeedBack = BCALCI if linked; = OUT otherwise
I_Term = (FeedBack – Previous I_Term)/ (Integral * Period in Cycles + 1)
On a transition from OOS, IMAN, or Manual mode to Remote Cascade, Cascade, or
Auto mode, the following terms will be initialized:
V_Term = 0.0
W_Term = IN
I_Term = OUT – P_Term
♦ Changes to the Target mode via the mode switches will be processed. The Target
mode parameter (MODE_T) will be updated immediately when any of the mode
switches (RCAS_SW, CAS_SW, AUT_SW, MAN_SW, or OOS_SW) is changed.
369
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
♦ The Actual block mode (MODE_A) will track the Target mode (MODE_T) each
block cycle.
♦ When allowed, changes to any of the Shadow parameters will be updated
immediately.
♦ All Function Block status parameters will be set to Good Non-Cascade (0x80).
♦ The SUP_IN, SUPBCO, CAS_IN, and BCALCO parameters will track the SP
parameter when the Actual mode is Auto or Manual.
♦ The SUP_IN, SUPBCO, SP, and BCALCO parameters will track the CAS_IN
parameter when the Actual mode is Cascade.
♦ The CAS_IN, SUPBCO, SP, and BCALCO parameters will track the SUP_IN
parameter when the Actual mode is Remote Cascade.
♦ If BADOPT=1, Bad Alarming of the inputs will be performed.
♦ If HLOPT >0, High-Low Absolute Alarming will be performed.
♦ If HHIOPT >0, Hi-HI Lo-Lo Absolute Alarming will be performed.
♦ If DEVOPT >0, Deviation Alarming will be performed
♦ .If OALOPT >0, Output Alarming will be performed.
When simulating, the following functions will not be performed:
♦ Block File Download/Upload operations.
♦ Downloading of configuration parameters.
♦ Updating of View data parameters.
♦ Block Error (BLKERR) processing.
♦ External configuration changes to function block parameters.
♦ Configuration Error (CFGERR) processing.
♦ Device Alarm Acknowledgement (DEVACK).
Refer to InFusion Enterprise Control System: Implementing FOUNDATION fieldbus in InFusion 2.0
(B0750DA) for instructions on conducting control simulations from the devices or in the control
station.
370
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
BSTATE Value
(Int (Bin)) State Value Description
0 (00000000) Undefined -
1 (00000001) Unconnected A DCI block has been deleted/undeployed
from the CP configuration.
2 (00000010) Connecting A DCI block has been created in the CP;
The FBM is creating the block structures in
an internal FBM database.
3 (00000011) Connecting Failed The FBM can fail to create a new block for a
number of reasons. For example:
- Connection already exists.
- FBM is out of memory
- No block match
- Invalid block
4 (00000100) Scheduling Block Execution A block schedule is being created.
5 (00000101) Scheduling Block Execution A schedule configuration failed. The FBM
Failed could not deploy block or LAS schedule.
Check schedule or schedule configuration.
371
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
BSTATE Value
(Int (Bin)) State Value Description
6 (00000110) Creating Block Connections Publisher/Subscriber connections are being
created.
7 (00000111) Creating Block Connections FBM failed to create block Publisher/Sub-
Failed scriber connections. Check the configura-
tion. This may be a temporary condition
while the FBM is processing other blocks.
8 (00001000) Writing Block Parameters Block parameters are being written to a
device
9 (00001001) Writing Block Parameters FBM failed to write parameters to device
Failed resident block. The block detailed display
“Maintenance” overlay may have more
information. Verify block configuration in
IEE. Use the Field Device Manager to com-
pare configuration data base with device
database.
10 (00001010) Block ON LINE - OK Connection processing has been successful
and data/point connection has been estab-
lished.
11 (00001011) Block ON LINE – Error Processing has been completed, but some
step of the processing failed. The block
detailed display “Maintenance” overlay may
have more information. Also check the
System Manager status information for the
corresponding FF H1 device.
372
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
Secure Supervisory Control (SSC) may be performed in any of these configurations as desired.
SUPBCO SUP_IN
MEAS
SUP_IN
SUPBCO
PIDA Block*
BCALCI
OUT
CAS_IN CAS_IN
Figure 9-3. Application Example - Simple Loop with PID Family or RATIO Block
373
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
SUPBCO SUP_IN
IN IN
SUP_IN RCAS_IN
SUPBCO RCAS_OUT
BCALCI BKCAL_IN
OUT OUT
CAS_IN CAS_IN
374
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
OUT OUT
SUPBCO SUP_IN
MEAS
SUP_IN
SUPBCO
PIDA Block*
BCALCI
OUT
OUT OUT
IN IN
CAS_IN CAS_IN
BCALCO BKCAL_OUT
BCALCI BKCAL_IN
OUT OUT
CAS_IN CAS_IN
Figure 9-5. Application Example - Cascade Loop with PID Family or RATIO Block as Primary
375
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
OUT OUT
SUPBCO SUP_IN
IN IN
SUP_IN RCAS_IN
SUPBCO RCAS_OUT
BCALCI BKCAL_IN
OUT OUT
OUT OUT
IN IN
CAS_IN CAS_IN
BCALCO BKCAL_OUT
BCALCI BKCAL_IN
OUT OUT
CAS_IN CAS_IN
Figure 9-6. PIDFF Application Example - Cascade Loop with PIDFF Block as Primary
376
9. PIDFF – Foundation™ fieldbus PID Block B0700EC – Rev B
OUT OUT
SUPBCO SUP_IN
IN IN
BCALCI BKCAL_IN
OUT OUT
OUT OUT
IN IN
CAS_IN CAS_IN
SUP_IN RCAS_IN
SUPBCO RCAS_OUT
BCALCO BKCAL_OUT
BCALCI BKCAL_IN
OUT OUT
CAS_IN CAS_IN
Figure 9-7. Application Example - Cascade Loop with FOUNDATION fieldbus Backup Strategy
377
B0700EC – Rev B 9. PIDFF – Foundation™ fieldbus PID Block
378
10. UNIVFF– Universal
FOUNDATION™ fieldbus Block
This chapter describes the universal FOUNDATION fieldbus (UNIVFF) block, which interfaces
the control system with a corresponding device block operating in a FOUNDATION™ fieldbus
H1 device.
10.1 Overview
Universal FOUNDATION fieldbus (UNIVFF) is a Distributed Control Interface (DCI) block
that provides an interface between the control processor and a resource, transducer or function
block operating in a FOUNDATION fieldbus H1 device (the device block). The function block
type can be any FF device block type not supported by a dedicated FOUNDATION fieldbus
function block such as AI or AO. Standard function blocks supported by the UNIVFF block
include:
.
Arithmetic Bias/Gain Control Selector
Dead Time Device Control Input Selector
Integrator Lead Lag Manual Loader
Output Splitter PD Control Ratio
Set Point Ramp Generator Signal Characterizer
The UNIVFF block is supported on the FCP270 and ZCP270 when the H1 device is con-
nected to the control station by an FBM228. The UNIVFF block is configured using the Block
Configurator in the InFusion Engineering Environment (IEE), V2.0 or later, as described in
InFusion Enterprise Control System: Implementing FOUNDATION fieldbus in InFusion 2.0
(B0750DA).
NOTE
The UNIFF block functionality described in this chapter is applicable only for
FBM228s with the software type (SWTYPE) of “128”.
379
B0700EC – Rev B 10. UNIVFF– Universal Foundation™ fieldbus Block
The parent UNIVFF block template acquires the block parameters described in the DD. Block
instances can then be derived from various device-specific block types and assigned to devices that
were created from the same device template.
You cannot create a block instance directly from the UNIVFF block and assign that block to a
device.
A UNIVFF instance enables configuration of a device block using Field Device Manager. The
configured values are then deployed to the control processor and FBM228, which in turn down-
loads the configuration to the corresponding block in the device to which the block is assigned.
During normal operation, the UNIVFF block acquires data from the device block for display and
connection within the I/A Series system, allows the operator to set the block mode and monitor
the health of the block.
10.3 Features
♦ Accesses the parameters in the device block’s views using change-driven and periodic
client/server connections
♦ Provides for the configuration of device block parameters from the I/A Series system
and management of the device configuration in the control database
♦ Enables users to set the mode of the device block to Auto, Manual or Out of Service
and Cascade (if supported by the block type)
♦ Provides detection and reporting of device alarms
380
10. UNIVFF– Universal Foundation™ fieldbus Block B0700EC – Rev B
381
B0700EC – Rev B 10. UNIVFF– Universal Foundation™ fieldbus Block
AUT_SW Auto Switch is a settable Boolean output used to set the MODE_T
parameter, and therefore MODE_BLK.Target in the associated device
block, to Auto.
BLKERR Block Error is a non-settable, packed Boolean output that contains the
BLOCK_ERR parameter of the associated device block. Table 10-2 shows
the parameter format.
382
10. UNIVFF– Universal Foundation™ fieldbus Block B0700EC – Rev B
BLKNDX Block Index is a configurable, non-settable long integer that contains the
index of the device block represented by the UNIVFF block. The index is
acquired when the UNIVFF template is bound to a DD either when the
device is templated. It is set by the configurator and the FBM uses it to
identify the block in the device.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
DEVACK B9
FDFAIL
FDACT
FDMM
FDOK
UDEF
FBM
TRK
LCK
FFX
ON
MA
LO
FF
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
3 LO The device block mode is Local Override BLKSTA.B29
383
B0700EC – Rev B 10. UNIVFF– Universal Foundation™ fieldbus Block
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
6 TRK The block is being tracked as the device block is in BLKSTA.B26
Local Override or Initialization Manual mode
8 FBM There is a communication failure between BLKSTA.B24
CP and FBM
11 MA The block mode is Auto BLKSTA.B21
14 UDEF The block is undefined BLKSTA.B18
15 ON The compound that contains the block is ON BLKSTA.B17
16 FFX Enhanced FOUNDATION fieldbus block connection BLKSTA.B16
17 FDACT Download active BLKSTA.B15
18 FDFAIL Download failure BLKSTA.B14
19 FF FOUNDATION fieldbus block connection BLKSTA.B13
20 LCK A workstation has locked this block BLKSTA.B12
21 FDOK FDATA installed BLKSTA.B11
22 FDMM FDATA mismatch BLKSTA.B10
23 DEVACK Unacknowledged device alarm BLKSTA.B9
* Bit 0 is the least significant, low order bit.
384
10. UNIVFF– Universal Foundation™ fieldbus Block B0700EC – Rev B
CAS_SW Cascade Switch is a settable Boolean output used to set the MODE_T
parameter, and therefore MODE_BLK.Target in the associated device
block, to CAS.
DEFINE Define is a data store that indicates the presence or absence of configura-
tion errors. The default is 1 (no configuration errors). When the block
initializes, DEFINE is set to 0 if any configured parameters fail validation
testing. See “ERCODE” on page 386 for a list of all possible validation
errors in this block.
♦ If DEFINE = 0, no further processing of the block occurs,
including further validation of remaining parameters.
♦ If DEFINE = 0, the bit BLKSTA.UDEF = 1.
♦ To return DEFINE to a True value, correct all configuration errors
and reinstall the block.
385
B0700EC – Rev B 10. UNIVFF– Universal Foundation™ fieldbus Block
NOTE
This parameter is not supported currently.
ERCODE Error Code is a string data store that indicates the type of configuration
error that caused the block’s DEFINE parameter to be set False.
Validation of configuration does not proceed past the first error encoun-
tered by the block logic.
Table 10-5 lists the possible values of ERCODE for the UNIVFF block.
ERCODE
W43 - INVALID PERIOD/PHASE COMBINATION
W54 - ECB DOES NOT EXIST
W62 - UNRESOLVED CONNECTION
W65 - INVALID POINT ADDRESS
W66 - DUPLICATE CONNECTION
W67 - INSUFFICIENT FBM MEMORY/CONNECTIONS
W68 - INVALID DEVICE CONNECTION
W69 - INVALID POINT CONNECTION
W73 - FF FUNCTION BLOCK CONFIGURATION ERROR
W74 - FF FUNCTION BLOCK DDITEM MISMATCH
W75 - FF FUNCTION BLOCK DDMBR MISMATCH
W76 - INVALID FF MODE CONFIGURATION
W77 - FIELDBUS COMMUNICATION FAULT
W78 - INVALID FUNCTION BLOCK
W79 - INVALID PARAMETER INDEX
386
10. UNIVFF– Universal Foundation™ fieldbus Block B0700EC – Rev B
ERCODE
W80 - FIELDBUS DEVICE NOT FOUND
W81 - INVALID PARENT DCI ECB PERIOD/PHASE
W82 - FF CONFIGURATION IN PROGRESS
W83 - INVALID FF PARAMETER CONNECTION
W84 - INVALID FF PARAMETER TYPE
W85 - INVALID CONNECTION TYPE
W86 - MAN_ID, DVC_ID, OR DECREC MISMATCH
FDATA1 File Data #1 through File Data #4 are settable multi-byte arrays that pro-
FDATA2 vide configuration data for the device block represented by the UNIVFF
FDATA3 block.
FDATA4 This file data is downloaded automatically into the FBM228 when the
FDATA1 parameter is changed in the CP270 via an OM write access
operation. This download also will occur automatically when the CP270
or FBM228 reboots and when the FBM228 is put on-line. The size of
each FDATAn parameter is 255 bytes, for a total array size of 1020 bytes.
387
B0700EC – Rev B 10. UNIVFF– Universal Foundation™ fieldbus Block
LOCKID Lock Identifier is a string identifying the workstation that has locked
access to the block via a successful setting of LOCKRQ. LOCKID has the
format LETTERBUG:DEVNAME, where LETTERBUG is the 6-char-
acter letterbug of the workstation and DEVNAME is the 1- to 6-character
logical device name of the Display Manager task.
LOCKRQ Lock Request is a Boolean input which can be set True or False only by a
SETVAL command from the LOCK U/L toggle key on workstation dis-
plays. When LOCKRQ is set True in this fashion, a workstation identifier
accompanying the SETVAL command is entered into the LOCKID
parameter of the block. Thereafter, set requests to any of the block’s
parameters are only honored (subject to the usual access rules) from the
workstation whose identifier matches the contents of LOCKID.
LOCKRQ can be set False by any workstation at any time, whereupon a
new LOCKRQ is accepted, and a new ownership workstation identifier is
written to LOCKID.
MAN_SW Manual Switch is a settable output used to set the MODE_T parameter,
and thus the MODE_BLK.Target in the associated device block, to Man-
ual.
388
10. UNIVFF– Universal Foundation™ fieldbus Block B0700EC – Rev B
OOS_SW Out of Service Switch is a settable output used to set the MODE_T
parameter, and thus the MODE_BLK.Target in the associated device
block, to Out of Service.
PERIOD Period is an indexed input that dictates the block’s execution time base
and allowable PHASE values. PERIOD values range from 0 to 9 and map
to the following period time lengths:
Period Length Period Length
0 0.1 second 5 30 seconds
1 0.5 second* 6 1 minute
2 1.0 second 7 10 minutes
3 2.0 seconds 8 60 minutes
4 10 seconds 9 0.2 second
*If the BPC is 0.2 second, this period is treated internally as 0.6 second,
but the PERIOD parameter remains 1.
PHASE Phase is a zero-based integer input that causes the block to execute at a
specific BPC within the time determined by the PERIOD. For instance,
assuming that the BPC of the I/A Series station is 0.5 second, a block with
a PERIOD of 3 (2.0 seconds) can execute within the first, second, third,
or fourth BPC of the 2-second time period. See Integrated Control Software
Concepts (B0700AG).
389
B0700EC – Rev B 10. UNIVFF– Universal Foundation™ fieldbus Block
TYPE Type is the block type. When a UNIVFF block is added to the control
database, the configuration editor enters the value 52 to specify the
UNIVFF block type.
390
10. UNIVFF– Universal Foundation™ fieldbus Block B0700EC – Rev B
UNIVFF block, the relationship with the device block can also be described in terms of sink and
source connections:
→ Source-sink The UNIVFF block parameter is the source for the corresponding
device block parameter. Thus, changes to the UNIVFF block param-
eter are made to the device parameter. For example, when the
UNIVFF block is initialized, the TAGDSC value is copied to the
device block TAG_DESC parameter.
← Sink-source The UNIVFF block parameter value is updated by the corresponding
device block parameter. For example, the MODE_A parameter reads
the device parameter MODE_BLK.Actual to make the actual device
block mode visible to the control system.
↔ Bidirectional Changes to the UNIVFF block parameter are made to the corre-
sponding device block parameter and vice versa. For example, when
an UNIVFF block is initialized, its STOPTS parameter value is writ-
ten to the equivalent device block parameter, STATUS_OPTS, to
configure how the function block processes block status information.
Subsequent changes to the status options made at the device are writ-
ten back to the UNIVFF block STOPTS parameter.
The arrow notation is used in Table 10-6; the mappings are presented in alphabetic order,
arranged by the UNIVFF block parameter names.
391
B0700EC – Rev B 10. UNIVFF– Universal Foundation™ fieldbus Block
392
10. UNIVFF– Universal Foundation™ fieldbus Block B0700EC – Rev B
with the error code parameter (ERCODE) set to “W76 – INVALID FF MODE
CONFIGURATION”.
♦ If the UNIVFF block is installed prior to the installation of the ECB201 block, it is
marked undefined (BLKSTA.UDEF=1) with the error code parameter (ERCODE)
set to “W54 – ECB DOES NOT EXIST”. In this case, the UNIVFF block is
restarted and re-validated automatically when the ECB201 is installed.
♦ An attempt will be made to connect the UNIVFF block to the ECB201 specified in
the IOM_ID parameter. The DCI connection address (i.e., the NAME parameter in
the UNIVFF block) is used in a connect message to establish a DCI data connection
in the FBM228.
♦ If the UNIVFF connection cannot be resolved due to a lack of configuration informa-
tion, a DCI data connection is made in the FBM, the connection status is marked
Unresolved, and one of the following error strings will be stored in the ERCODE
parameter:
“W62 – UNRESOLVED CONNECTION”
“W77 – FIELDBUS COMMUNICATIONS FAULT”
“W78 – INVALID FUNCTION BLOCK”
“W80 – FIELDBUS DEVICE NOT FOUND”
“W82 – FF CONFIGURATION IN PROGRESS”
“W73 – FF FUNCTION BLOCK CONFIGURATION ERROR”
(In this case, the UNIVFF block will be defined, and the index of the invalid func-
tion block parameter will be stored in the CFGERR parameter.)
♦ If the DCI data connection cannot be made for any other reason, the FBM rejects the
connection request and one of the following error strings will be stored in the
ERCODE parameter to indicate the reason for the connection error:
“W65 – INVALID POINT ADDRESS”
“W66 – DUPLICATE CONNECTION”
“W67 – INSUFFICIENT FBM MEMORY/CONNECTIONS”
“W68 – INVALID DEVICE CONNECTION”
“W69 – INVALID POINT CONNECTION”
“W74 – FF FUNCTION BLOCK DDITEM MISMATCH”
“W75 – FF FUNCTION BLOCK DDMBR MISMATCH”
“W76 – INVALID FF MODE CONFIGURATION”
“W79 – INVALID PARAMETER INDEX”
“W83 – INVALID FF PARAMETER CONNECTION”
“W84 – INVALID FF PARAMETER TYPE
“W85 – INVALID CONNECTION TYPE”
“W86 – MAN_ID, DVC_ID, OR DVCREV MISMATCH”
(In these cases, the DCI block is undefined.)
♦ If the PERIOD/PHASE combination is inconsistent, or if the PERIOD/PHASE
combination conflicts with the compound PERIOD/PHASE combination, the
393
B0700EC – Rev B 10. UNIVFF– Universal Foundation™ fieldbus Block
394
10. UNIVFF– Universal Foundation™ fieldbus Block B0700EC – Rev B
395
B0700EC – Rev B 10. UNIVFF– Universal Foundation™ fieldbus Block
Bit Message
0 FF Block Error: Out-of-Service
1 FF Block Error: Power Up
2 FF Block Error: Maintenance Needed Now
3 FF Block Error: Readback Check
4 FF Block Error: Lost NV Data
5 FF Block Error: Lost Static Data
6 FF Block Error: Memory Fail
7 FF Block Error: Output Fail
8 FF Block Error: Input Fail
9 FF Block Error: Maintenance Due Soon
10 FF Block Error: Fault State Active
11 FF Block Error: Local Override
12 FF Block Error: Simulation Active
13 FF Block Error: Link Configuration Error
14 FF Block Error: Block Configuration Error
15 FF Block Error: Other (Undefined) Error
396
10. UNIVFF– Universal Foundation™ fieldbus Block B0700EC – Rev B
BSTATE Value
(Int (Bin)) State Value Description
0 (00000000) Undefined -
1 (00000001) Unconnected A DCI block has been deleted/undeployed
from the CP configuration.
2 (00000010) Connecting A DCI block has been created in the CP;
The FBM is creating the block structures in
an internal FBM database.
3 (00000011) Connecting Failed The FBM can fail to create a new block for a
number of reasons. For example:
- Connection already exists.
- FBM is out of memory
- No block match
- Invalid block
4 (00000100) Scheduling Block Execution A block schedule is being created.
5 (00000101) Scheduling Block Execution A schedule configuration failed. The FBM
Failed could not deploy block or LAS schedule.
Check schedule or schedule configuration.
6 (00000110) Creating Block Connections Publisher/Subscriber connections are being
created.
7 (00000111) Creating Block Connections FBM failed to create block Publisher/Sub-
Failed scriber connections. Check the configura-
tion. This may be a temporary condition
while the FBM is processing other blocks.
8 (00001000) Writing Block Parameters Block parameters are being written to a
device
9 (00001001) Writing Block Parameters FBM failed to write parameters to device
Failed resident block. The block detailed display
“Maintenance” overlay may have more
information. Verify block configuration in
IEE. Use the Field Device Manager to com-
pare configuration data base with device
database.
10 (00001010) Block ON LINE - OK Connection processing has been successful
and data/point connection has been estab-
lished.
11 (00001011) Block ON LINE – Error Processing has been completed, but some
step of the processing failed. The block
detailed display “Maintenance” overlay may
have more information. Also check the
System Manager status information for the
corresponding FF H1 device.
397
B0700EC – Rev B 10. UNIVFF– Universal Foundation™ fieldbus Block
398
Appendix A. Legacy AI –
FOUNDATION™ fieldbus Analog
Input
This appendix describes the legacy I/A Series Analog Input (AI) block, shipped with I/A Series
systems with v8.4.3 or earlier software, used with an FBM228 with SWTYPE=228. The AI
block interfaces the control system with a corresponding analog input function block operating
in a FOUNDATION™ fieldbus H1 device.
A.1 Overview
Analog Input (AI) is a Distributed Control Interface (DCI) block that provides an interface
between the control processor and an analog input function block operating in a FOUNDATION
fieldbus H1 device (the device function block). The AI block is supported on the FCP270 and
ZCP270 when the H1 device is connected to the control station by an FBM228 (with
SWTYPE=228). The AI block is configured using the Block Configurator in the InFusion
Engineering Environment (IEE) as described in InFusion Enterprise Control System: Implement-
ing FOUNDATION fieldbus (B0750BC) or with the I/A Series Configuration Component
(IACC) software as described in Implementing FOUNDATION fieldbus on the I/A Series System
(B0700BA).
A.3 Features
The AI block provides the following features:
♦ Acquires the device analog input function block’s primary output value and status
♦ Time stamps value and status changes
♦ Accesses the parameters in the device function block’s View 1, View 2 and View 4
using change-driven and periodic client/server connections
1. Device function block parameters are shown in this document in italics. Function blocks may use
different names for these parameters.
399
B0700EC – Rev B Appendix A. Legacy AI – Foundation™ fieldbus Analog
♦ Ensures that changes in the device block’s process values and error conditions are con-
tinuously available for display and connection to the control strategy
♦ Provides for the configuration of device block parameters from the I/A Series system
and management of the device configuration in the control database
♦ Enables users to set the mode of the device function block to Auto, Manual or Out of
Service
♦ Provides detection and reporting for bad I/O, high and low absolute, and high-high
and low-low alarming
♦ Supports simulation of device block output within the control station
400
Appendix A. Legacy AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
401
B0700EC – Rev B Appendix A. Legacy AI – Foundation™ fieldbus Analog
ALMOPT Alarm Options contain packed long values representing the alarm types
that have been configured as options in the block, and the alarm groups
402
Appendix A. Legacy AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
that are in use. Table A-2 shows how the parameter is used by the AI
block.
Bit
Number*
(0 to 31) Configured Alarm Option, When True
0 (lsb) Alarm Group 8 in Use
1 Alarm Group 7 in Use
2 Alarm Group 6 in Use
3 Alarm Group 5 in Use
4 Alarm Group 4 in Use
5 Alarm Group 3 in Use
6 Alarm Group 2 in Use
7 Alarm Group 1 in Use
16 Low Absolute Alarm Configured
17 High Absolute Alarm Configured
22 Bad I/O Alarm Configured
24 Low-Low Absolute Alarm Configured
25 High-High Absolute Alarm Configured
*Bit 0 is the least significant, low order bit.
ALMSTA Alarm Status is a 32-bit output, bit-mapped to indicate the block’s alarm
states. Table A-3 shows the bits used by the AI block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
UNAK B2
B3
B4
B5
B6
B7
B8
B9
HMA
HHA
CRIT PRTYPE
BAD
LMA
LLA
INH
403
B0700EC – Rev B Appendix A. Legacy AI – Foundation™ fieldbus Analog
Bit Boolean
Number Description, Connection
(0 to 31)* Name When True (B32 to B1)
0 to 4 PTYP_MSK Priority Type: See parameter ---
PRTYPE for values used in the FF
blocks
5 to 7 CRIT_MSK Criticality: 1 (highest priority) to 5 ---
16 LMA Low Absolute Alarm ALMSTA.B16
17 HMA High Absolute Alarm ALMSTA.B15
22 BAD Bad I/O Alarm ALMSTA.B10
24 LLA Low-Low Absolute Alarm ALMSTA.B8
25 HHA High-High Absolute Alarm ALMSTA.B7
29 INH Inhibit Alarm. This bit is set when ALMSTA.B3
any of the block’s alarms is inhibited
30 UNAK Unacknowledged ALMSTA.B2
*Bit 0 is the least significant, low order bit.
AMRTIN Alarm Message Regeneration Time Interval specifies the rate at which
alarm messages are generated for alarm conditions that have not been
cleared. The interval is specified in seconds. The configured interval is
rounded up to the closest value that is an even multiple of the station
BPC. A value of 0 disables alarm message regeneration.
AUT_SW Auto Switch is a settable Boolean output used to set the MODE_T
parameter, and thus MODE_BLK.Target in the associated device function
block, to Auto.
BADPRI Bad Alarm Priority is a configurable integer input used to specify the
Alarm Priority to be assigned to Bad Alarms in the block. BADPRI is
settable if unlinked. The range is 1 (highest) to 5 (default).
404
Appendix A. Legacy AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
BLKERR Block Error is a non-settable, packed Boolean output that contains the
BLOCK_ERR parameter of the associated device function block.
Table A-4 shows the parameter format.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
FBM228 B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
B9
UDEF
FBM
TRK
LCK
BIO
MA
ON
LO
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
3 LO The device function block’s mode is BLKSTA.B29
Local Override
6 TRK The block is being tracked as the device BLKSTA.B26
function block is in Local Override or
Initialization Manual mode
405
B0700EC – Rev B Appendix A. Legacy AI – Foundation™ fieldbus Analog
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
8 FBM There is a communication failure BLKSTA.B24
between CP and FBM
11 MA The device block mode is Auto BLKSTA.B21
12 BIO Bad I/O BLKSTA.B20
14 UDEF Block is undefined BLKSTA.B18
15 ON The compound that contains the block BLKSTA.B17
is ON
19 FBM228 The device’s host FBM is an FBM228 BLKSTA.B13
20 LCK A workstation has locked this block BLKSTA.B12
*Bit 0 is the least significant, low order bit.
CRIT Criticality is an integer output that indicates the priority of the block’s
highest currently active alarm. The range is 1 (highest priority) to 5. An
output of 0 indicates the absence of alarms.
DEFINE Define is a data store that indicates the presence or absence of configura-
tion errors. The default is 1 (no configuration errors). When the block
initializes, DEFINE is set to 0 if any configured parameters fail validation
testing. See “ERCODE” on page 407 for a list of all possible validation
errors in this block.
♦ If DEFINE = 0, no further processing of the block occurs,
including further validation of remaining parameters.
♦ To return DEFINE to a True value, correct all configuration errors
and reinstall the block.
406
Appendix A. Legacy AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
EI1 Engineering Units Input 1 provides the engineering units text for the
MEAS parameter in the AI block. The value configured for this text string
should be consistent with the values used for HSCI1 and LSCI1. This
parameter does not configure units in the device block; see EUI1.
EO1 Engineering Units for Output 1 specifies the engineering units text for the
OUT parameter in an AI block. The value configured for this text string
should be consistent with the values used for HSCO1 and LSCO1. This
parameter does not configure units in the device block; see EUO1.
ERCODE Error Code is a string data store that indicates the type of configuration
error which caused the block’s DEFINE parameter to be set False.
Validation of configuration errors does not proceed past the first error
encountered by the block logic.
Table A-6 list the possible values of ERCODE for the AI block.
ERCODE Value
W43 INVALID PERIOD/PHASE COMBINATION
W54 ECB DOES NOT EXIST
W62 UNRESOLVED CONNECTION
W65 INVALID POINT ADDRESS
W66 DUPLICATE CONNECTION
W67 INSUFFICIENT FBM MEMORY/CONNECTIONS
W68 INVALID DEVICE CONNECTION
W69 INVALID POINT CONNECTION
W73 FF FUNCTION BLOCK CONFIGURATION ERROR
W74 FF FUNCTION BLOCK DDITEM MISMATCH
W75 FF FUNCTION BLOCK DDMBR MISMATCH
W76 INVALID FF MODE CONFIGURATION
W77 FIELDBUS COMMUNICATION FAULT
W78 INVALID FUNCTION BLOCK
W79 INVALID PARAMETER INDEX
W80 FIELDBUS DEVICE NOT FOUND
407
B0700EC – Rev B Appendix A. Legacy AI – Foundation™ fieldbus Analog
HHILIM High-High Alarm Limit is a configurable, settable real input used to spec-
ify the high limit value to be used in the High-High Alarm detection logic
in the AI block. It is equivalent to the HI_HI_LIM parameter in a device
function block; however, HHILIM does not set the device block parame-
ter.
HILIM High Alarm Limit is a configurable, settable real input used to specify the
high limit value to be used in Absolute Alarm detection logic in an AI
block. It is equivalent to the HI_LIM parameter in a device function
block; however, HILIM does not set the device block parameter.
408
Appendix A. Legacy AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
HLGRP High Low Alarm Group is a configurable, non-settable short integer used
to specify the alarm group assigned to High Low Absolute Alarms in the
AI block. The range is 1 (default) to 8.
HLOPT High Low Alarm Option is a configurable, non-settable short integer used
to enable or disable High and Low Absolute Alarm detection in an AI
block. Valid settings are:
♦ 0 = Disable High and Low Absolute Alarming
♦ 1 = Enable High and Low Absolute Alarming
♦ 2 = Enable High Absolute Alarming only
♦ 3 = Enable Low Absolute Alarming only.
HLPRI High Low Alarm Priority is a configurable, settable integer input used to
specify the alarm priority to be assigned to High Low Absolute Alarms in a
FF AI block. The range is 1 (highest) to 5 (default).
INHALM Inhibit Alarm contains packed Boolean values that represent alarm
generation inhibit requests for each type of alarm configured in the block.
Table A-7 shows how the bits are used by the AI block.
Bit Boolean
Number* Description, Connection
(0 to 15) When True (B16 to B1)
0 Inhibit Low Absolute Alarm INHALM.B16
1 Inhibit High Absolute Alarm INHALM.B15
6 Inhibit Bad I/O Alarm INHALM.B10
8 Inhibit Low-Low Absolute Alarm INHALM.B8
9 Inhibit High-High Absolute Alarm INHALM.B7
*Bit 0 is the least significant, low order bit.
There are no mnemonic names for the individual bits of INHALM.
INHIB Inhibit is a configurable, connectable and settable boolean that, when set,
suppresses all alarm message reporting. INHIB affects only alarm message
409
B0700EC – Rev B Appendix A. Legacy AI – Foundation™ fieldbus Analog
INHOPT Inhibit Option specifies the following actions applying to all block alarms:
♦ 0 = When an alarm is inhibited, disables alarm messages but does
not disable alarm detection.
♦ 1 = When an alarm is inhibited, disables both alarm messages and
alarm detection. If an alarm condition exists at the time the alarm
transitions into the inhibited state, the alarm indicator is cleared.
♦ 2 = Same as 0 for inhibited alarms. For uninhibited alarms,
automatically acknowledges “return-to-normal” messages.
“Into alarm” messages can be acknowledged by explicitly setting
UNACK False.
♦ 3 = Same as 1 for inhibited alarms. For uninhibited alarms,
automatically acknowledges “return-to-normal” messages.
“Into alarm” messages can be acknowledged by explicitly setting
UNACK False.
INHSTA Inhibit Status contains packed long values that represent the current
inhibit status of each alarm type configured in the block. Table A-8 shows
how the parameter is used with the AI block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BAD B10
B11
B12
B13
B14
HMA B15
LMA B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
DSC B6
HHA B7
LLA B8
B9
Bit Boolean
Number* Description, Connection
(0 to 31) Name When True (B32 to B1)
16 LMA Low Absolute Alarm Inhibited INHSTA.B16
17 HMA High Absolute Alarm Inhibited INHSTA.B15
22 BAD Bad I/O Alarm Inhibited INHSTA.B10
24 LLA Low-Low Absolute Alarm Inhibited INHSTA.B8
25 HHA High-High Absolute Alarm Inhibited INHSTA.B7
*Bit 0 is the least significant, low order bit.
410
Appendix A. Legacy AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
Bit Boolean
Number* Description, When True Connection
5 Low-cut IO_OPTS.B27
*Bit 0 is the least significant, low order bit.
LLOLIM Low-Low Alarm Limit is a configurable, settable real input used to specify
the low limit value to be used in the Low-Low Alarm detection logic in
the AI block. It is equivalent to the LO_LO_LIM parameter in a device
function block; however, LLOLIM does not set the device block
parameter.
LOCKID Lock Identifier is a string identifying the workstation that has locked
access to the block via a successful setting of LOCKRQ. LOCKID has the
format LETTERBUG:DEVNAME, where LETTERBUG is the 6-char-
acter letterbug of the workstation and DEVNAME is the 1- to 6-character
logical device name of the Display Manager task.
LOCKRQ Lock Request is a Boolean input which can be set True or False only by a
SETVAL command from the LOCK U/L toggle key on workstation dis-
plays. When LOCKRQ is set True in this fashion, a workstation identifier
411
B0700EC – Rev B Appendix A. Legacy AI – Foundation™ fieldbus Analog
LOLIM Low Alarm Limit is a configurable, settable real input used to specify the
low limit value to be used in Absolute Alarm detection logic in an AI
block. It is equivalent to the LO_LIM parameter in a device function
block; however, LOLIM does not set the device function block parameter.
LSCI1 Input Low Scale specifies the XD_SCALE.EU_0 parameter value of the
device function block.
MAN_SW Manual Switch is a settable output used to set the MODE_T parameter,
and thus the MODE_BLK.Target in the associated device function block,
to Manual.
MEAS Measurement is a value used as the input to the AI block when simulation
is active (SIMOPT = 1) instead of the OUT parameter (and the OUT
parameter in the associated device function block).
412
Appendix A. Legacy AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
OOS_SW Out of Service Switch is a settable output used to set the MODE_T
parameter, and thus the MODE_BLK.Target in the associated device func-
tion block, to Out of Service.
OUT Output is a real output that contains the OUT parameter of the associated
device function block. It is settable only in Manual mode.
OUTSTS Output Status is a non-settable, packed Boolean output that contains the
OUT.Status parameter in the associated device function block. See
Section A.6.4 for a description of the .Status value.
413
B0700EC – Rev B Appendix A. Legacy AI – Foundation™ fieldbus Analog
OWNER can be cleared by any application with the null string, which is
always accepted, regardless of the current value of OWNER. Once the
null string is set, the value can be reset as desired.
PERIOD Period is an indexed input that dictates the block’s execution time base
and allowable PHASE values. PERIOD values range from 0 to 9 and map
to the following period time lengths:
Period Length Period Length
0 0.1 second 5 30 seconds
1 0.5 second* 6 1 minute
2 1.0 second 7 10 minutes
3 2.0 seconds 8 60 minutes
4 10 seconds 9 0.2 second
*If the BPC is 0.2 second, this period is treated internally as 0.6 second,
but the PERIOD parameter remains 1.
PHASE Phase is an integer input that causes the block to execute at a specific BPC
within the time determined by the PERIOD. For instance, assuming that
the BPC of the I/A Series station is 0.5 second, a block with a PERIOD of
3 (2.0 seconds) can execute within the first, second, third, or fourth BPC
of the 2-second time period. See Integrated Control Software Concepts
(B0193AW).
PRTYPE Priority Type is an indexed output parameter that indicates the alarm type
of the highest priority active alarm. For the AI block:
0 = No alarm
8 = Bad I/O alarm.
PVSTS Process Variable Status is a non-settable, packed Boolean output that con-
tains the PV.Status of the associated device function block. See
Section A.6.4 for a description of the .Status value.
RO1 Range Output 1 is a real array consisting of the two parameters HSCO1
and LSCO1. The array members are configured by their individual
names; however, RO1 and its members can be accessed on an array basis
by user tasks and displays.
414
Appendix A. Legacy AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
When SIMOPT= 1 (True), the status and value of OUT are not recovered
from the field, but are computed by the control station based on the simu-
lated value derived from the MEAS parameter. The simulated values are
limited by HSCI1 and LSCI1. If this limiting action forces a clamping of
the entered value, the status of OUT is set to Limited High or Limited
Low, as appropriate.
TYPE Type is the block type. When an AI block is added to the control database,
the configuration editor enters the value 109 to specify the AI block type.
415
B0700EC – Rev B Appendix A. Legacy AI – Foundation™ fieldbus Analog
but sets are only allowed to clear UNACK to False, and never in the
opposite direction. UNACK is cleared by an operator “acknowledge”
pick on a default display, a user display, or the alarms display.
PV
A.5.1.1 Mode
The device function block supports three modes:
♦ In Automatic mode, the OUT parameter reflects the process variable (PV) value and
status.
♦ In Manual, the OUT parameter can be set manually and the OUT status reflects the
mode.
♦ In OOS (out of service), the block values are not updated and the status of OUT is set
to BAD. In OOS, changes can be made to configured parameters.
416
Appendix A. Legacy AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
A.5.1.2 Simulation
The SIMULATE parameter in the device function block allows the OUT parameter to be set by
an external source such as a hand-held H1 device for testing. When SIMULATE is enabled, the
actual measurement has no affect on the OUT value and status. Simulation at the device block
level also requires that you set a simulation jumper on the device.
The I/A Series AI block supports simulation within the control processor. The option is set with
the SIMOPT parameter in the AI block, as described in Section A.6.7.
A.5.1.3 Conversion
The linearization type parameter (L_TYPE) determines whether the measurement is converted
directly, linearly (indirect), or indirectly with the square root.
XD_SCALE parameter structure determines the high and low scale values, engineering units,
and number of places to the right of the decimal of the value in the selected channel. The
OUT_SCALE parameters provide similar scaling for the value in the OUT parameter.
A.5.1.4 Cutoff
When the Low Cutoff option selected in IO_OPTS and the converted input value falls below the
value in LOW_CUT, the PV parameter is set to zero.
A.5.1.5 Filter
Filtering changes the response time of the device to smooth variations in the input readings
caused by rapid changes in the input value. The filtering time (PV_TIME) is applied to PV, not to
FIELD_VAL.
A.5.1.6 Alarms
The device AI function block provides standard FOUNDATION fieldbus alarms plus HI_HI, HI,
LO and LO_LO applied to OUT.
The I/A Series system does not use the alarm features provided by the device blocks, but rather
provides alarm handling options in the CP-resident AI block. The AO block provides detection
and reporting form BAD I/O, high and low absolute and high-high and low-low alarm condi-
tions. See Section A.6.6.
417
B0700EC – Rev B Appendix A. Legacy AI – Foundation™ fieldbus Analog
to be intelligible in the I/A Series system. From the point of view of the AI block, the relationship
with the device function block can also be described in terms of sink and source connections:
→ Source-sink The AI block parameter is the source for the matching device func-
tion block parameter. Thus, changes to the AI block parameter are
made to the device parameter. For example, when the AI block is ini-
tialized, the TAGDSC value is copied to the device function block
TAG_DESC parameter.
← Sink-source The AI block parameter value is updated by the corresponding device
function block parameter. For example, the MODE_A parameter
reads the device parameter MODE_BLK.Actual to make the actual
device function block mode visible to the control system.
↔ Bidirectional Changes to the AI block parameter are made to the corresponding
device function block parameter and vice versa. For example, when
an AI block is initialized, its STOPTS parameter value is written to
the equivalent device function block parameter, STATUS_OPTS, to
configure how the function block processes block status information.
Subsequent changes to the status options made at the device are writ-
ten back to the AI block STOPTS parameter.
The arrow notation is used in Table A-11; the mappings are presented in alphabetic order,
arranged by the AI block parameter names.
418
Appendix A. Legacy AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
419
B0700EC – Rev B Appendix A. Legacy AI – Foundation™ fieldbus Analog
420
Appendix A. Legacy AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
All other parameter connections are made by the FBM on a client/server basis at the frequency
specified in the UPDPER parameter. The parameter can be set from 0 to 2147483647 millisec-
onds; the default is 10000 (10 seconds). Increasing the frequency of the client/server communica-
tion can significantly add to the load on the H1 segment.
421
B0700EC – Rev B Appendix A. Legacy AI – Foundation™ fieldbus Analog
A.6.3 Scaling
Table 10-9 lists the AI block parameters used to configure the device function block scaling
parameters. When the device block parameters are changed they are read back to the AI block.
422
Appendix A. Legacy AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
the converted status parameter so that the value need not be decoded. Table A-13 shows how the
status byte is formatted.
Table A-13. AI Block Status Format
Bits Description
0-1 Limits
0 = Not limited
1 = High limited
2 = Low limited
3 = Constant (both high and low limited bits set)
2-5 SubStatus depends on .Quality, as shown in Table A-14
6-7 Quality
0 = Bad
1 = Uncertain
2 = Good (non-cascade)
3 = Good (cascade)
Table A-14 shows the usage of the Substatus bits, which varies depending on which .Quality bits
are set.
Table A-14. AI Block Substatus
423
B0700EC – Rev B Appendix A. Legacy AI – Foundation™ fieldbus Analog
424
Appendix A. Legacy AI – Foundation™ fieldbus Analog Input B0700EC – Rev B
A.6.6 Alarms
The AI block uses standard I/A Series alarm detection and reporting features, rather than the
alarm features of the device function block, to provide bad I/O, high and low absolute, and high-
high and low-low alarming. The functionality is configured with the parameters described in
Table 10-10.
Refer to Integrated Control Software Concepts (B0700AG) for information on alarm functionality.
425
B0700EC – Rev B Appendix A. Legacy AI – Foundation™ fieldbus Analog
A.6.7 Simulation
Simulation of a control loop involving analog input from an H1 device can be performed using
the SIMULATE parameters in the device function blocks as described Section A.5.1.2, or the
simulation can be performed entirely within the control station by using the AI simulation option
and the equivalent functionality in the output blocks.
When SIMOPT= 1 (True), the status and value of OUT are not recovered from the field, but are
computed by the control station based on the simulated value derived from the MEAS parameter.
The simulated values are limited by HSCI1 and LSCI1. If this limiting action forces a clamping
of the entered value, the status of OUT is set to Limited High or Limited Low, as appropriate.
Refer to InFusion Enterprise Control System: Implementing FOUNDATION fieldbus (B0750BC) or
Implementing FOUNDATION fieldbus on the I/A Series System (B0700BA) for instructions on con-
ducting control simulations from the device or control station.
426
Appendix B. Legacy AO –
FOUNDATION™ fieldbus Analog
Output
This appendix describes the legacy Analog Output (AO) block, shipped with I/A Series systems
with v8.4.3 or earlier software, used with an FBM228 with SWTYPE=228. The AO block
interfaces the control system with a corresponding analog output function block operating in a
FOUNDATION™ fieldbus H1 device.
B.1 Overview
Analog Output (AO) is a Distributed Control Interface (DCI) block that provides an interface
between the control processor and an analog output function block operating in a FOUNDA-
TION fieldbus H1 device (the device function block). The AO block is supported on the
FCP270 and ZCP270 when the H1 device is connected to the control station by an FBM228
(with SWTYPE=228). The AO block is configured using the Block Configurator in the InFu-
sion Engineering Environment (IEE) as described in InFusion Enterprise Control System: Imple-
menting FOUNDATION fieldbus (B0750BC) or with the I/A Series Configuration Component
(IACC) software as described in Implementing FOUNDATION fieldbus on the I/A Series System
(B0700BA).
B.3 Features
The AO block provides the following features:
♦ Outputs a setpoint value to the linked device analog output function block, and
acquires the block’s primary output value and status for read-back to the control
system
♦ Time stamps value and status changes
♦ Accesses the parameters in the device function block’s View 1, View 2 and View 4
using change-driven and periodic client/server connections
427
B0700EC – Rev B Appendix B. Legacy AO – Foundation™ fieldbus Analog
♦ Ensures that changes in the device function block’s process values and error conditions
are continuously available for display and connection to the control strategy
♦ Supports the device block Fault State handling
♦ Provides for the configuration of device block parameters from the I/A Series system
and management of the device configuration in the control database
♦ Enables users to set the mode of the device function block to Automatic, Cascade,
Manual or Out of Service
♦ Provides detection and reporting for Bad I/O alarming
♦ Supports simulation of device block output within the control station
428
Appendix B. Legacy AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
429
B0700EC – Rev B Appendix B. Legacy AO – Foundation™ fieldbus Analog
430
Appendix B. Legacy AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
ALMOPT Alarm Options contains packed long values representing the alarm types
that have been configured as options in the block, and the alarm groups
that are in use. Table B-2 shows how the parameter is used by the AO
block.
Bit
Number*
(0 to 31) Configured Alarm Option, When True
0 (lsb) Alarm Group 8 in Use
1 Alarm Group 7 in Use
2 Alarm Group 6 in Use
3 Alarm Group 5 in Use
4 Alarm Group 4 in Use
5 Alarm Group 3 in Use
6 Alarm Group 2 in Use
7 Alarm Group 1 in Use
22 Bad I/O Alarm Configured
*Bit 0 is the least significant, low order bit.
ALMSTA Alarm Status is a 32-bit output, bit-mapped to indicate the block’s alarm
states. Table B-3 shows the bits used by the AO block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
UNAK B2
B3
B4
B5
B6
B7
B8
B9
CRIT PRTYPE
BAD
INH
431
B0700EC – Rev B Appendix B. Legacy AO – Foundation™ fieldbus Analog
Bit Boolean
Number Description, Connection
(0 to 31)* Name When True (B32 to B1)
0 to 4 PTYP_MSK Priority Type: See parameter ---
PRTYPE for values used in the FF
blocks
5 to 7 CRIT_MSK Criticality: 1 (highest priority) to 5 ---
22 BAD Bad I/O Alarm ALMSTA.B10
29 INH Inhibit Alarm. This bit is set when ALMSTA.B3
any of the block’s alarms is inhibited
30 UNAK Unacknowledged ALMSTA.B2
*Bit 0 is the least significant, low order bit.
AMRTIN Alarm Message Regeneration Time Interval specifies the rate at which
alarm messages are generated for alarm conditions that have not been
cleared. The interval is specified in seconds. The configured interval is
rounded up to the closest value that is an even multiple of the station
BPC. A value of 0 disables alarm message regeneration.
AUT_SW Auto Switch is a settable Boolean output used to set the MODE_T
parameter, and thus the MODE_BLK.Target1 in the associated device
function block, to Auto.
BADPRI Bad Alarm Priority is a configurable integer input used to specify the
Alarm Priority to be assigned to Bad Alarms in the block. BADPRI is
settable if unlinked. The range is 1 (highest) to 5 (default).
1. Device function block parameters are shown in this document in italics. Function blocks may use
different names for these parameters.
432
Appendix B. Legacy AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
ing. Since its purpose is to provide the upstream block with a back-calcu-
lated value, connect BCALCO to the BCALCI parameter of the upstream
block.
BLKERR Block Error is a non-settable, packed Boolean output that contains the
BLOCK_ERR parameter of the associated device function block.
Table B-4 shows the parameter format.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
FBM228 B13
B14
B15
B16
B17
B18
B19
B20
B21
B24
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
B9
UDEF
FBM
TRK
LCK
BIO
MA
ON
LO
LR
FS
433
B0700EC – Rev B Appendix B. Legacy AO – Foundation™ fieldbus Analog
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
3 LO The device function block mode is Local BLKSTA.B29
Override
6 TRK Block is being tracked as the device BLKSTA.B26
function block is in Local Override or
Initialization Manual mode
8 FBM There is a communication failure BLKSTA.B24
between CP and FBM
10 LR Device block mode is Cascade. BLKSTA.B24
(0 indicates the device block mode is
either Auto or Manual.)
11 MA The device block mode is Auto. BLKSTA.B21
12 BIO Bad I/O BLKSTA.B20
14 UDEF Block is undefined BLKSTA.B18
15 ON The compound that contains the block BLKSTA.B17
is ON
19 FBM228 The device is hosted and scheduled by BLKSTA.B13
an FBM228
20 LCK A workstation has locked this block. BLKSTA.B12
24 FS Fault State has been asserted in the BLKSTA.B8
device function block
*Bit 0 is the least significant, low order bit.
CAS_IN Cascade Input is a configurable real input used to specify the CAS_IN
parameter of the associated device function block. It is settable only in
Cascade mode if unlinked.
CAS_SW Cascade Switch is a settable output used to set the MODE_T parameter,
and thus the MODE_BLK.Target in the associated device function block,
to Cascade.
434
Appendix B. Legacy AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
CRIT Criticality is an integer output that indicates the priority of the block’s
highest currently active alarm. The range is 1 (highest priority) to 5
(default). An output of 0 indicates the absence of alarms.
DEFINE Define is a data store that indicates the presence or absence of configura-
tion errors. The default is 1 (no configuration errors). When the block
initializes, DEFINE is set to 0 if any configured parameters fail validation
testing. See “ERCODE” on page 435 for a list of all possible validation
errors in this block.
♦ If DEFINE = 0, no further processing of the block occurs,
including further validation of remaining parameters.
♦ To return DEFINE to a True value, correct all configuration errors
and reinstall the block.
♦ If DEFINE = 0, the bit BLKSTA.UDEF = 1.
EI1 Engineering Units Input 1 provides the engineering units text for the
OUT parameter. The value configured for this text string should be con-
sistent with the values used for HSCI1 and LSCI1. This parameter does
not configure units in the device block; see EUI1.
EO1 Engineering Units for Output 1 specifies the engineering units text for the
PV parameter. The value configured for this text string should be consis-
tent with the values used for HSCO1 and LSCO1. This parameter does
not configure units in the device function block; see EUO1.
ERCODE Error Code is a string data store that indicates the type of configuration
error which caused the block’s DEFINE parameter to be set False.
435
B0700EC – Rev B Appendix B. Legacy AO – Foundation™ fieldbus Analog
Validation of configuration errors does not proceed past the first error
encountered by the block logic. Table B-6 lists the possible values of
ERCODE.
ERCODE Value
W43 INVALID PERIOD/PHASE COMBINATION
W54 ECB DOES NOT EXIST
W62 UNRESOLVED CONNECTION
W65 INVALID POINT ADDRESS
W66 DUPLICATE CONNECTION
W67 INSUFFICIENT FBM MEMORY/CONNECTIONS
W68 INVALID DEVICE CONNECTION
W69 INVALID POINT CONNECTION
W73 FF FUNCTION BLOCK CONFIGURATION ERROR
W74 FF FUNCTION BLOCK DDITEM MISMATCH
W75 FF FUNCTION BLOCK DDMBR MISMATCH
W76 INVALID FF MODE CONFIGURATION
W77 FIELDBUS COMMUNICATION FAULT
W78 INVALID FUNCTION BLOCK
W79 INVALID PARAMETER INDEX
W80 FIELDBUS DEVICE NOT FOUND
FSOPTN Fault State Option is a configurable integer parameter that specifies the
Fault State conditions and action to be taken by the FBM and the con-
nected H1 device for an output point in the AO block:
♦ Bit 0: 1 = Assert Fault State if there is an input or measurement
error.
Note that ERROPT must be configured nonzero for this
option to take effect.
436
Appendix B. Legacy AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
Bit 0 is the least significant, low order bit. FSOPTN is dependent upon
how the Fault State parameters are configured in the device with which
the AO block is being used. The Fault State can also be turned off in the
device resource block, which would render FSOPTN ineffective.
FSTIME Fault State Time is a configurable, downloadable, real value used to specify
the FSTATE_TIME parameter of a device function block. See
Section B.6.6.
INHIB Inhibit is a configurable, connectable and settable boolean that, when set,
suppresses all alarm message reporting. INHIB affects only alarm message
reporting; the alarm handling and detection functions are determined by
the INHOPT setting.
INHOPT Inhibit Option specifies the following actions applying to all block alarms:
♦ 0 = When an alarm is inhibited, disables alarm messages but does
not disable alarm detection.
♦ 1 = When an alarm is inhibited, disables both alarm messages and
alarm detection. If an alarm condition exists at the time the alarm
transitions into the inhibited state, the alarm indicator is cleared.
♦ 2 = Same as 0 for inhibited alarms. For uninhibited alarms,
automatically acknowledges “return-to-normal” messages.
“Into alarm” messages can be acknowledged by explicitly setting
UNACK False.
♦ 3 = Same as 1 for inhibited alarms. For uninhibited alarms,
automatically acknowledges “return-to-normal” messages.
“Into alarm” messages can be acknowledged by explicitly setting
UNACK False.
437
B0700EC – Rev B Appendix B. Legacy AO – Foundation™ fieldbus Analog
INHSTA Inhibit Status contains packed long values that represent the current
inhibit status of each alarm type configured in the block. Table B-7 shows
how parameter is used with the AO block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 15 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BAD B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
B9
Table B-7. INHSTA Parameter Format
Bit Boolean
Number* Description, Connection
(0 to 31) Name When True (B32 to B1)
22 BAD Bad I/O Alarm Inhibited INHSTA.B10
*Bit 0 is the least significant, low order bit.
Bit Boolean
Number* Description, When True Connection
14 SP-PV Track in Man IO_OPTS.B18
12 SP-PV Track in LO IO_OPTS.B19
11 SP Track retained target IO_OPTS.B21
438
Appendix B. Legacy AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
Bit Boolean
Number* Description, When True Connection
9 Fault State to Value IO_OPTS.B23
8 Fault State on Restart IO_OPTS.B24
7 Target to MAN on FS IO_OPTS.B25
6 Use PV for BKCAL_OUT IO_OPTS.B26
*Bit 0 is the least significant, low order bit.
LOCKID Lock Identifier is a string identifying the workstation that has locked
access to the block via a successful setting of LOCKRQ. LOCKID has
the format LETTERBUG:DEVNAME, where LETTERBUG is the
6-character letterbug of the workstation and DEVNAME is the 1 to
6-character logical device name of the Display Manager task.
LOCKRQ Lock Request is a Boolean input which can be set True or False only by a
SETVAL command from the LOCK U/L toggle key on workstation dis-
plays. When LOCKRQ is set True in this fashion, a workstation identifier
accompanying the SETVAL command is entered into the LOCKID
parameter of the block. Thereafter, set requests to any of the block’s
parameters are only honored (subject to the usual access rules) from the
workstation whose identifier matches the contents of LOCKID.
LOCKRQ can be set False by any workstation at any time, whereupon a
new LOCKRQ is accepted, and a new ownership workstation identifier is
written to LOCKID.
LSCI1 Input Low Scale specifies the XD_SCALE.EU_0 parameter value of the
device function block.
LSCO1 Output Low Scale specifies the PV_SCALE.EU_0 parameter value of the
device function block.
MAN_SW Manual Switch is a settable output used to set the MODE_T parameter,
and thus the MODE_BLK.Target in the associated device function block,
to Manual.
439
B0700EC – Rev B Appendix B. Legacy AO – Foundation™ fieldbus Analog
OOS_SW Out of Service Switch is a settable output used to set the MODE_T
parameter, and thus the MODE_BLK.Target in the associated device func-
tion block, to Out of Service.
OUT Output is a real output that contains the OUT parameter of the associated
device function block. It is settable only in Manual mode.
OUTSTS Output Status is a non-settable, packed Boolean output that contains the
value of OUT.Status in device function blocks. See Section B.6.5.
PERIOD Period is an indexed input that dictates the block’s execution time base
and allowable PHASE values. PERIOD values range from 0 to 9 and map
to the following period time lengths:
Period Length Period Length
0 0.1 second 5 30 seconds
1 0.5 second* 6 1 minute
2 1.0 second 7 10 minutes
3 2.0 seconds 8 60 minutes
440
Appendix B. Legacy AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
PHASE Phase is an integer input that causes the block to execute at a specific BPC
within the time determined by the PERIOD. For instance, assuming that
the BPC of the I/A Series station is 0.5 second, a block with a PERIOD of
3 (2.0 seconds) can execute within the first, second, third, or fourth BPC
of the 2-second time period. See Integrated Control Software Concepts
(B0700AG).
PRIBLK Primary Block indicates whether the AO block has a connection from an
upstream block (PRIBLK = 1) or not (PRIBLK = 0). Its value and the
value of PRITIM determine whether the block remains in holding until
the upstream block returns an acknowledgement, remains in holding for a
fixed time delay, or ends the hold after one cycle.
PRITIM Primary Cascade Timer is a configurable parameter used to delay the clos-
ing of the cascade to a primary block when the output is initialized in the
AO block. It is used only if the PRIBLK option is set. If PRITIM = 0 and
PRIBLK is used, the cascade remains open indefinitely until acknowl-
edged by the primary block.
PRTYPE Priority Type is an indexed output parameter that indicates the alarm type
of the highest priority active alarm. For the AO block:
0 = No alarm
8 = Bad I/O alarm.
PVSTS Process Variable Status is a non-settable, packed Boolean output that con-
tains the PV.Status of the associated device function block. See
Section B.6.5.
RO1 Range Output 1 is a real array consisting of the two parameters HSCO1
and LSCO1. The array members are configured by their individual
names; however, RO1 and its members can be accessed on an array basis
by user tasks and displays.
441
B0700EC – Rev B Appendix B. Legacy AO – Foundation™ fieldbus Analog
SETFS Set Fault State Request is a Boolean parameter that requests Fault State
action to be reset by the FBM or field device for the specific output value
of the block. The settings are:
♦ 1 = set Fault State request
♦ 0 = reset Fault State request
See Section B.6.6.
SPHLIM Set Point High Limit is a configurable real input that is used to specify the
SP_HI_LIM parameter of the associated device function block. It is
settable if unlinked. See Section B.5.1.2 for further details.
SPLLIM Set Point Low Limit is a configurable real input that is used to specify the
SP_LO_LIM parameter of the associated device function block. It is
settable if unlinked. See Section B.5.1.2 for further details.
SPSTS Set Point Status is a non-settable, packed Boolean output that contains the
SP.Status of the associated device function block. See Section B.6.5.
ST_REV Status Revision is a non-settable integer that contains the ST_REV param-
eter of the associated device function block.
442
Appendix B. Legacy AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
TYPE Type is the block type. When an AO block is added to the control data-
base, the configuration editor enters a value of 110 to specify the AO
block type.
443
B0700EC – Rev B Appendix B. Legacy AO – Foundation™ fieldbus Analog
BKCAL_OUT
RCAS_OUT
SIMULATE
Mode PV Fault
Conversion State
SHED_OPT READBACK
PV_SCALE FSTATE_TIME
XD_SCALE FSTATE_VAL
B.5.1.1 Mode
The device AO block supports the following modes:
♦ Man - Manual allows you to set the OUT parameter.
♦ Auto - In Automatic, the OUT parameter reflects the SP value.
♦ Cas - Cascade allows the OUT parameter to be set by an external source connected to
the CAS_IN parameter.
♦ OOS - When the mode is Out of Service, the block is not processed, the output
channel is maintained at the last value, and the status of OUT is set to BAD.
♦ IMan - Initialization Manual indicates that the path to the output hardware is closed.
The output remains at its last value.
♦ LO - Local Override is set when the resource block has been placed in LO or a Fault
State is active. In LO, the output of the block does not respond to CAS_IN.
B.5.1.2 Setpoint
The source of the Setpoint depends on the block mode as described in Section B.5.1.1. The SP
value is limited to the range defined by SP_HI_LIM and SP_LO_LIM. When the block is in Auto
mode, the rate at which changes in the SP value are passed to the OUT value are limited by the
SP_RATE_DN and SP_RATE_UP parameters.
444
Appendix B. Legacy AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
B.5.1.4 Output
This value is passed to the device’s transducer block to provide the “setpoint” to the servo-position
circuit that actually manipulates the valve position.
B.5.1.5 Simulation
When the SIMULATE parameter in the device function block is set, the OUT parameter value is
not sent to the device, and the BKCAL_OUT can be set an external source such as a hand-held
H1 device for testing. Simulation at the device block level also requires that you set a simulation
jumper on the device.
Simulation of the control loop involving an analog output to an H1 device can be accomplished
entirely within the control station and not involve communication with the H1 devices, as
described in Section B.6.8.
B.5.1.7 PV Conversion
The PV_SCALE parameter is used to convert the SP to percent of span. The XD_SCALE range is
used to convert percent of span to the number used by the hardware. This allows portions of the
SP span to cause full span movement of the output. The Increase to close option in IO_OPTS can
be used to invert the span. See FF-891, Section 4.9.3 for a description of the AO block scaling.
445
B0700EC – Rev B Appendix B. Legacy AO – Foundation™ fieldbus Analog
The arrow notation is used in the Table B-10 descriptions of AO parameter transforms. These are
presented in alphabetic order, arranged by the AO block parameter names.
FF Function block
Parameter Device Analog Output Block Parameter
AUT_SW MODE_BLK.Target
When AUT_SW = 1:
Set MODE_T (request) = AUTO
Set CAS_SW=0, MAN_SW=0, OOS_SW=0
Write MODE_T (request) to FBM
446
Appendix B. Legacy AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
FF Function block
Parameter Device Analog Output Block Parameter
BCALCO BKCAL_OUT, CAS_IN, MODE_BLK.Actual
BCALCO.value ← BKCAL_OUT.Value if initializing;
← CAS_IN.Value if not initializing
BCALCO.status.LHI ← BKCAL_OUT.Status.Limited Hi (Bit 0),
or MODE_BLK.Actual is not Cascade,
or BKCAL_OUT.Status.Bad (Bits 6-7=0),
or CP-FBM communication failure,
or the DCI connection record indicates
an Initialization Request (IR), Local Override (LO),
Open Loop (LHI and LLO), Not Invited (NI), or
Fault State Active (FSA) condition in the AO function block.
BCALCO.status.LLO ← BKCAL_OUT.Status.Limited Lo (Bit 1),
or MODE_BLK.Actual is not Cascade,
or BKCAL_OUT.Status.Bad (Bits 6-7=0),
or CP-FBM communication failure,
or the DCI connection record indicates
an Initialization Request (IR), Local Override (LO),
Open Loop (LHI and LLO), Not Invited (NI),
or Fault State Active (FSA) condition in the AO function block.
BCALCO.status.BAD ← BKCAL_OUT.Status.Bad (Bits 6-7=0)
or CP-FBM communication failure
BCALCO.status.OOS ← BKCAL_OUT.Status.Bad (Bits 6-7=0)
and Substatus.OOS (bits2-5= 7),
or Compound is Off,
or FBM228 is Off-Line or DCI Not Ready,
or H1 Device is Failed or Disabled,
or CP-FBM communication failure,
or DCI_COMM_DATA.connect_status <= 0
BCOSTS BKCAL_OUT
BCOSTS.value ← BKCAL_OUT.Status
BLKERR BLOCK_ERR
BLKERR.value ← BLOCK_ERR
BLKERR.status.OOS ← CP-FBM communication is failed or FBM is Off-Line
BLKSTA MODE_BLK.Actual, BKCAL_OUT
BLKSTA.status.OOS ← MODE_BLK.Actual.OOS
BLKSTA.HLD ← CAS_IN source value is BAD
BLKSTA.TRK ← MODE_BLK.Actual.IMAN or LO
BLKSTA.LO ← MODE_BLK.Actual.LO
BLKSTA.FBM ← CP-FBM communication is failed
BLKSTA.BIO ← BKCAL_OUT.Status.Bad (Bits 6-7=0)
BLKSTA.FS ← BKCAL_OUT.Status.Good (Bits 6-7=0)
and Substatus.FSA (bits2-5= 7)
CASSTS CAS_IN
CASSTS.value ← CAS_IN.Status
447
B0700EC – Rev B Appendix B. Legacy AO – Foundation™ fieldbus Analog
FF Function block
Parameter Device Analog Output Block Parameter
CAS_IN CAS_IN, BKCAL_OUT
CAS_IN.value (request) → CAS_IN.Value (in CAS mode only)
CAS_IN.value (actual) ← BKCAL_OUT.Value if initializing;
← CAS_IN.Value if not initializing
CAS_IN.status.LHI ← CAS_IN.Status.Limited Hi (Bit 0)
or CAS_IN source value is LHI
CAS_IN.status.LLO ← CAS_IN.Status.Limited Lo (Bit 1)
or CAS_IN source value is LLO
CAS_IN.status.ERR ← CAS_IN.Status.Uncertain (Bits 6-7=1)
or CAS_IN source value is ERR
CAS_IN.status.BAD ← CAS_IN.Status.Bad (Bits 6-7=0),
or CAS_IN source value is BAD,
or CP-FBM communication failure
CAS_IN.status.OOS ← CAS_IN.Status.Bad (Bits 6-7=0)
and Substatus.OOS (bits2-5= 7),
or CAS_IN source value is OOS,
or Compound is Off,
or FBM228 is Off-Line or DCI Not Ready,
or H1 Device is Failed or Disabled,
or CP-FBM communication failure,
or DCI_COMM_DATA.connect_status <= 0
CHANNL ↔ CHANNEL
DPTI1 ↔ PV_SCALE decimal pt
DPTO1 ↔ XD _SCALE decimal pt
EUI1 ↔ PV _SCALE units index
EUO1 ↔ XD _SCALE units index
FSTIME ↔ FSTATE_TIME
FSVAL ↔ FSTATE_VAL
HSCI1 ↔ PV _SCALE @ 100%
HSCO1 ↔ XD _SCALE @ 100%
IOOPTS ↔ IO_OPTS
LSCI1 ↔ PV _SCALE @ 0%
LSCO1 ↔ XD _SCALE @ 0%
MAN_SW MODE_BLK.Target
When MAN_SW = 1:
Set MODE_T (request) = MAN
Set CAS_SW=0, AUT_SW=0, OOS_SW=0
Write MODE_T (request) to FBM
MODE_A MODE_BLK.Actual
MODE_A.value ← MODE_BLK.Actual
MODE_N ↔ MODE_BLK.Normal
448
Appendix B. Legacy AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
FF Function block
Parameter Device Analog Output Block Parameter
MODE_P ↔ MODE_BLK.Permit
MODE_T MODE_BLK.Target
MODE_T.value (request) ← MODE_BLK.Target
MODE_T.value (actual) ← MODE_BLK.Target
NAME → Function Block Tag
OOS_SW MODE_BLK.Target
When OOS_SW is set =1:
Set MODE_T (request) = OOS
Set CAS_SW=0, AUT_SW=0, MAN_SW=0
Write MODE_T (request) to FBM
OUT OUT
OUT.value (request) → OUT.Value (in MAN mode only)
OUT.value (actual) ← OUT.Value
OUT.status.LHI ← OUT.Status.Limited Hi (Bit 0)
OUT.status.LLO ← OUT.Status.Limited Lo (Bit 1)
OUT.status.ERR ← OUT.Status.Uncertain (Bits 6-7=1)
OUT.status.BAD ← OUT.Status.Bad (Bits 6-7=0) or CP-FBM communication failure
OUT.status.OOS ← OUT.Status.Bad (Bits 6-7=0) and Substatus.OOS (bits2-5= 7),
or Compound is Off,
or FBM228 is Off-Line or DCI Not Ready,
or H1 Device is Failed or Disabled,
or CP-FBM communication failure,
or DCI_COMM_DATA.connect_status <= 0
OUTSTS OUT
OUTSTS.value ← OUT.Status
PV PV, BKCAL_OUT
PV.value ← PV.Value if IO_OPTS.Use PV for BKCAL_OUT (Bit 9)= 0
← BKCAL_OUT if IO_OPTS.Use PV for BKCAL_OUT (Bit 9)= 1
PV.status.LHI ← PV.Status.Limited Hi (Bit 0)
PV.status.LLO ← PV.Status.Limited Lo (Bit 1)
PV.status.ERR ← PV.Status.Uncertain (Bits 6-7=1)
PV.status.BAD ← PV.Status.Bad (Bits 6-7=0) or CP-FBM communication failure
PV.status.OOS ← PV.Status.Bad (Bits 6-7=0) and Substatus.OOS (bits2-5= 7),
or Compound is Off,
or FBM228 is Off-Line or DCI Not Ready,
or H1 Device is Failed or Disabled,
or CP-FBM communication failure,
or DCI_COMM_DATA.connect_status <= 0
PVSTS PV
PVSTS.value ← PV.Status
449
B0700EC – Rev B Appendix B. Legacy AO – Foundation™ fieldbus Analog
FF Function block
Parameter Device Analog Output Block Parameter
RBK READBACK
RBK.value ← READBACK.Value
RBK.status.LHI ← READBACK.Status.Limited Hi (Bit 0)
RBK.status.LLO ← READBACK.Status.Limited Lo (Bit 1)
RBK.status.ERR ← READBACK.Status.Uncertain (Bits 6-7=1)
RBK.status.BAD ← READBACK.Status.Bad (Bits 6-7=0) or
CP-FBM communication failure
RBK.status.OOS ← READBACK.Status.Bad (Bits 6-7=0)
and Substatus.OOS (bits2-5= 7),
or Compound is Off,
or FBM228 is Off-Line or DCI Not Ready,
or H1 Device is Failed or Disabled,
or CP-FBM communication failure,
or DCI_COMM_DATA.connect_status <= 0
RBKSTS READBACK
RBKSTS.value ← READBACK.Status
SHEDOP ↔ SHEDOP
SP SP
SP.value (request) ← SP.Value (in AUTO mode only)
SP.value (actual) ← SP.Value
SP.status.LHI ← SP.Status.Limited Hi (Bit 0)
SP.status.LLO ← SP.Status.Limited Lo (Bit 1)
SP.status.BAD ← SP.Status.Bad (Bits 6-7=0) or CP-FBM communication failure
SP.status.OOS ← SP.Status.Bad (Bits 6-7=0) a and Substatus.OOS (bits2-5= 7),
or Compound is Off,
or FBM228 is Off-Line or DCI Not Ready,
or H1 Device is Failed or Disabled,
or CP-FBM communication failure,
or DCI_COMM_DATA.connect_status <= 0
SPHLIM SP_HI_LIM
SPHLIM.value (request) → SP_HI_LIM.Value (in AUTO mode only)
SPHLIM.value (actual) ← SP_HI_LIM.Value
SPHLIM.status.OOS ← SPHLIM source value is OOS,
or Compound is Off,
or FBM228 is Off-Line,
or CP-FBM communication failure
SPLLIM SP_LO_LIM
SPLLIM.value (request) → SP_LO_LIM.Value (in AUTO mode only)
SPLLIM.value (actual) ← SP_LO_LIM.Value
SPLLIM.status.OOS ← SPLLIM source value is OOS,
or Compound is Off,
or FBM228 is Off-Line,
or CP-FBM communication failure
450
Appendix B. Legacy AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
FF Function block
Parameter Device Analog Output Block Parameter
SPSTS SP
SPSTS.value ← SP.Status
STOPTS ↔ STATUS_OPTS
STRATG ↔ STRATEGY
ST_REV ← ST_REV
TAGDSC ← TAG_DESC
451
B0700EC – Rev B Appendix B. Legacy AO – Foundation™ fieldbus Analog
♦ Configure a CD message for each macrocycle to publish the device function block’s
BKCAL_OUT to be read by the AO block BCALCO parameter.
♦ Schedule client/server connections between the AO block and the device function
block for view updates.
Table B-11 lists the device function block parameters and the AO block parameters used to con-
figure them. For the AO block, the table includes both the six-character (maximum) parameter
name that is used in block detail displays and the IACC parameter labels, which more closely
resemble the FOUNDATION fieldbus parameter names. Use the six-character parameter name
when connecting parameters to a process display.
452
Appendix B. Legacy AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
♦ Set the Fault State option in the resource block’s FEATURE_SEL parameter.
The following IO_OPTS features are not supported:
♦ Invert (do not use)
♦ SP Track Retained Target
♦ Increase to Close (do not use)
♦ Target to Man if FS Asserted.
B.6.3 Scaling
Table B-12 lists AO block parameters used to set the device function block scaling parameters.
453
B0700EC – Rev B Appendix B. Legacy AO – Foundation™ fieldbus Analog
♦ CAS_SW changes the target mode to Cascade in which OUT is derived from the
CAS_IN parameter (which in turn is set by the AO block CASIN parameter).
♦ MAN_SW changes the target mode to Manual so that the device OUT parameter can
be set via the AO block OUT parameter.
♦ OOS_SW changes the target mode to Out of Service so that the configurable device
block parameters can be modified.
Refer to Table B-10 for a description of the switch parameter actions and mapping of the AO
block mode parameters to their device block equivalents.
Bits Description
0-1 Limits:
0 = Not limited
1 = High limited
2 = Low limited
3 = Constant (both high and low limited bits set)
2-5 SubStatus depends on .Quality, as shown in Table B-14
6-7 Quality:
0 = Bad
1 = Uncertain
2 = Good (non-cascade)
3 = Good (cascade)
Table B-14 shows the usage of the Substatus bits, which varies depending on the bits set
in .Quality.
454
Appendix B. Legacy AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
455
B0700EC – Rev B Appendix B. Legacy AO – Foundation™ fieldbus Analog
456
Appendix B. Legacy AO – Foundation™ fieldbus Analog Output B0700EC – Rev B
Parameter Description
FSOPTN Enables one or more faultstate operations in the AO block as follows:
♦ 0 Disable all options
♦ 1 Assert Fault State on an input or measurement error
♦ 2 Set or clear Fault State when SETFS is set or cleared
♦ 3 Assert Fault State if the FBM228 detects a failure in communica-
tions with the control station
♦ 7 Sets options 1, 2, and 3 (recommended setting)
IO_OPTS Configures the device block parameter IO_OPTS to enable/disable two
Fault State options:
♦ Fault State on Restart: Selecting this option causes the device to go
to the value specified in FSTATE_VAL on a device RESTART. If
this option is not selected and the device block can go to its target
mode upon RESTART, the last saved setpoint (SP) is used for gen-
erating the Fault State position.
♦ Fault State to Value: When this option is selected, the block uses
the value specified in FSTATE_VAL. When the option is not
selected, the last saved setpoint is used.
FSVAL Configures FSTATE_VAL in the device function block, specifying the
value that is asserted when one of the faultstate options is invoked.
FSTIME Configures FSTATE_TIME in the device function block, setting the
period that the fault condition must last before the block asserts the spec-
ified value. A Fault State action does not occur until the FSTATE_TIME
interval has expired.
NOTE
An additional requirement for Fault State handling at the device level is that the
Fault State option must be selected in the device resource block, that is,
(0x4)FaultState must be selected in FEATURE_SEL.
B.6.7 Alarms
The AO block uses standard I/A Series alarm parameters, rather than the alarm features of the
device function block, to specify how to report to the control system when the OUT value is bad.
Alarming is enabled when BADOPT is set to 1 (TRUE). The alarm priority and alarm group are
specified in BADPRI and BADGRP, respectively. The alarm message is specified in BADTXT.
Refer to Integrated Control Software Concepts (B0700AG) for information on alarm functionality.
B.6.8 Simulation
Simulation of a control loop involving an analog output to an H1 device can be performed using
the SIMULATE parameters in the device function blocks as described Section B.5.1.5, or the
simulation can be performed entirely within the control station by using the AO block simulation
option and the equivalent functionality in the input blocks.
457
B0700EC – Rev B Appendix B. Legacy AO – Foundation™ fieldbus Analog
When SIMOPT= 1 (True), the value in CASIN is not sent to the device, but is copied directly to
the BCALCO parameter. The status and value of BKCAL_OUT are not recovered from the field.
Refer to InFusion Enterprise Control System: Implementing FOUNDATION fieldbus (B0750BC) or
Implementing FOUNDATION fieldbus on the I/A Series System (B0700BA) for instructions on con-
ducting control simulations from the devices or in the control station.
458
Appendix C. Legacy DI –
FOUNDATION™ fieldbus Discrete
Input
This appendix describes the legacy I/A Series Discrete Input (DI) block, shipped with I/A Series
systems with v8.4.3 or earlier software, used with an FBM228 with SWTYPE=228. The DI
block interfaces the control system with a corresponding discrete input function block operating
in a FOUNDATION™ fieldbus H1 device.
C.1 Overview
Discrete Input (DI) is a Distributed Control Interface (DCI) block that provides an interface
between the control processor and a discrete input function block operating in a FOUNDATION
fieldbus H1 device (the device function block). The DI block is supported on the FCP270 and
ZCP270 when the H1 device is connected to the control station by an FBM228 (with
SWTYPE=228). The DI block is configured using the Block Configurator in the InFusion
Engineering Environment (IEE) as described in InFusion Enterprise Control System: Implement-
ing FOUNDATION fieldbus (B0750BC) or with the I/A Series Configuration Component
(IACC) software as described in Implementing FOUNDATION fieldbus on the I/A Series System
(B0700BA).
C.3 Features
The DI block provides the following features:
♦ Acquires the device function block’s primary output value and status
♦ Time stamps value and status changes
♦ Accesses the parameters in the device function block’s View 1, View 2 and View 4
using change-driven and periodic client/server connections
♦ Ensures that changes in the device function block’s process values and error conditions
are continuously available for display and connection to the control strategy.
459
B0700EC – Rev B Appendix C. Legacy DI – Foundation™ fieldbus Discrete
♦ Provides for the configuration of device function block parameters from the I/A Series
system and management of the device configuration in the control database
♦ Enables users to set the mode of the device function block to Auto, Manual or Out of
Service
♦ Provides alarm detection and reporting for Bad I/O
♦ Supports simulation of device block output within the control station
460
Appendix C. Legacy DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
461
B0700EC – Rev B Appendix C. Legacy DI – Foundation™ fieldbus Discrete
ALMOPT Alarm Options contain packed long values representing the alarm types
that have been configured as options in the block, and the alarm groups
that are in use. Table C-2 shows how the parameter is used by the DI
block.
Bit
Number*
(0 to 31) Configured Alarm Option, When True
0 (lsb) Alarm Group 8 in Use
1 Alarm Group 7 in Use
2 Alarm Group 6 in Use
3 Alarm Group 5 in Use
4 Alarm Group 4 in Use
5 Alarm Group 3 in Use
6 Alarm Group 2 in Use
7 Alarm Group 1 in Use
22 Bad I/O Alarm Configured
26 Discrete Alarm Configured
*Bit 0 is the least significant, low order bit.
462
Appendix C. Legacy DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
ALMSTA Alarm Status is a 32-bit output, bit-mapped to indicate the block’s alarm
states. Table shows the bits used by the DI block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
UNAK B2
B3
B4
B5
B6
B7
B8
B9
DSC
CRIT PRTYPE
BAD
INH
Bit Boolean
Number Description, Connection
(0 to 31)* Name When True (B32 to B1)
0 to 4 PTYP_MSK Priority Type: See parameter ---
PRTYPE for values used in the FF
blocks
5 to 7 CRIT_MSK Criticality: 1 (highest priority) to 5 ---
22 BAD Bad I/O Alarm ALMSTA.B10
26 DSC Discrete State Alarm ALMSTA.B6
29 INH Inhibit Alarm. This bit is set when ALMSTA.B3
any of the block’s alarms is inhibited
30 UNAK Unacknowledged ALMSTA.B2
*Bit 0 is the least significant, low order bit.
AMRTIN Alarm Message Regeneration Time Interval specifies the rate at which
alarm messages are generated for alarm conditions that have not been
cleared. The interval is specified in seconds. The configured interval is
rounded up to the closest value that is an even multiple of the station
BPC. A value of 0 disables alarm message regeneration.
AUT_SW Auto Switch is a settable Boolean output used to set the MODE_T
parameter, and thus the MODE_BLK.Target1 in the associated device
function block, to Auto.
1. Device function block parameters are shown in this document in italics. Function blocks may use
different names for these parameters.
463
B0700EC – Rev B Appendix C. Legacy DI – Foundation™ fieldbus Discrete
BADPRI Bad Alarm Priority is a configurable integer input used to specify the
Alarm Priority to be assigned to Bad Alarms in the block. BADPRI is
settable if unlinked. The range is 1 (highest) to 5 (default).
BLKERR Block Error is a non-settable, packed Boolean output that contains the
BLOCK_ERR parameter of the associated device function block.
Table C-4 shows the parameter format.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
FBM228 B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
B9
UDEF
FBM
TRK
LCK
BIO
ON
MA
LO
464
Appendix C. Legacy DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
3 LO The device function block mode is Local BLKSTA.B29
Override
6 TRK The block is being tracked as the device BLKSTA.B26
function block is in Local Override or
Initialization Manual Mode
8 FBM There is a communication failure BLKSTA.B24
between CP and FBM
11 MA The device block mode is Auto BLKSTA.B21
12 BIO Bad I/O BLKSTA.B20
14 UDEF The block is undefined BLKSTA.B18
15 ON The compound that contains the block BLKSTA.B17
is ON
19 FBM228 The host FBM for the H1 device is an BLKSTA.B13
FBM228
20 LCK A workstation has locked this block. BLKSTA.B12
*Bit 0 is the least significant, low order bit.
CRIT Criticality is an integer output that indicates the priority of the block’s
highest currently active alarm. The range is 1 (highest priority) to 5. An
output of 0 indicates the absence of alarms.
DEFINE Define is a data store that indicates the presence or absence of configura-
tion errors. The default is 1 (no configuration errors). When the block
initializes, DEFINE is set to 0 if any configured parameters fail validation
testing. See “ERCODE” on page 466 for a list of all possible validation
errors in this block.
465
B0700EC – Rev B Appendix C. Legacy DI – Foundation™ fieldbus Discrete
DSCPRI Discrete Alarm Priority is a configurable short integer input that specifies
the Alarm Priority to be assigned to discrete alarms in the block. It is setta-
ble if unlinked. The range is 1 (highest) to 5 (default).
ERCODE Error Code is a string data store that indicates the type of configuration
error which caused the block’s DEFINE parameter to be set False.
Validation of configuration errors does not proceed past the first error
encountered by the block logic. Table C-6 lists the possible values of
ERCODE.
Table C-6. Error Code Values
ERCODE Value
W43 INVALID PERIOD/PHASE COMBINATION
W54 ECB DOES NOT EXIST
W62 UNRESOLVED CONNECTION
W65 INVALID POINT ADDRESS
W66 DUPLICATE CONNECTION
W67 INSUFFICIENT FBM MEMORY/CONNECTIONS
W68 INVALID DEVICE CONNECTION
W69 INVALID POINT CONNECTION
466
Appendix C. Legacy DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
ERCODE Value
W73 FF FUNCTION BLOCK CONFIGURATION ERROR
W74 FF FUNCTION BLOCK DDITEM MISMATCH
W75 FF FUNCTION BLOCK DDMBR MISMATCH
W76 INVALID FF MODE CONFIGURATION
W77 FIELDBUS COMMUNICATION FAULT
W78 INVALID FUNCTION BLOCK
W79 INVALID PARAMETER INDEX
W80 FIELDBUS DEVICE NOT FOUND
IN Simulation Input is a value used as the input to the DI block when simu-
lation is active (SIMOPT = 1). In this mode the DI block is disconnected
from the field device.
INHALM Inhibit Alarm contains packed Boolean values that represent alarm
generation inhibit requests for each type of alarm configured in the block.
Table C-7 shows how the bits are used by the DI block.
Table C-7. INHALM Parameter Format
Boolean
Bit* Connection
(0 to 15) Description, When True (B16 to B1)
6 Inhibit Bad I/O Alarm INHALM.B10
10 Inhibit Discrete Alarm INHALM.B6
*Bit 0 is the least significant, low order bit.
There are no mnemonic names for the individual bits of INHALM.
INHIB Inhibit is a configurable, connectable and settable boolean that, when set,
suppresses all alarm message reporting. INHIB affects only alarm message
reporting; the alarm handling and detection functions are determined by
the INHOPT setting.
INHOPT Inhibit Option specifies the following actions applying to all block alarms:
♦ 0 = When an alarm is inhibited, disables alarm messages but does
not disable alarm detection.
♦ 1 = When an alarm is inhibited, disables both alarm messages and
alarm detection. If an alarm condition exists at the time the alarm
transitions into the inhibited state, the alarm indicator is cleared.
467
B0700EC – Rev B Appendix C. Legacy DI – Foundation™ fieldbus Discrete
INHSTA Inhibit Status contains packed long values that represent the current
inhibit status of each alarm type configured in the block. Table C-8 shows
how parameter is used with the DI block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BAD B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
DSC B6
B7
B8
B9
Bit Boolean
Number* Description, Connection
(0 to 31) Name When True (B32 to B1)
22 BAD Bad I/O Alarm Inhibited INHSTA.B10
26 DSC Discrete Alarm Inhibited INHSTA.B6
*Bit 0 is the least significant, low order bit.
468
Appendix C. Legacy DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
Bit Boolean
Number* Description, When True Connection
15 Invert IO_OPTS.B17
*Bit 0 is the least significant, low order bit.
LOCKID Lock Identifier is a string identifying the workstation that has locked
access to the block via a successful setting of LOCKRQ. LOCKID has
the format LETTERBUG:DEVNAME, where LETTERBUG is the
6-character letterbug of the workstation and DEVNAME is the 1 to
6-character logical device name of the Display Manager task.
LOCKRQ Lock Request is a Boolean input which can be set True or False only by a
SETVAL command from the LOCK U/L toggle key on workstation dis-
plays. When LOCKRQ is set True in this fashion, a workstation identifier
accompanying the SETVAL command is entered into the LOCKID
parameter of the block. Thereafter, set requests to any of the block’s
parameters are only honored (subject to the usual access rules) from the
workstation whose identifier matches the contents of LOCKID.
LOCKRQ can be set False by any workstation at any time, whereupon a
new LOCKRQ is accepted, and a new ownership workstation identifier is
written to LOCKID.
MAN_SW Manual Switch is a settable output used to set the MODE_T parameter,
and thus the MODE_BLK.Target in the associated device function block,
to Manual.
469
B0700EC – Rev B Appendix C. Legacy DI – Foundation™ fieldbus Discrete
OOS_SW Out of Service Switch is a settable output used to set the parameter
MODE_BLK.Target to Out of Service in the associated device function
block.
OUT_D Discrete Output is a short integer output that contains the OUT_D
parameter of the associated device function block. It is settable only in
Manual mode.
OUTSTS Output Status is a non-settable, packed Boolean output that contains the
OUT_D.Status parameter in the associated device function. See
Section C.6.3.
470
Appendix C. Legacy DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
identical to the value in the set request. Otherwise, the request is rejected
with a LOCKED_ACCESS error.
OWNER can be cleared by any application with the null string, which is
always accepted, regardless of the current value of OWNER. Once the
null string is set, the value can be reset as desired.
PERIOD Period is an indexed input that dictates the block’s execution time base
and allowable PHASE values. PERIOD values range from 0 to 9 and map
to the following period time lengths:
Period Length Period Length
0 0.1 second 5 30 seconds
1 0.5 second* 6 1 minute
2 1.0 second 7 10 minutes
3 2.0 seconds 8 60 minutes
4 10 seconds 9 0.2 second
*If the BPC is 0.2 second, this period is treated internally as 0.6 second,
but the PERIOD parameter remains 1.
PHASE Phase is an integer input that causes the block to execute at a specific BPC
within the time determined by the PERIOD. For instance, assuming that
the BPC of the I/A Series station is 0.5 second, a block with a PERIOD of
3 (2.0 seconds) can execute within the first, second, third, or fourth BPC
of the 2-second time period. See Integrated Control Software Concepts
(B0193AW).
PRTYPE Priority Type is an indexed output parameter that indicates the alarm type
of the highest priority active alarm. For the DI block:
0 = No alarm
8 = Bad I/O alarm
9 = Discrete state alarm.
PV_D Discrete Process Variable is a non-settable short integer output that con-
tains the PV_D parameter of the associated device function block.
PVSTS Process Variable Status is a non-settable, packed Boolean output that con-
tains the PV.Status of the associated device function block. See
Section C.6.3 for a description of the status value.
471
B0700EC – Rev B Appendix C. Legacy DI – Foundation™ fieldbus Discrete
Bit
Number* Option Set with Bit
8 Uncertain if MAN Mode
3 Propagate Fault Forward
* Bit 0 is the least significant, low order bit.
TYPE Type is the block type. When a DI block is added to the control database,
the configuration editor enters a numeric value of 119 to specify the block
type as DI.
472
Appendix C. Legacy DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
PV_D
FIELD_VAL_D
Alarms
Mode
DISC
C.5.1.1 Mode
The DI block supports three settable modes:
♦ In Automatic mode, the OUT_D parameter reflects the process variable (PV_D) value
and status.
♦ In Manual mode, the OUT_D parameter is disconnected from the field and can be set
manually. The OUT_D status reflects the mode.
♦ In OOS (out of service) mode, the block values are not updated and the status of
OUT_D is set to BAD. In OOS, changes can be made to configured parameters.
473
B0700EC – Rev B Appendix C. Legacy DI – Foundation™ fieldbus Discrete
C.5.1.2 Simulation
The SIMULATE parameter in the device function block allows the OUT_D parameter to be set
by an external source for testing. When SIMULATE is enabled, the actual measurement has no
affect in the OUT_D value and status. Simulation at the device block level also requires that you
set a simulation jumper on the device.
The I/A Series DI block supports simulation within the control processor. The option is set with
the SIMOPT parameter in the AI block, as described in Section C.6.6.
C.5.1.3 Conversion
When the Invert option is selected in IO_OPTS, the discrete input is logically inverted.
C.5.1.4 Filter
Filtering changes the response time of the device to smooth variations in the input readings
caused by rapid changes in the input value. The filtering time (PV_TIME) is applied to PV_D,
not to FIELD_VAL_D.
C.5.1.5 Alarms
In addition to the standard block alarms, the device DI function block sets an alarm when the
value of PV_D matches the value in DISC_LIM. The alarm condition is added to the OUT_D
status; however, no alarm is generated if the value in DISC_LIM is 255.
The I/A Series system does not use the alarm features provided by the device blocks, but rather
provides alarm handling options in the DI block. The DI block enables BAD alarming using stan-
dard I/A Series alarm parameters.
474
Appendix C. Legacy DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
The arrow notation is used in Table C-11, which describes the parameter transforms for the DI
and the related device function block. These are presented in alphabetic order, arranged by the DI
block parameter names.
Table C-11. DI Block Parameter Transforms
475
B0700EC – Rev B Appendix C. Legacy DI – Foundation™ fieldbus Discrete
476
Appendix C. Legacy DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
477
B0700EC – Rev B Appendix C. Legacy DI – Foundation™ fieldbus Discrete
The principal task of the DI block is to read a discrete value and status from the device. For this
task, the FBM228 establishes a publisher/subscriber connection between the DI block OUT_D
parameter and device function block OUT_D parameter.
All other parameter connections are made by the FBM on a client/server basis at the
frequency specified in the DI block UPDPER parameter. This parameter can be set from 0
to 2147483647 milliseconds; the default is 10000 (10 seconds); however, increasing the
frequency of client/server communication significantly adds to the load on the H1 segment.
478
Appendix C. Legacy DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
Bits Description
0-1 Limits
0 = Not limited
1 = High limited
2 = Low limited
3 = Constant (both high and low limited bits set)
2-5 SubStatus depends on .Quality, as shown in Table C-13
6-7 Quality
0 = Bad
1 = Uncertain
2 = Good (Non-cascade)
3 = Good (Cascade)
Table C-13 shows how the Substatus bits are used given the bits set for .Quality.
479
B0700EC – Rev B Appendix C. Legacy DI – Foundation™ fieldbus Discrete
480
Appendix C. Legacy DI – Foundation™ fieldbus Discrete Input B0700EC – Rev B
481
B0700EC – Rev B Appendix C. Legacy DI – Foundation™ fieldbus Discrete
♦ AUT_SW changes target mode to Auto in which the OUT_D parameter reflects the
block’s computed value (PV_D).
♦ MAN_SW changes to target mode to Manual so the OUT_D can be set.
♦ OOS_SW changes to target mode to Out of Service so that configurable device block
parameters can be modified.
Refer to Table C-11 for a description of the switch parameter actions and mapping of the DI
block mode parameters to their device block equivalents.
C.6.5 Alarms
The DI block uses standard I/A Series alarm detection and reporting features, rather than the
alarm features of the device function block, to report to the control system when the OUT_D
value is bad or the value matches a user-defined discrete value (discrete limit). Alarming is config-
ured using the parameters show in Table C-15.
Refer to Integrated Control Software Concepts (B0700AG) for information on alarm functionality.
C.6.6 Simulation
Simulation of a control loop involving a discrete input from an H1 device can be performed using
the SIMULATE parameters in the device function blocks as described Section C.5.1.2, or the
simulation can be performed entirely within the control station by using the DI block simulation
option and the equivalent functionality in the output blocks.
When SIMOPT= 1 (True), the status and value of OUT_D are not recovered from the field, but
are computed by the control station based on the simulated value derived from the IN parameter.
Refer to InFusion Enterprise Control System: Implementing FOUNDATION fieldbus (B0750BC) or
Implementing FOUNDATION fieldbus on the I/A Series System (B0700BA) for instructions on con-
ducting control simulations from the H1 devices or using DI and other blocks in the control
station.
482
Appendix D. Legacy DO –
FOUNDATION™ fieldbus Discrete
Output
This appendix describes the legacy I/A Series Discrete Output (DO) block, shipped with
I/A Series systems with v8.4.3 or earlier software, used with an FBM228 with SWTYPE=228.
The DO block interfaces the control system with a corresponding Discrete Output function
block operating in a FOUNDATION™ fieldbus H1 device.
D.1 Overview
Discrete Output (DO) is a Distributed Control Interface (DCI) block that provides an inter-
face between the control processor and a discrete output function block operating in a
FOUNDATION fieldbus H1 device (the device function block). The DO block is supported on
the FCP270 and ZCP270 when the H1 device is connected to the control station by an
FBM228 (with SWTYPE=228). The DO block is configured using the Block Configurator in
the InFusion Engineering Environment (IEE) as described in InFusion Enterprise Control Sys-
tem: Implementing FOUNDATION fieldbus (B0750BC) or with the I/A Series Configuration
Component (IACC) software as described in Implementing FOUNDATION fieldbus on the I/A
Series System (B0700BA).
D.3 Features
The DO block provides the following features:
♦ Outputs a setpoint value the linked discrete output device function block, and
acquires the block’s primary output value and status for read-back to the control
system
♦ Time stamps value and status changes
♦ Accesses the parameters in the device function block’s View 1, View 2 and View 4
using change-driven and periodic client/server connections
483
B0700EC – Rev B Appendix D. Legacy DO – Foundation™ fieldbus Discrete
♦ Ensures that changes in the device function block’s process values and error conditions
are continuously available for display and connection to the control strategy
♦ Supports the device block Fault State handling
♦ Provides for configuration of device block parameters from the I/A Series system and
management of the device configuration in the control database
♦ Enables users to set the mode of the device function block to Automatic, Cascade,
Manual or Out of Service
♦ Provides alarm reporting for Bad I/O
♦ Supports simulation of device block output within the control station
484
Appendix D. Legacy DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
485
B0700EC – Rev B Appendix D. Legacy DO – Foundation™ fieldbus Discrete
ALMOPT Alarm Options contain packed long values representing the alarm types
that have been configured as options in the block, and the alarm groups
that are in use. Table D-3 shows how the parameter is used by the DO
block.
486
Appendix D. Legacy DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
Bit
Number*
(0 to 31) Configured Alarm Option, When True
0 (lsb) Alarm Group 8 in Use
1 Alarm Group 7 in Use
2 Alarm Group 6 in Use
3 Alarm Group 5 in Use
4 Alarm Group 4 in Use
5 Alarm Group 3 in Use
6 Alarm Group 2 in Use
7 Alarm Group 1 in Use
22 Bad I/O Alarm Configured
*Bit 0 is the least significant, low order bit.
ALMSTA Alarm Status is a 32-bit output, bit-mapped to indicate the block’s alarm
states. Table D-3 shows the bits used by the DO.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
UNAK B2
B3
B4
B5
B6
B7
B8
B9
CRIT PRTYPE
BAD
INH
Bit Boolean
Number Description, Connection
(0 to 31)* Name When True (B32 to B1)
0 to 4 PTYP_MSK Priority Type: See parameter ---
PRTYPE for values used in the DO
blocks
5 to 7 CRIT_MSK Criticality: 1 (highest priority) to 5 ---
22 BAD Bad I/O Alarm ALMSTA.B10
29 INH Inhibit Alarm. This bit is set when ALMSTA.B3
any of the block’s alarms is inhibited
30 UNAK Unacknowledged ALMSTA.B2
*Bit 0 is the least significant, low order bit.
AMRTIN Alarm Message Regeneration Time Interval specifies the rate at which
alarm messages are generated for alarm conditions that have not been
cleared. The interval is specified in seconds. The configured interval is
487
B0700EC – Rev B Appendix D. Legacy DO – Foundation™ fieldbus Discrete
AUT_SW Auto Switch is a settable Boolean output used to set the MODE_T
parameter, and thus MODE_BLK.Target in the associated device function
block, to Auto.
BADPRI Bad Alarm Priority is a configurable integer input used to specify the
Alarm Priority to be assigned to Bad Alarms in the block. BADPRI is
settable if unlinked. The range is 1 (highest) to 5 (default).
BLKERR Block Error is a non-settable, packed Boolean output that contains the
BLOCK_ERR parameter of the associated device function block.
Table D-4 shows the parameter format.
488
Appendix D. Legacy DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
FBM228 B13
B14
B15
B16
B17
B18
B19
B20
B21
B24
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
B9
HOLD
UDEF
FBM
TRK
LCK
BIO
ON
MA
LO
LR
FS
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
3 LO The device function block mode is Local BLKSTA.B29
Override
6 TRK Block is being tracked as the device BLKSTA.B26
function block is in Local Override or
Initialization Manual mode
7 HOLD CAS_IN_D value is BAD BLKSTA.B25
489
B0700EC – Rev B Appendix D. Legacy DO – Foundation™ fieldbus Discrete
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
8 FBM There is a communication failure BLKSTA.B24
between CP and FBM
10 LR Device block mode is Cascade. BLKSTA.B24
(0 indicates the device block mode is
either Auto or Manual.)
11 MA The device block mode is Auto. BLKSTA.B21
12 BIO Bad I/O BLKSTA.B20
14 UDEF Block is undefined. There is a configura- BLKSTA.B18
tion error
15 ON The compound that contains the block BLKSTA.B17
is ON
19 FBM228 The H1 device is hosted and scheduled BLKSTA.B13
by an FBM228
20 LCK A workstation has locked this block. BLKSTA.B12
24 FS Fault State has been asserted in the BLKSTA.B8
device function block
*Bit 0 is the least significant, low order bit.
CASIND Cascade Input Discrete is a configurable real input used to specify the
CAS_IN_D parameter of the associated device function block. It is setta-
ble only if Cascade mode is unlinked.
CAS_SW Cascade Switch is a settable output used to set the MODE_T parameter,
and thus MODE_BLK.Target in the associated device function block, to
Cascade.
CASSTS Cascade Input Status is a non-settable, packed Boolean output that con-
tains the CAS_IN_D.Status of the associated device function block. See
Section D.6.4 for information on .Status.
490
Appendix D. Legacy DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
CRIT Criticality is an integer output that indicates the priority of the block’s
highest currently active alarm. The range is 1 (highest priority) to 5. An
output of 0 indicates the absence of alarms.
DEFINE Define is a data store that indicates the presence or absence of configura-
tion errors. The default is 1 (no configuration errors). When the block
initializes, DEFINE is set to 0 if any configured parameters fail validation
testing. See ERRCODE for a list of all possible validation errors in this
block.
♦ If DEFINE = 0, no further processing of the block occurs,
including further validation of remaining parameters.
♦ To return DEFINE to a True value, correct all configuration errors
and reinstall the block.
♦ If DEFINE = 0, the bit BLKSTA.UDEF = 1.
ERCODE Error Code is a string data store that indicates the type of configuration
error which caused the block’s DEFINE parameter to be set False.
Validation of configuration errors does not proceed past the first error
encountered by the block logic.
Table D-6 lists the possible error codes for a DO block.
ERCODE Value
W43 INVALID PERIOD/PHASE COMBINATION
W54 ECB DOES NOT EXIST
W62 UNRESOLVED CONNECTION
W65 INVALID POINT ADDRESS
W66 DUPLICATE CONNECTION
W67 INSUFFICIENT FBM MEMORY/CONNECTIONS
W68 INVALID DEVICE CONNECTION
W69 INVALID POINT CONNECTION
W73 FF FUNCTION BLOCK CONFIGURATION ERROR
W74 FF FUNCTION BLOCK DDITEM MISMATCH
W75 FF FUNCTION BLOCK DDMBR MISMATCH
W76 INVALID FF MODE CONFIGURATION
W77 FIELDBUS COMMUNICATION FAULT
491
B0700EC – Rev B Appendix D. Legacy DO – Foundation™ fieldbus Discrete
ERCODE Value
W78 INVALID FUNCTION BLOCK
W79 INVALID PARAMETER INDEX
W80 FIELDBUS DEVICE NOT FOUND
FSOPTN Fault State Option is a configurable integer parameter that specifies the
Fault State conditions and action to be taken by the FBM and the con-
nected H1 device for an output point in a DO block:
♦ Bit 0: 1 = Assert Fault State if there is an input or measurement
error.
Note that ERROPT must be configured nonzero for this
option to take effect.
♦ Bit 1: 1 = Set/Clear Fault State when SETFS input is set/cleared.
♦ Bit 2: 1 = Assert Fault State if control station-to-FBM communi-
cation is lost (FBM option). This option is enabled only if
Fault State is enabled at the FBM level via the FSENAB
parameter in the ECB200 or ECB202.
Bit 0 is the least significant, low order bit. FSOPTN is dependent upon
how the Fault State parameters are configured in the device with which
the DO block is being used. The Fault State can also be turned off in the
device, which renders FSOPTN ineffective. See Section D.6.5.
FSTIME Fault State Time is a configurable, downloadable, real value used to specify
the FSTATE_TIME parameter of a device function block. See
Section D.6.5.
INHIB Inhibit is a configurable, connectable and settable boolean that, when set,
suppresses all alarm message reporting. INHIB affects only alarm message
reporting; the alarm handling and detection functions are determined by
the INHOPT setting.
INHOPT Inhibit Option specifies the following actions applying to all block alarms:
492
Appendix D. Legacy DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
INHSTA Inhibit Status contains packed long values that represent the current
inhibit status of each alarm type configured in the block. Table D-7 shows
how parameter is used with the DO block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BAD B10
B11
B12
B13
B14
HMA B15
LMA B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
DSC B6
B7
B8
B9
Bit Boolean
Number* Description, Connection
(0 to 31) Name When True (B32 to B1)
16 LMA Low Absolute Alarm Inhibited INHSTA.B16
17 HMA High Absolute Alarm Inhibited INHSTA.B15
22 BAD Bad I/O Alarm Inhibited INHSTA.B10
26 DSC Discrete Alarm Inhibited INHSTA.B6
*Bit 0 is the least significant, low order bit.
493
B0700EC – Rev B Appendix D. Legacy DO – Foundation™ fieldbus Discrete
Bit Boolean
Number* Description, When True Connection
15 Invert IO_OPTS.B17
14 SP-PV Track in Man IO_OPTS.B18
12 SP-PV Track in LO IO_OPTS.B19
11 SP Track retained target IO_OPTS.B21
9 Fault State to Value IO_OPTS.B23
8 Fault State on Restart IO_OPTS.B24
7 Target to MAN on FS IO_OPTS.B25
6 Use PV for BKCAL_OUT IO_OPTS.B26
*Bit 0 is the least significant, low order bit.
LOCKID Lock Identifier is a string identifying the workstation that has locked
access to the block via a successful setting of LOCKRQ. LOCKID has
the format LETTERBUG:DEVNAME, where LETTERBUG is the
6-character letterbug of the workstation and DEVNAME is the 1 to
6-character logical device name of the Display Manager task.
LOCKRQ Lock Request is a Boolean input which can be set True or False only by a
SETVAL command from the LOCK U/L toggle key on workstation dis-
plays. When LOCKRQ is set True in this fashion, a workstation identifier
accompanying the SETVAL command is entered into the LOCKID
parameter of the block. Thereafter, set requests to any of the block’s
parameters are only honored (subject to the usual access rules) from the
workstation whose identifier matches the contents of LOCKID.
LOCKRQ can be set False by any workstation at any time, whereupon a
new LOCKRQ is accepted, and a new ownership workstation identifier is
written to LOCKID.
MAN_SW Manual Switch is a settable output used to set the MODE_T parameter,
and thus MODE_BLK.Target in the associated device function block, to
Manual.
494
Appendix D. Legacy DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
OOS_SW Out of Service Switch is a settable output used to set the MODE_T
parameter, and thus MODE_BLK.Target in the associated device function
block, to Out of Service.
OUT_D Discrete Output is a short integer output that contains the OUT_D
parameter of the associated device function block. It is settable only in
Manual mode.
OUTSTS Output Status is a non-settable, packed Boolean output that contains the
OUT_D.Status parameter in the associated device function block.
495
B0700EC – Rev B Appendix D. Legacy DO – Foundation™ fieldbus Discrete
PERIOD Period is an indexed input that dictates the block’s execution time base
and allowable PHASE values. PERIOD values range from 0 to 9 and map
to the following period time lengths:
Period Length Period Length
0 0.1 second 5 30 seconds
1 0.5 second* 6 1 minute
2 1.0 second 7 10 minutes
3 2.0 seconds 8 60 minutes
4 10 seconds 9 0.2 second
*If the BPC is 0.2 second, this period is treated internally as 0.6 second,
but the PERIOD parameter remains 1.
PHASE Phase is an integer input that causes the block to execute at a specific BPC
within the time determined by the PERIOD. For instance, assuming that
the BPC of the I/A Series station is 0.5 second, a block with a PERIOD of
3 (2.0 seconds) can execute within the first, second, third, or fourth BPC
of the 2-second time period. See Integrated Control Software Concepts
(B0193AW).
PRIBLK Primary Block indicates whether the DO block has a connection from an
upstream block (PRIBLK = 1) or not (PRIBLK = 0). Its value and the
value of PRITIM determine whether the block remains in holding until
the upstream block returns an acknowledgement, remains in holding for a
fixed time delay, or ends the hold after one cycle.
PRITIM Primary Cascade Timer is a configurable parameter used to delay the clos-
ing of the cascade to a primary block when the output is initialized in the
DO block. It is used only if the PRIBLK option is set. If PRITIM = 0 and
PRIBLK is used, the cascade remains open indefinitely until acknowl-
edged by the primary block.
PRTYPE Priority Type is an indexed output parameter that indicates the alarm type
of the highest priority active alarm. For the DO block:
0 = No alarm
8 = Bad I/O alarm
9 = Discrete state alarm.
PV_D Discrete Process Variable is a non-settable short integer output that con-
tains the PV_D parameter of the associated device function block.
496
Appendix D. Legacy DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
PVSTS Process Variable Status is a non-settable, packed Boolean output that con-
tains the PV.Status of the associated device function block.
RBK_D Discrete Readback is a non-settable short integer output that contains the
READBACK_D parameter of the associated device function block.
SETFS Set Fault State Request is a Boolean parameter that requests Fault State
action to be reset by the FBM or field device for the specific output value
of the block. The settings are:
♦ 1 = set Fault State request
♦ 0 = reset Fault State request.
SP_D Discrete Set Point is a configurable, short integer output that is used to
specify the SP_D parameter of the associated device function block. It is
settable only in Auto mode.
SPSTS Set Point Status is a non-settable, packed Boolean output that contains the
SP._DStatus of the associated device function block.
497
B0700EC – Rev B Appendix D. Legacy DO – Foundation™ fieldbus Discrete
TYPE Type is the block type. When a DO block is added to the control data-
base, IACC enters a numeric value of 120 to specify the DO block type.
498
Appendix D. Legacy DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
BKCAL_OUT_D
RCAS_OUT_D
Simulation
SP_D PV
CHANNEL
SIMULATE_D
Mode PV Fault
Conversion State
SHED_OPT
FSTATE_TIME READBACK_D
INVERT FSTATE_VAL_D
D.5.1.1 Mode
The device function block supports the following modes:
♦ Man - Manual allows you to set the OUT_D parameter.
♦ Auto - In Automatic, the OUT_D parameter reflects the SP_D value.
♦ Cas - Cascade allows the OUT_D parameter to be set by an external source connected
to the CAS_IN_D parameter.
♦ OOS - When the mode is Out of Service, the block is not processed, the output
channel is maintained at the last value, and the status of OUT is set to BAD.
♦ IMan - Initialization Manual indicates that the path to the output hardware is closed.
The output remains at its last value.
♦ LO - Local Override is set when the resource block has been placed in LO or a fault
state is active. In LO, the output of the block does not respond to CAS_IN_D.
D.5.1.2 Setpoint
The source of the Setpoint depends on the block mode as described in Section D.5.1.1.
D.5.1.4 Output
This value is passed to the device’s transducer block to provide the “setpoint” to the servo-position
circuit that actually manipulates the valve position.
499
B0700EC – Rev B Appendix D. Legacy DO – Foundation™ fieldbus Discrete
D.5.1.5 Simulation
When the SIMULATE parameter in the device function block is set, the OUT_D parameter value
is not sent to the device, and the BKCAL_OUT can be set an external source such as a hand-held
H1 device for testing. Simulation at the device block level also requires that you set a simulation
jumper on the device.
Simulation of the control loop involving a discrete output to an H1 device can be accomplished
entirely within the control station and not involve communication with the H1 devices, as
described in Section D.6.7.
500
Appendix D. Legacy DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
The arrow notation is used in Table D-10, which describes the parameter transforms for the DO
and the related device function block. These are presented in alphabetic order, arranged by the
DO block parameter names.
501
B0700EC – Rev B Appendix D. Legacy DO – Foundation™ fieldbus Discrete
502
Appendix D. Legacy DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
503
B0700EC – Rev B Appendix D. Legacy DO – Foundation™ fieldbus Discrete
504
Appendix D. Legacy DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
505
B0700EC – Rev B Appendix D. Legacy DO – Foundation™ fieldbus Discrete
The DO block does not condition the output to the device directly, as conditioning is handled by
the device function block, as specified in its IO_OPTS parameter. The DO block does, however,
enable you to configure the parameter via the IOOPTS parameter.
506
Appendix D. Legacy DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
507
B0700EC – Rev B Appendix D. Legacy DO – Foundation™ fieldbus Discrete
The possible states are enumerated in the device function block MODE.Permitted parameter,
while the MODE.Target and MODE.Normal parameters specify the target and normal states,
respectively.
To transition the device to a different state, a request is written to the MODE.Target parameter.
Depending on device/block operation, it is possible for the actual mode of the function block to
differ from the desired Target. The actual mode can be read from the device function block
MODE_BLK.Actual.
The DO block support the device function block mode parameters with the configurable
MODE_T, MODE_P, and MODE_N parameters and the output parameter MODE_A.
To change the mode of the device function block from the I/A Series system, a mode request is
issued with the value of MODE_T via a switch parameter and written to MODE_BLK.Target.
The target value written to the device is rung back to be reflected in the MODE_T parameter.
In the DO block, MODE_T, and thus the function block MODE.Target, is set by one of four set-
table boolean parameters:
♦ AUT_SW changes the target mode to Automatic so that device block OUT_D
parameter reflects the SP_D (setpoint) parameter
♦ CAS_SW changes the target mode to Cascade in which OUT_D is derived from the
CAS_IN_D parameter (which in turn is set by the DO block CASIND parameter).
♦ MAN_SW changes the target mode to Manual so that the device OUT parameter can
be set via the DO block OUT parameter.
♦ OOS_SW changes the target mode to Out of Service so that the configurable device
block parameters can be modified.
Refer to Table D-10 for a description of the switch parameter actions and mapping of the DO
block mode parameters to their device block equivalents.
508
Appendix D. Legacy DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
Bits Description
0-1 Limits
0 = Not limited
1 = High limited
2 = Low limited
3 = Constant (both high and low limited bits set)
2-5 SubStatus depends on .Quality, as shown in Table D-12
6-7 Quality:
0 = Bad
1 = Uncertain
2 = Good (non-cascade)
3 = Good (cascade)
Table D-12 shows how the .SubStatus bits are used given the bits set in .Quality.
509
B0700EC – Rev B Appendix D. Legacy DO – Foundation™ fieldbus Discrete
510
Appendix D. Legacy DO – Foundation™ fieldbus Discrete Output B0700EC – Rev B
Parameter Description
FSOPTN Enables one or more faultstate operations in the DO block as follows:
♦ 0 Disable all options
♦ 1 Assert Fault State on an input or measurement error
♦ 2 Set or clear Fault State when SETFS is set or cleared
♦ 3 Assert Fault State if the FBM228 detects a failure in communica-
tions with the control station
♦ 7 Sets options 1, 2, and 3 (recommended setting)
IO_OPTS Configures IO_OPTS in the device function block to enable/disable two
Fault State options:
♦ Fault State on Restart: Selecting this option causes the device to go
to the value specified in FSTATE_VAL_D on a device RESTART. If
this option is not selected and the device block can go to its target
mode upon RESTART, the last saved setpoint (SP_D) is used for
generating the Fault State position.
♦ Fault State to Value: When this option is selected, the block uses
the value specified in FSTATE_VAL_D. When the option is not
selected, the last saved setpoint is used.
FSVALD Configures FSTATE_VAL_D in the device function block, specifying the
value that is asserted when one of the faultstate options is invoked.
511
B0700EC – Rev B Appendix D. Legacy DO – Foundation™ fieldbus Discrete
Parameter Description
FSTIME Configures FSTATE_TIME in the device function block, setting the
period that the fault condition must last before the block asserts the spec-
ified value. A Fault State action does not occur until the FSTATE_TIME
interval has expired.
NOTE
An additional requirement for Fault State handling at the device level is that the
Fault State option must be selected in the device resource block, that is,
(0x4)FaultState must be selected in FEATURE_SEL.
D.6.6 Alarms
The DO block uses standard I/A Series alarm detection and reporting features, rather than the
alarm features of the device function block, to report to the control system when the OUT_D
value is bad. Alarming is enabled when the BADOPT parameter is set to 1. The alarm priority
and alarm group are specified in BADPRI and BADGRP, respectively. The alarm message is spec-
ified in BADTXT.
Refer to Integrated Control Software Concepts (B0700AG) for information on alarm functionality.
D.6.7 Simulation
Simulation of a control loop involving discrete output to an H1 device can be performed using
the SIMULATE parameters in the device function blocks as described Section D.5.1.5, or the
simulation can be performed entirely within the control station by using the DO simulation
option and the equivalent functionality in the input blocks.
When SIMOPT= 1 (True), CASIND is not written to CAD_IN_D in the device function block,
and the BCALCO value is not read from BKCAL_OUT_D in the device block. The CASIND
value is copied to BCALCO to simulate confirmed output from the device function block.
Refer to InFusion Enterprise Control System: Implementing FOUNDATION fieldbus (B0750BC) or
Implementing FOUNDATION fieldbus on the I/A Series System (B0700BA) for instructions on run-
ning simulations from the actual devices or using DO and other control block to run the simu-
lations in the control station.
512
Appendix E. Legacy MAI –
FOUNDATION™ fieldbus Multiple
Analog Input
This appendix describes the legacy Multiple Analog Input (MAI) block, shipped with I/A Series
systems with v8.4.3 or earlier software, used with an FBM228 with SWTYPE=228. The MAI
block interfaces the control system with a corresponding multiple analog input function block
operating in a FOUNDATION™ fieldbus H1 device.
E.1 Overview
Multiple Analog Input (MAI) is a Distributed Control Interface (DCI) block that provides an
interface between the control processor and a multiple analog input function block operating in
a FOUNDATION fieldbus H1 device (the device function block). The MAI block is supported
on the FCP270 and ZCP270 when the H1 device is connected to the control station by an
FBM228 (with SWTYPE=228). The MAI block is configured using the Block Configurator in
the InFusion Engineering Environment (IEE) as described in InFusion Enterprise Control Sys-
tem: Implementing FOUNDATION fieldbus (B0750BC) or with the I/A Series Configuration
Component (IACC) software as described in Implementing FOUNDATION fieldbus on the I/A
Series System (B0700BA).
E.3 Features
The MAI block provides the following features:
♦ Acquires the status and value of up to eight published outputs (OUT_1 through
OUT_8) from a multiple analog input device function block
♦ Time stamps value and status changes
513
B0700EC – Rev B Appendix E. Legacy MAI – Foundation™ fieldbus Multiple
♦ Accesses the parameters in the device function block’s View 1, View 2 and View 4
using change-driven and periodic client/server connections
♦ Ensures that changes in the device function block’s process values and error conditions
are continuously available for display and connection to the control strategy
♦ Provides for the configuration of selected device block parameters from the I/A Series
system and management of the device configuration in the control database
♦ Enables users to set the mode of the device function block to Auto, Manual or Out of
Service
♦ Provides alarm reporting for Bad I/O for each device block output
♦ Supports simulation of device block output within the control station
514
Appendix E. Legacy MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
515
B0700EC – Rev B Appendix E. Legacy MAI – Foundation™ fieldbus Multiple
516
Appendix E. Legacy MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
ALMOPT Alarm Options contain packed long values representing the alarm options
that have been configured in the block and the alarm groups that are in
use. Table E-2 shows MAI usage of the parameter.
Bit
Number*
(0 to 31) Configured Alarm Option, When True
0 (lsb) Alarm Group 8 in Use
1 Alarm Group 7 in Use
2 Alarm Group 6 in Use
3 Alarm Group 5 in Use
4 Alarm Group 4 in Use
5 Alarm Group 3 in Use
6 Alarm Group 2 in Use
7 Alarm Group 1 in Use
8 Channel 8
9 Channel 7
10 Channel 6
11 Channel 5
12 Channel 4
13 Channel 3
14 Channel 2
15 Channel 1
22 Bad I/O Alarm Configured
*Bit 0 is the least significant, low order bit.
517
B0700EC – Rev B Appendix E. Legacy MAI – Foundation™ fieldbus Multiple
ALMSTA Alarm Status is a 32-bit output, bit-mapped to indicate the block’s alarm
states. Table E-3 shows the bits used by the MAI block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
1=BAD B17
2=BAD B18
3=BAD B19
4 =BAD B20
5=BAD B21
6=BAD B22
7=BAD B23
8=BAD B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
B9
CRIT
UNAK
PRTYPE
BAD
INH
Bit Boolean
Number Connection
(0 to 31)* Name Description (B32 to B1)
0 to 4 PTYP_MSK Priority Type: See parameter ---
PRTYPE for values used in the MAI
block
5 to 7 CRIT_MSK Criticality: 1 (highest priority) to 5 ---
8 Channel 8 Bad Alarm ALMSTA.B24
9 Channel 7 Bad Alarm ALMSTA.B23
10 Channel 6 Bad Alarm ALMSTA.B22
11 Channel 5 Bad Alarm ALMSTA.B21
12 Channel 4 Bad Alarm ALMSTA.B20
13 Channel 3 Bad Alarm ALMSTA.B19
14 Channel 2 Bad Alarm ALMSTA.B18
15 Channel 1 Bad Alarm ALMSTA.B19
22 BAD Bad I/O Alarm: at least one channel ALMSTA.B10
is not usable
29 INH Inhibit Alarm at least one channel is ALMSTA.B3
inhibited
30 UNAK Unacknowledged: There is at least ALMSTA.B2
one unacknowledged alarm
*Bit 0 is the least significant, low order bit.
AMRTIN Alarm Message Regeneration Time Interval specifies the rate at which
alarm messages are generated for alarm conditions that have not been
cleared. The interval is specified in seconds. The configured interval is
rounded up to the closest value that is an even multiple of the station
BPC. A value of 0 disables alarm message regeneration.
AUT_SW Auto Switch is a settable Boolean output used to set the MODE_T
parameter, and therefore MODE_BLK.Target in the associated device
function block, to Auto.
518
Appendix E. Legacy MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
BADPRI Bad Alarm Priority is a configurable integer input used to specify the
Alarm Priority to be assigned to Bad Alarms in the block. BADPRI is
settable if unlinked. The range is 1 (highest) to 5 (default).
BLKERR Block Error is a non-settable, packed Boolean output that contains the
BLOCK_ERR parameter of the associated device function block.
Table E-4 shows the parameter format. A given device might not support
all bits in the status word.
519
B0700EC – Rev B Appendix E. Legacy MAI – Foundation™ fieldbus Multiple
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
FBM228 B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
B9
UDEF
FBM
TRK
LCK
BIO
ON
MA
LO
FS
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
3 LO The device function block mode is Local BLKSTA.B29
Override
6 TRK The block is being tracked as the device BLKSTA.B26
function block is in Local Override or
Initialization Manual mode
8 FBM There is a communication failure BLKSTA.B24
between CP and FBM
11 MA The block mode is Auto BLKSTA.B21
12 BIO Bad I/O: at least one channel is Bad BLKSTA.B20
14 UDEF The block is undefined BLKSTA.B18
15 ON The compound that contains the block BLKSTA.B17
is ON
19 FBM228 The H1 device is hosted and scheduled BLKSTA.B13
by an FBM228
20 LCK A workstation has locked this block BLKSTA.B12
* Bit 0 is the least significant, low order bit.
520
Appendix E. Legacy MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
CRIT Criticality is an integer output that indicates the priority of the block’s
highest currently active alarm. The range is 1 (highest priority) to 5. An
output of 0 indicates the absence of alarms.
521
B0700EC – Rev B Appendix E. Legacy MAI – Foundation™ fieldbus Multiple
DEFINE Define is a data store that indicates the presence or absence of configura-
tion errors. The default is 1 (no configuration errors). When the block
initializes, DEFINE is set to 0 if any configured parameters fail validation
testing. See “ERCODE” on page 522 for a list of all possible validation
errors in this block.
♦ If DEFINE = 0, no further processing of the block occurs,
including further validation of remaining parameters.
♦ To return DEFINE to a True value, correct all configuration errors
and reinstall the block.
♦ If DEFINE = 0, the bit BLKSTA.UDEF = 1.
EO1 Engineering Units for Output 1 specifies the engineering units text for all
OUTn parameters in the MAI block. The value configured for this text
string should be consistent with the values used for HSCO1 and LSCO1.
In the MAI block, EO1, HSCO1 and LSCO1 are used for scaling the
outputs in detail displays and other I/A Series system uses. These parame-
ter do not configure units and scaling in the device function block. How-
ever, they should reflect the device scaling.
ERCODE Error Code is a string data store that indicates the type of configuration
error which caused the block’s DEFINE parameter to be set False.
Validation of configuration errors does not proceed past the first error
encountered by the block logic.
Table E-8 lists the possible values of ERCODE for the MAI block
ERCODE Value
W43 INVALID PERIOD/PHASE COMBINATION
W44 INVALID ENGINEERING RANGE
W54 ECB DOES NOT EXIST
W62 UNRESOLVED CONNECTION
W65 INVALID POINT ADDRESS
W66 DUPLICATE CONNECTION
W67 INSUFFICIENT FBM MEMORY/CONNECTIONS
W68 INVALID DEVICE CONNECTION
W69 INVALID POINT CONNECTION
W73 FF FUNCTION BLOCK CONFIGURATION ERROR
522
Appendix E. Legacy MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
ERCODE Value
W74 FF FUNCTION BLOCK DDITEM MISMATCH
W75 FF FUNCTION BLOCK DDMBR MISMATCH
W76 INVALID FF MODE CONFIGURATION
W77 FIELDBUS COMMUNICATION FAULT
W78 INVALID FUNCTION BLOCK
W79 INVALID PARAMETER INDEX
W80 FIELDBUS DEVICE NOT FOUND
W81 INVALID PARENT DCI ECB PERIOD/PHASE
W82 FF CONFIGURATION IN PROGRESS
HSCO1 Output High Scale specifies the high scale value for OUTn parameters in
the MAI block. The value configured for HSCO1 should be consistent
with the values used for EO1 and LSCO1. In the MAI block, EO1,
HSCO1 and LSCO1 are used for scaling the outputs in detail displays
and other I/A Series system uses. These parameter do not configure units
and scaling in the device function block. However, they should reflect the
device scaling.
INHALM Inhibit Alarm contains packed Boolean values that represent alarm gener-
ation-inhibit requests for each type of alarm configured in the block.
Table E-9 shows how the bits are used by the MAI block.
Bit Boolean
Number* Connection
(0 to 15) BAD Alarm Inhibited When True (B16 to B1)
8 Channel 1 INHALM.B8
9 Channel 2 INHALM.B7
10 Channel 3 INHALM.B6
11 Channel 4 INHALM.B5
12 Channel 5 INHALM.B4
13 Channel 6 INHALM.B3
523
B0700EC – Rev B Appendix E. Legacy MAI – Foundation™ fieldbus Multiple
Bit Boolean
Number* Connection
(0 to 15) BAD Alarm Inhibited When True (B16 to B1)
14 Channel 7 INHALM.B2
15 Channel 8 INHALM.B1
*Bit 0 is the least significant, low order bit.
There are no mnemonic names for the individual bits of INHALM.
INHIB Inhibit is a configurable, connectable and settable boolean that, when set,
suppresses all alarm message reporting. INHIB affects only alarm message
reporting; the alarm handling and detection functions are determined by
the INHOPT setting.
INHOPT Inhibit Option specifies the following actions applying to all block alarms:
♦ 0 = When an alarm is inhibited, disables alarm messages but does
not disable alarm detection.
♦ 1 = When an alarm is inhibited, disables both alarm messages and
alarm detection. If an alarm condition exists at the time the alarm
transitions into the inhibited state, the alarm indicator is cleared.
♦ 2 = Same as 0 for inhibited alarms. For uninhibited alarms,
automatically acknowledges “return-to-normal” messages.
“Into alarm” messages can be acknowledged by explicitly setting
UNACK False.
♦ 3 = Same as 1 for inhibited alarms. For uninhibited alarms,
automatically acknowledges “return-to-normal” messages.
“Into alarm” messages can be acknowledged by explicitly setting
UNACK False.
INHSTA Inhibit Status contains packed long values that represent the current
inhibit status of each alarm type configured in the block. Table E-10
shows how parameter is used with the MAI block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
CH8 B1
CH7 B2
CH6 B3
CH5 B4
CH4 B5
CH3 B6
CH2 B7
CH1 B8
B9
Bit Boolean
Number* Description, Connection
(0 to 31) When True (B32 to B1)
24 Channel 1 alarms inhibited INHSTA.B8
524
Appendix E. Legacy MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
Bit Boolean
Number* Description, Connection
(0 to 31) When True (B32 to B1)
25 Channel 2 alarms inhibited INHSTA.B7
26 Channel 3 alarms inhibited INHSTA.B6
27 Channel 4 alarms inhibited INHSTA.B5
28 Channel 5 alarms inhibited INHSTA.B4
29 Channel 6 alarms inhibited INHSTA.B3
30 Channel 7 alarms inhibited INHSTA.B2
31 Channel 8 alarms inhibited INHSTA.B1
*Bit 0 is the least significant, low order bit.
LOCKID Lock Identifier is a string identifying the workstation that has locked
access to the block via a successful setting of LOCKRQ. LOCKID has
the format LETTERBUG:DEVNAME, where LETTERBUG is the
6-character letterbug of the workstation and DEVNAME is the 1 to
6-character logical device name of the display task.
LOCKRQ Lock Request is a Boolean input which can be set True or False only by a
SETVAL command from the LOCK U/L toggle key on workstation dis-
plays. When LOCKRQ is set True in this fashion, a workstation identifier
accompanying the SETVAL command is entered into the LOCKID
parameter of the block. Thereafter, set requests to any of the block’s
parameters are only honored (subject to the usual access rules) from the
workstation whose identifier matches the contents of LOCKID.
LOCKRQ can be set False by any workstation at any time, whereupon a
new LOCKRQ is accepted, and a new ownership workstation identifier is
written to LOCKID.
525
B0700EC – Rev B Appendix E. Legacy MAI – Foundation™ fieldbus Multiple
LSCO1 Output Low Scale specifies the low scale value for OUTn parameters in
the MAI block. The value configured for LSCO1 should be consistent
with the values used for EO1 and HSCO1. In the MAI block, EO1,
HSCO1 and LSCO1 are used for scaling the outputs in detail displays
and other I/A Series system uses. These parameter do not configure units
and scaling in the device function block. However, they should reflect the
device scaling.
MAN_SW Manual Switch is a settable output used to set the MODE_T parameter,
and therefore MODE_BLK.Target in the associated device function block,
to Manual.
OOS_SW Out of Service Switch is a settable output used set the MODE_T parame-
ter, and therefore MODE_BLK.Target in the associated device function
block, to Out of Service.
526
Appendix E. Legacy MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
PERIOD Period is an indexed input that dictates the block’s execution time base
and allowable PHASE values. PERIOD values range from 0 to 9 and map
to the following period time lengths:
Period Length Period Length
0 0.1 second 5 30 seconds
1 0.5 second* 6 1 minute
2 1.0 second 7 10 minutes
3 2.0 seconds 8 60 minutes
4 10 seconds 9 0.2 second
* If the BPC is 0.2 second, this period is treated internally as
0.6 second, but the PERIOD parameter remains 1.
PHASE Phase is an integer input that causes the block to execute at a specific BPC
within the time determined by the PERIOD. For instance, assuming that
the BPC of the I/A Series station is 0.5 second, a block with a PERIOD of
3 (2.0 seconds) can execute within the first, second, third, or fourth BPC
of the 2-second time period. See Integrated Control Software Concepts
(B0700AG).
PRTYPE Priority Type is an indexed output parameter that indicates the alarm type
of the highest priority active alarm. For the MAI block:
0 = No alarm
8 = Bad I/O alarm.
RO1 Range Output 1 is a real array consisting of the two parameters: HSCO1
and LSCO1. The array members are configured by their individual
names; however, RO1 and its members can be accessed on an array basis
by user tasks and displays.
527
B0700EC – Rev B Appendix E. Legacy MAI – Foundation™ fieldbus Multiple
TYPE Type is the block type. When an MAI block is added to the control data-
base, the configuration editor enters a numeric value of 35 to specify the
MAI block type.
528
Appendix E. Legacy MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
table showing the mapping between the I/A Series system MAI block parameters and the device
function block parameters. Refer to FF-893, Function Block Application Process - Part 4 (FF-893-
5.1) for a detailed description of the block.
PV_n
(n = 1 to 8)
CHANNEL
Outputs
OUT_n
(n = 1 o 8)
Mode Alarms
BLOCK_ALM
E.5.1.1 Mode
The device function block supports three selectable modes:
♦ In Automatic mode, the block’s output parameters (OUT_1 to OUT_8) reflect the
process variables’ (PV_1 to PV_8) values and status.
♦ In Manual, the OUT_n parameter can be set manually and the OUT_n.Status reflects
the mode.
♦ In OOS (out of service), the block values are not updated and the status of OUT_n is
set to BAD. In OOS, changes can be made to configured parameters.
E.5.1.2 Status
The device function block provides an eight-bit status for each output value, using the standard
function block value status, which is further parsed in to .Quality, .SubStatus, and .Limits bits.
The .SubStatus bits in this block are device-specific. Refer to the device manufacturer’s documen-
tation for use of the bits.
E.5.1.3 Alarms
The BLOCK_ALM parameter is used for all configuration, hardware connection, and system
problems in the block.
529
B0700EC – Rev B Appendix E. Legacy MAI – Foundation™ fieldbus Multiple
The I/A Series system does not use the alarm features provided by the device blocks, but rather
provides alarm handling and error reporting options in the I/A Series MAI block. The MAI block
enables BAD alarming using standard I/A Series alarm parameters (see Section E.6.5).
The arrow notation is used in the Table E-11 descriptions of MAI parameter transforms. These
are presented in alphabetic order, arranged by the MAI block parameter names.
When AUT_SW = 1:
Set MODE_T (request) = AUTO
MAN_SW=0, OOS_SW=0
Write MODE_T (request) to FBM
530
Appendix E. Legacy MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
531
B0700EC – Rev B Appendix E. Legacy MAI – Foundation™ fieldbus Multiple
PVn.value ←OUT_n.Value
PVn.status.LHI ← OUT_n.Status.Limited Hi (Bit 0)
PVn.status.LLO ← OUT_n.Status.Limited Lo (Bit 1)
PVn.status.ERR ← OUT_n.Status.Uncertain (Bits 6-7=1)
PVn.status.BAD ← OUT_n.Status.Bad (Bits 6-7=0)
or CP-FBM communication failure
or H1 device is Failed or Disabled.
PVn.status.OOS ← OUT_n.Status.Bad (Bits 6-7=0) and Substatus.OOS (bits2-5=
7),
or Compound is Off
or FBM228 is Off-Line or DCI Not Ready
or H1 Device is Failed or Disabled
or CP-FBM communication failure
or DCI_COMM_DATA.connect_status <= 0
PVFTIM ↔ PV_FTIME
STRATG ↔ STRATEGY
ST_REV ← ST_REV
TAGDSC → TAG_DESC
532
Appendix E. Legacy MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
The device function block provides the outputs in engineering units determined by the device and
connected devices. The I/A Series MAI block does not configure scaling in the device. Instead, the
scaling parameters in the MAI block (HSCO1, LSCO1 and EO1) specify the range and unit of
measure label for OUT_n parameters as used in detail displays and other I/A Series system uses of
the outputs. The same display scaling is used for all block outputs, and should reflect the range
and unit of measure configured in the device.
The block also supports the function block’s mode parameters.
The MAI block and the device function block operate in two asynchronous cycles, both writing
to and reading from shared space in the FBM memory. As with other I/A Series IO blocks, the
MAI block executes in the Basic Processing Cycle (BPC) of the control station according to its
compound and its PERIOD and PHASE parameters, as described in Control Processor 270
(CP270) Integrated Control Software Concepts (B0700AG). The device MAI block executes once
each FBM macrocycle as scheduled by the FBM228.
The principal task of the MAI block is to read values and status from the corresponding device
block. For this task, a publisher/subscriber connection is maintained between the MAI block
OUTn parameters and the device function block OUT_n parameters.
All other parameter connections are made by the FBM228 on a client/server basis at the fre-
quency specified in the UPDPER parameter. The parameter can be set from 0 to 2147483647
milliseconds; the default is 10000 (10 seconds). Increasing the frequency of the client/server com-
munication can significantly add to the load on the H1 segment.
533
B0700EC – Rev B Appendix E. Legacy MAI – Foundation™ fieldbus Multiple
The deployment of the MAI block to the FBM228 also causes the FBM to change the schedule as
follows:
♦ Schedule execution of the device function block
♦ Add compel data (CD) messages to each macrocycle to publish the OUT_n parameter
values and status
♦ Schedule client/server connections between the MAI block and the device function
block for view updates.
Table E-12 lists the device function block parameters and the MAI block parameters used to con-
figure them. For the MAI, the table includes both the six-character (maximum) parameter name
that is used in block detail displays and the parameter labels used in IACC, which more closely
resemble the FOUNDATION fieldbus parameter names. Use the six-character parameter name
when connecting parameters to a process display.
NOTE
The .SubStatus bits in multiple analog input blocks vary with the specific I/O sub-
system or multi-sensor device, and may not be the same as the standard
FOUNDATION fieldbus bit assignment used in other device function blocks. Refer to
the device documentation for information about how the .SubStatus bits are used.
534
Appendix E. Legacy MAI – Foundation™ fieldbus Multiple Analog Input B0700EC – Rev B
Bits Description
0-1 Limits
0 = Not limited
1 = High limited
2 = Low limited
3 = Constant (both high and low limited bits set)
2-5 Refer to the device documentation
6-7 Quality
0 = Bad
1 = Uncertain
2 = Good (non-cascade)
3 = Good (cascade)
535
B0700EC – Rev B Appendix E. Legacy MAI – Foundation™ fieldbus Multiple
E.6.5 Alarms
The MAI block uses standard I/A Series alarm parameters, rather than the alarm features of the
device function block, to report to the control system when the OUTn value is bad. Bad IO
Alarming is enabled when BADOPT=1. The block processes alarms for those outputs that are
selected in CHMASK. The alarm priority and alarm group are set with BADPRI and BADGRP,
respectively. The alarm message text is set with BADTXT.
Refer to Control Processor 270 (CP270) Integrated Control Software Concepts (B0700AG) for infor-
mation on alarm functionality.
E.6.6 Simulation
The I/A Series MAI block SIMOPT parameter enables simulation of multiple analog inputs to
the control system from the corresponding multiple analog input device function block. This fea-
ture can be used to test control schemes requiring analog inputs without actual FBM228 hard-
ware connections.
When SIMOPT= 1 (True), the status and value of OUTn are not recovered from the field, but
can be set directly to simulate input from the field.
When simulating (SIMOPT=1), the following functions will be performed:
♦ The PVn inputs are settable and are stored to the OUTn output values when the
block mode is Auto. The CHMASK parameter will be used to determine which out-
puts to process.
♦ The OUTSTn output status parameters are set to Good Non-Cascade (0x80).
♦ Changes to the target mode via the mode switches (AUT_SW, MAN_SW, or
OOS_SW) immediately update target mode parameter (MODE_T), and the actual
block mode (MODE_A) tracks MODE_T each block cycle.
♦ If BAO=1, Bad Alarming of the inputs is performed.
When simulating, the following functions are not performed:
♦ Downloading of configuration parameters.
♦ Updating of View data parameters.
♦ Block Error (BLKERR) processing.
♦ External configuration changes to function block parameters.
♦ Configuration Error (CFGERR) processing.
Refer to InFusion Enterprise Control System: Implementing Foundation fieldbus (B0750BC) or
Implementing Foundation fieldbus on the I/A Series System (B0700BA) for instructions on conduct-
ing control simulations from the control station.
536
Appendix F. Legacy MAO –
FOUNDATION™ fieldbus Multiple
Analog Output
This appendix describes the legacy Multiple Analog Output (MAO) block, shipped with
I/A Series systems with v8.4.3 or earlier software, used with an FBM228 with SWTYPE=228.
The MAO block interfaces the control system with a corresponding multiple analog output
function block operating in a FOUNDATION™ fieldbus H1 device.
F.1 Overview
Multiple Analog Output (MAO) is a Distributed Control Interface (DCI) block that provides
an interface between the control processor and a multiple analog output function block operat-
ing in a FOUNDATION fieldbus H1 device (the device function block). The MAO block is sup-
ported on the FCP270 and ZCP270 when the H1 device is connected to the control station by
an FBM228 (with SWTYPE=228). The MAO block is configured using the Block Configura-
tor in the InFusion Engineering Environment (IEE) as described in InFusion Enterprise Control
System: Implementing FOUNDATION fieldbus (B0750BC) or with the I/A Series Configuration
Component (IACC) software as described in Implementing FOUNDATION fieldbus on the I/A
Series System (B0700BA).
F.3 Features
The MAO block provides the following features:
537
B0700EC – Rev B Appendix F. Legacy MAO – Foundation™ fieldbus Multiple
♦ Provides up to eight analog outputs (IN_1 through IN_8) to the linked device func-
tion block
♦ Acquires the value and status of the device block outputs
♦ Time stamps value and status changes
♦ Accesses the parameters in the device function block’s View 1, View 2 and View 4
using change-driven and periodic client/server connections
♦ Ensures that changes in a device’s process values and error conditions are continuously
available for display and connection to the control strategy
♦ Provides for the configuration of device block parameters from the I/A Series system
and management of the device configuration in the control database
♦ Enables users to set the mode of the device function block to Automatic or Out of
Service
♦ Provides alarm detection and reporting for Bad I/O
♦ Supports simulation of device block output within the control station.
538
Appendix F. Legacy MAO – Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
539
B0700EC – Rev B Appendix F. Legacy MAO – Foundation™ fieldbus Multiple
540
Appendix F. Legacy MAO – Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
ALMOPT The Alarm Options parameter contains packed long values representing
the alarm types that have been configured as options in the block (based
on BADOPT which enables Bad Alarming and CHMASK which identi-
fies which channels are to be processed by the block), and the alarm
groups that are in use. Table F-2 shows how the parameter is used by the
MAO block.
Bit
Number*
(0 to 31) Configured Alarm Option, When True
0 (lsb) Alarm Group 8 in Use
1 Alarm Group 7 in Use
2 Alarm Group 6 in Use
3 Alarm Group 5 in Use
4 Alarm Group 4 in Use
5 Alarm Group 3 in Use
6 Alarm Group 2 in Use
7 Alarm Group 1 in Use
8 Channel 8 option
9 Channel 7 option
10 Channel 6 option
11 Channel 5 option
12 Channel 4 option
13 Channel 3 option
14 Channel 2 option
15 Channel 1 option
22 Bad I/O Alarm Configured
*Bit 0 is the least significant, low order bit.
541
B0700EC – Rev B Appendix F. Legacy MAO – Foundation™ fieldbus Multiple
ALMSTA Alarm Status is a 32-bit output, bit-mapped to indicate the block’s alarm
states. Table F-3 shows the bits used by the function blocks.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
CH1 Bad B17
CH2 Bad B18
CH3 Bad B19
CH4 Bad B20
CH5 Bad B21
CH6 Bad B22
CH7 Bad B23
CH8 Bad B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
B9
CRIT PRTYPE
UNAK
HMA
BAD
LMA
INH
Bit Boolean
Number Description, Connection
(0 to 31)* Name When True (B32 to B1)
0 to 4 PTYP_MSK Priority Type: See parameter PRTYPE ---
for values used in the blocks
5 to 7 CRIT_MSK Criticality: 1 (highest priority) to 5 ---
8 Channel 8 BAD alarm ALMSTA.B24
9 Channel 7 BAD alarm ALMSTA.B23
10 Channel 6 BAD alarm ALMSTA.B22
11 Channel 5 BAD alarm ALMSTA.B21
12 Channel 4 BAD alarm ALMSTA.B20
13 Channel 3 BAD alarm ALMSTA.B19
14 Channel 2 BAD alarm ALMSTA.B18
15 Channel 1 BAD alarm ALMSTA.B17
22 BAD Bad I/O Alarm. ALMSTA.B10
Set when any IN_n.Status.Bad=1
Cleared when all IN_n.Status.Bad = 0
29 INH Inhibit Alarm. This bit is set when any ALMSTA.B3
of the alarms for any channel is inhib-
ited
30 UNAK Unacknowledged ALMSTA.B2
*Bit 0 is the least significant, low order bit.
AMRTIN Alarm Message Regeneration Time Interval specifies the rate at which
alarm messages are generated for alarm conditions that have not been
cleared. The interval is specified in seconds. The configured interval is
rounded up to the closest value that is an even multiple of the station
BPC. A value of 0 disables alarm message regeneration.
AUT_SW Auto Switch is a settable Boolean output used to set MODE_T, and thus
MODE_BLK.Target in the associated device function block, to Auto.
542
Appendix F. Legacy MAO – Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
BADPRI Bad Alarm Priority is a configurable integer input used to specify the
Alarm Priority to be assigned to Bad Alarms in the block. BADPRI is
settable if unlinked. The range is 1 (highest) to 5 (default).
BLKERR Block Error is a non-settable, packed Boolean output that contains the
BLOCK_ERR parameter of the associated device function block.
Table F-4 shows the parameter format.
543
B0700EC – Rev B Appendix F. Legacy MAO – Foundation™ fieldbus Multiple
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
FBM228 B13
B14
B15
B16
B17
B18
B19
B20
B21
B24
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B1
B2
B3
B4
B5
B6
B7
B8
B9
HOLD
UDEF
FBM
TRK
LCK
BIO
ON
MA
LO
LR
FS
Bit Boolean
Number* Connection
(0 to 31) Name Operational States When True (B32 to B1)
3 LO The device function block mode is Local Override BLKSTA.B29
6 TRK The block is being tracked as the device function BLKSTA.B26
block is in Local Override or Initialization Manual
mode
8 FBM There is a communication failure between BLKSTA.B24
CP and FBM
11 MA The device block mode is Auto BLKSTA.B21
12 BIO Bad I/O: at last on channel is bad BLKSTA.B20
14 UDEF Block is undefined. See DEFINE, ERCODE, and BLKSTA.B18
CFGERR
15 ON The compound that contains the block is ON BLKSTA.B17
19 FBM228 The H1 device is hosted and scheduled by an BLKSTA.B13
FBM228
20 LCK A workstation has locked this block BLKSTA.B12
* Bit 0 is the least significant, low order bit.
544
Appendix F. Legacy MAO – Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
545
B0700EC – Rev B Appendix F. Legacy MAO – Foundation™ fieldbus Multiple
CRIT Criticality is an integer output that indicates the priority of the block’s
highest currently active alarm. The range is 1 (highest priority) to 5. An
output of 0 indicates the absence of alarms.
DEFINE Define is a data store that indicates the presence or absence of configura-
tion errors. The default is 1 (no configuration errors). When the block
initializes, DEFINE is set to 0 if any configured parameters fail validation
testing. See “ERCODE” on page 546 for a list of all possible validation
errors in this block.
♦ If DEFINE = 0, no further processing of the block occurs,
including further validation of remaining parameters.
♦ To return DEFINE to a True value, correct all configuration errors
and reinstall the block.
♦ If DEFINE = 0, the bit BLKSTA.UDEF = 1.
EO1 Engineering Units for Output 1 specifies the engineering units text for the
block’s eight outputs (IN_n) in detail displays and other I/A Series system
uses. The limit should be consistent with the display range parameters,
LSCO1 and HSCO1.
This parameter does not affect scaling in the device function block. Refer
to the device documentation for scaling information. EO1 should be con-
sistent with the engineering units used by the connected devices.
ERCODE Error Code is a string data store that indicates the type of configuration
error which caused the block’s DEFINE parameter to be set False.
Validation of configuration errors does not proceed past the first error
encountered by the block logic.
546
Appendix F. Legacy MAO – Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
Table F-8 lists the possible values of ERCODE for the MAO block, and
the significance of each value in this block.
ERCODE Value
W43 INVALID PERIOD/PHASE COMBINATION
W44 INVAID ENGINEERING RANGE
W54 ECB DOES NOT EXIST
W62 UNRESOLVED CONNECTION
W65 INVALID POINT ADDRESS
W66 DUPLICATE CONNECTION
W67 INSUFFICIENT FBM MEMORY/CONNECTIONS
W68 INVALID DEVICE CONNECTION
W69 INVALID POINT CONNECTION
W73 FF FUNCTION BLOCK CONFIGURATION ERROR
W74 FF FUNCTION BLOCK DDITEM MISMATCH
W75 FF FUNCTION BLOCK DDMBR MISMATCH
W76 INVALID FF MODE CONFIGURATION
W77 FIELDBUS COMMUNICATION FAULT
W78 INVALID FUNCTION BLOCK
W79 INVALID PARAMETER INDEX
W80 FIELDBUS DEVICE NOT FOUND
W81 INVALID PARENT DCI ECB PERIOD/PHASE
W82 FF CONFIGURATION IN PROGRESS
547
B0700EC – Rev B Appendix F. Legacy MAO – Foundation™ fieldbus Multiple
FSOPTN Fault State Option is a configurable integer parameter that specifies under
what conditions the FBM228 will force the device to take the Fault State
action configured in the device function block (Table F-10).
FSOPTN is dependent upon how the Fault State parameters are config-
ured in the device with which the MAO block is being used (see
MOOPTS). The Fault State can also be turned off in the device, which
would render FSOPTN ineffective. See Section F.6.5.
FSTATE Fault State is a non-settable packed boolean output that contains the
FSTATE_STATUS parameter of the device function block, which shows
the Fault State of each channel. Table F-11 shows the parameter format
for MAO and the device function block parameters.
548
Appendix F. Legacy MAO – Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
FSTIME Fault State Time is a configurable, downloadable, real value used to specify
the FSTATE_TIME parameter of a device function block, which is the
time in milliseconds a fault must persist before the Fault State is asserted
for the affected output. Refer to Section F.6.5.
HSCO1 High Scale for Output Range 1 specifies the upper range value for the
block’s eight outputs (IN_n) in detail displays and other I/A Series system
uses. The limit should be consistent with the other display scaling param-
eters, LSCO1 and EO1.
This parameter does not affect scaling in the device function block or con-
nected devices, but should be consistent with the device block scaling.
Refer to the device documentation for information on scaling the outputs.
INHALM Inhibit Alarm contains packed Boolean values that represent alarm
generation inhibit requests for each type of alarm configured in the block.
Table F-12 shows how the bits are used by the MAO block.
Boolean
Bit Description, Connection
Number* When True (B16 to B1)
8 Inhibit Channel 1 BAD Alarm INHALM.B8
9 Inhibit Channel 2 BAD Alarm INHALM.B7
10 Inhibit Channel 3 BAD Alarm INHALM.B6
11 Inhibit Channel 4 BAD Alarm INHALM.B5
12 Inhibit Channel 5 BAD Alarm INHALM.B4
13 Inhibit Channel 6 BAD Alarm INHALM.B3
14 Inhibit Channel 7 BAD Alarm INHALM.B2
15 Inhibit Channel 8 BAD Alarm INHALM.B1
*Bit 0 is the least significant, low order bit.
INHIB Inhibit is a configurable, connectable and settable boolean that, when set,
suppresses all alarm message reporting. INHIB affects only alarm message
549
B0700EC – Rev B Appendix F. Legacy MAO – Foundation™ fieldbus Multiple
IINHSTA Inhibit Status contains packed long values that represent the current
inhibit status of each alarm type configured in the block. Table F-14
shows how parameter is used with the MAO block.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
CH8 B1
CH7 B2
CH6 B3
CH5 B4
CH4 B5
CH3 B6
CH2 B7
CH1 B8
B9
Bit Boolean
Number* Description, Connection
(0 to 31) When True (B32 to B1)
24 Channel 1 alarms inhibited INHSTA.B8
25 Channel 2 alarms inhibited INHSTA.B7
26 Channel 3 alarms inhibited INHSTA.B6
27 Channel 4 alarms inhibited INHSTA.B5
28 Channel 5 alarms inhibited INHSTA.B4
550
Appendix F. Legacy MAO – Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
Bit Boolean
Number* Description, Connection
(0 to 31) When True (B32 to B1)
29 Channel 6 alarms inhibited INHSTA.B3
30 Channel 7 alarms inhibited INHSTA.B2
31 Channel 8 alarms inhibited INHSTA.B1
*Bit 0 is the least significant, low order bit.
LOCKID Lock Identifier is a string identifying the workstation that has locked
access to the block via a successful setting of LOCKRQ. LOCKID has
the format LETTERBUG:DEVNAME, where LETTERBUG is the
6-character letterbug of the workstation and DEVNAME is the 1 to
6-character logical device name of the display task.
LOCKRQ Lock Request is a Boolean input which can be set True or False only by a
SETVAL command from the LOCK U/L toggle key on workstation dis-
plays. When LOCKRQ is set True in this fashion, a workstation identifier
accompanying the SETVAL command is entered into the LOCKID
parameter of the block. Thereafter, set requests to any of the block’s
parameters are only honored (subject to the usual access rules) from the
workstation whose identifier matches the contents of LOCKID.
LOCKRQ can be set False by any workstation at any time, whereupon a
new LOCKRQ is accepted, and a new ownership workstation identifier is
written to LOCKID.
551
B0700EC – Rev B Appendix F. Legacy MAO – Foundation™ fieldbus Multiple
LSCO1 Low Scale for Output Range 1 is a real value that defines the lower range
value for the block’s eight outputs (IN_n) in detail displays and other
I/A Series system uses. The limit should be consistent with the display
scaling parameters, HSCO1 and EO1.
This parameter does not affect scaling in the device function block or con-
nected devices, but should be consistent with the device block scaling.
Refer to the device documentation for information on scaling the outputs.
552
Appendix F. Legacy MAO – Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
OOS_SW Out of Service Switch is a settable output used to set the parameter
MODE_T, and thus MODE_BLK.Target in the associated device function
block, to Out of Service.
PERIOD Period is an indexed input that dictates the block’s execution time base
and allowable PHASE values. PERIOD values range from 0 to 9 and map
to the following period time lengths:
Period Length Period Length
0 0.1 second 5 30 seconds
1 0.5 second* 6 1 minute
2 1.0 second 7 10 minutes
3 2.0 seconds 8 60 minutes
4 10 seconds 9 0.2 second
*If the BPC is 0.2 second, this period is treated internally as 0.6 second,
but the PERIOD parameter remains 1.
553
B0700EC – Rev B Appendix F. Legacy MAO – Foundation™ fieldbus Multiple
PHASE Phase is an integer input that causes the block to execute at a specific BPC
within the time determined by the PERIOD. For instance, assuming that
the BPC of the I/A Series station is 0.5 second, a block with a PERIOD of
3 (2.0 seconds) can execute within the first, second, third, or fourth BPC
of the 2-second time period. See Integrated Control Software Concepts
(B0700AG).
PRTYPE Priority Type is an indexed output parameter that indicates the alarm type
of the highest priority active alarm:
0 = No alarm
8 = Bad I/O alarm.
RO1 Range Output 1 is a real array consisting of the two parameters HSCO1
and LSCO1. The array members are configured by their individual
names; however, RO1 and its members can be accessed on an array basis
by user tasks and displays.
TSTMPn Time Stamp n (where n is 1 through 8) contains the time (in milliseconds
(n = 1 to 8) since midnight) of the latest change in the IN_n parameter in the device
function block.
The time is from the FBM228 when a new value is sent to device function
block. However, when the block is in simulation (SIMOPT = 1), the value
is computed by the CP.
TYPE Type is the block type. When an MAO block is added to the control data-
base, the configuration editor sets TYPE to 36, causes the block type to be
identified as MAO in operator and system management displays.
554
Appendix F. Legacy MAO – Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
IN_1
IN_2
IN_3 Output Snap
IN_4 to CHANNEL
Block
Transducer
IN_5 Algorithm
Block
IN_6 Inputs
IN_7
IN_8
F.5.1.1 Mode
The device MAO block supports the following modes:
♦ Auto - In Automatic, the block output reflects IN_n.
♦ OOS - When the mode is Out of Service, the block is not processed, the output
channel is maintained at the last value, and the status of IN_n is set to BAD.
♦ LO - Local Override is set when the resource block has been placed in LO or a Fault
State is active. In LO, the output of the block does not respond to IN_n.
555
B0700EC – Rev B Appendix F. Legacy MAO – Foundation™ fieldbus Multiple
♦ Fault State on Restart sets each IN_n parameter to a specified value when the device is
recycled because of a loss of power or for some other reason. The value is specified in
FSATE_VALn.
♦ Fault State to Value sets each IN_n parameter to a specified value if the block has not
received a value for output from its configured source within the time specified in
FSTATE_TIME. As with the restart option, the value is specified in FSATE_VALn.
In the case of both options, the device detects the condition and takes the fault state action.
The arrow notation is used in the Table F-16 descriptions of MAO parameter transforms. These
are presented in alphabetic order, arranged by the I/A Series MAO block parameter names.
556
Appendix F. Legacy MAO – Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
557
B0700EC – Rev B Appendix F. Legacy MAO – Foundation™ fieldbus Multiple
558
Appendix F. Legacy MAO – Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
559
B0700EC – Rev B Appendix F. Legacy MAO – Foundation™ fieldbus Multiple
The MAO block support the device function block mode parameters with the configurable
MODE_T, MODE_P, and MODE_N parameters and the output parameter MODE_A.
To change the mode of the device function block from the I/A Series system, a mode request is
issued with the value of MODE_T via a switch parameter and written to MODE_BLK.Target.
The target value written to the device is rung back to be reflected in the MODE_T parameter.
In the MAO block, MODE_T, and thus the function block MODE.Target, is set by two settable
boolean parameters:
♦ AUT_SW changes the target mode to Auto so that the device block derives its output
from the IN_n parameters
♦ OOS_SW changes the target mode to Out of Service so the device function block’s
configuration can be changed.
Refer to Table F-16 for a description of the switch parameter actions and mapping of the MAO
block mode parameters to their device block equivalents.
NOTE
The .SubStatus bits in multiple analog output blocks vary with the specific I/O sub-
system or multi-output device, and may not be the same as the standard
FOUNDATION fieldbus bit assignment usage in other device function blocks. Refer
to the device documentation for information about how the .SubStatus bits are
used.
Bits Description
0-1 Limits
0 = Not limited
1 = High limited
2 = Low limited
3 = Constant (both high and low limited bits set)
2-5 Refer to the device documentation
560
Appendix F. Legacy MAO – Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
Bits Description
6-7 Quality
0 = Bad
1 = Uncertain
2 = Good (non-cascade)
3 = Good (cascade)
Parameter Description
FSOPTN Specifies when Fault State is asserted by the FBM228:
♦ When bit 0 = 1, assert Fault State if measurement is Bad.
♦ When bit 2 = 1, assert Fault State if control station-to-FBM communi-
cation is lost (FBM option). This option is enabled only if Fault State
is enabled at the FBM level via the FSENAB parameter in the ECB200
or ECB202.
561
B0700EC – Rev B Appendix F. Legacy MAO – Foundation™ fieldbus Multiple
Parameter Description
MOOPTS Configures the device function block MO_OPTS parameter to enable/dis-
able two Fault State options for each output (IN_n).
♦ Use Fault State on Restart n: Selecting this option causes the IN_n
output to go to the value specified in FSTATE_VALn on a device
RESTART. If this option is not selected and the device can go to its tar-
get mode upon RESTART, the last saved setpoint is used for generating
the Fault State position.
♦ Fault State to Value n: When this option is selected, the block uses the
value specified for output n in FSTATE_VALn. When the option is not
selected, the last saved setpoint is used.
FSVn Configures FSTATE_VALn in the device function block to specify the value
that is asserted when one of the faultstate options is invoked for the channel.
FSTIME Configures FSTATE_TIME in the device function block to set the period
that the fault condition must last before the block asserts the specified value.
A Fault State action does not occur until the FSTATE_TIME interval has
expired.
F.6.6 Alarms
The MAO block uses standard I/A Series alarm parameters, rather than the alarm features of the
device function block, to specify how to report to the control system when the IN_n value is bad.
When BADOPT=1, Bad I/O Alarming is enabled for the channels selected in CHMASK. The
alarm priority and alarm group are set with BADPRI and BADGRP, respectively. The alarm mes-
sage text is set with BADTXT.
Refer to Control Processor 270 (CP270) Integrated Control Software Concepts (B0700AG) for infor-
mation on alarm functionality.
F.6.7 Simulation
The I/A Series MAO block SIMOPT parameter enables simulation of output to and readback
from the corresponding multiple analog output device function block. This feature can be used to
test control schemes requiring analog outputs without the actual FBM228 hardware connections.
When SIMOPT= 1 (True), the setpoint contained in IN_n is not written to the H1 device and
the value and status of IN_n are not recovered from the device function block. However, the IN_x
and INST_x parameters are updated as if the value and status had been read back from the device.
When SIMOPT= 1, the following functions are performed:
♦ The actual values and status of the IN_x inputs are updated from the requested values
and status each block cycle when the Actual block mode is Auto. The CHMASK
parameter determines which values to process.
♦ The INSTx input status parameters is set to Good Non-Cascade (0x80).
♦ Changes to the target mode via the mode switches (AUT_SW, MAN_SW, or
OOS_SW) immediately update target mode parameter (MODE_T), and the actual
block mode (MODE_A) tracks MODE_T each block cycle.
♦ If BAO=1, Bad Alarming of the inputs is performed.
562
Appendix F. Legacy MAO – Foundation™ fieldbus Multiple Analog Output B0700EC – Rev B
563
Invensys Operations Management
5601 Granite Parkway Suite 1000
Plano, TX 75024
United States of America
http://www.iom.invensys.com