Fieldbus A Tutorial
Fieldbus A Tutorial
Technical Information
TI 38K02A01-01E
Yokogawa Electric Corporation 2-9-32, Nakacho, Musashino-shi, Tokyo, 180-8750 Japan Tel.: 81-422-52-5634 Fax.: 81-422-52-9802
Blank Page
Introduction
This textbook is prepared for those who want to know more about technologies supporting FOUNDATION Fieldbus and Function Blocks. Yokogawa Electric Corporation and its group funded this textbook to encourage FOUNDATION Fieldbus adoption by as many people as possible. No commercial ambitions are in this book. This textbook is a tutorial on FOUNDATION Fieldbus technologies and does not intend to override any technical content of FOUNDATION Fieldbus. If this textbook contains any explanation that conflicts with Foundation documents, the Foundation documents are correct and such conflict should come from an error of explanation of this textbook or this textbook failed to follow the technology update of Fieldbus Foundation. Yokogawa hopes readers to use this textbook in getting more knowledgeable about FOUNDATION Fieldbus and apply the knowledge to their industrial projects. Fieldbus is the language of the 21st century.
Media No. TI 38K02A01-01E (MO) 2nd Edition : Mar. 2003 (YK) All Rights Reserved Copyright 1998, Yokogawa Electric Corporation
TI 38K02A01-01E
Mar.20,2003-00
ii
Trademarks
FOUNDATION in FOUNDATION Fieldbus is a registered trademark of Fieldbus Foundation. CENTUM, YTA and YVP are registered trademarks of Yokogawa Electric Corporation. EJA is a trademark of Yokogawa Electric Corporation. Other product and company names may be registered trademarks of their respective companies (the TM or mark is not displayed).
DISCLAIMER OF WARRANTIES This document is provided on an as is basis and may be subject to future addimodifications, or corrections depending on the results of field trial testing. IMPORTANT tions, Yokogawa Electric Corporation hereby disclaims all warranties of any kind, express or implied, including any warranty of merchantability or fitness for a particular purpose, for this document. In no event will Yokogawa Electric Corporation be responsible for any loss or damage arising out of or resulting from any defect, error or omission in this document or from anyones use of or reliance on this document.
TI 38K02A01-01E
Mar.20,2003-00
Toc -1
CONTENTS
1. Overview of Fieldbus .............................................................................. 1-1
1.1 1.2 1.3 What is Fieldbus? ........................................................................................... 1-1 Fieldbus Benefits ............................................................................................ 1-3 FOUNDATION Fieldbus ................................................................................... 1-5
2.
TI 38K02A01-01E
Mar.20,2003-00
Toc -2
High Speed Ethernet ..................................................................................... 2-29 2.6.1 2.6.2 2.6.3 Why Ethernet? ................................................................................ 2-29 TCP/IP Protocol Suite ..................................................................... 2-29 Field Device Access Protocol .......................................................... 2-29
2.6
3.
4.
TI 38K02A01-01E
Mar.20,2003-00
Toc -3
Maintenance Phase ....................................................................................... 4-10 4.4.1 4.4.2 4.4.3 Device Alarms................................................................................. 4-10 Replacing a Faulty Device .............................................................. 4-10 Asset Management .......................................................................... 4-11 Addition of Applications ................................................................... 4-12 Device Upgrade .............................................................................. 4-12
4.4
4.5
TI 38K02A01-01E
Mar.20,2003-00
Blank Page
1-1
1.
Overview of Fieldbus
This section describes an overview of Fieldbus before going to the details of technologies. This section may not be enough for Fieldbus promotion activities. Refer to other documents to get more information.
1.1
What is Fieldbus?
Fieldbus Foundation defines Fieldbus is a digital, two-way, multi-drop communication link among intelligent measurement and control devices. It is one of several local area networks dedicated for industrial automation. Modern industries could not survive without information technologies and networks in the 21st century. From production line to enterprise level, digital communication supports all economical and social activities by its latest and powerful technologies. Fieldbus is a part of it and cannot be separated from others. Fieldbus is the lowest level in the hierarchy and exchange information with higher-level databases. Standards have been established for the transfer of measurement and control data between control room and plant floor by pneumatic and 4 to 20 mA electric signals. These standards offer interoperability and facilitate maintenance. Smart (hybrid) communication introduced in mid 80s opened an era of digital communication, but it had many limitations such as proprietary protocols, slow transmission speed and different data formats. The idea of fieldbus was proposed to solve such problems. A standardized digital communication for industrial automation is changing the production system very quickly. Figure 1.1 shows the position of Fieldbus in the industrial automation system.
TI 38K02A01-01E
Mar.20,2003-00
1-2
Plant
Network
Class
History
Details
Memo
Parts
Schedule
Doc
Parameter
Tool
PLUG-IN
PLANT Foundation Fieldbus BOILER-0101-10111-1 R302DME-103-10113-1 DAQSTATION(Ready) EJA001 (Ready) FI1002 (Ready) YHL001 (Ready) YTA001 (Ready) YVP001(Ready)
HART
Individual
All
View1
View2
View3
View4
Alarm
Tune
Operate
Service
Diagnosic
Current
...
<<
05/07/2002 14:02:48
...
Control Drawing Builder - [Pjt:MYPJT Stn:FCS0101 Draw:DR0001 File:DR0001.edf- [100%]] File Edit View Insert Format Tools Draw Window Help 100% Tag Name Model Name Tag Comment TIC1001 PID TEMPERATURE FIC1001 PID STEAM FLOW
300
100
350
400
450
500
550
600
650
700
750
800
ENABLE_DISABLE PV_SCALE
FLOW CONTROL
%Z011104 TO EXTERNAL INDICATOR
Ready
EU_100 EU_0
100.000000 0.000000
100.000000 0.000000
% %
150
Rows 1of 1
2/17/2003
Maintenance
250
Distillation column
TDA 37.5 C RC-10 23.4 %
200
Tank 1 FIC100
SUB
AUT NR PV SV MV
65.0
100.0
LICA
80.0
TIC301
Message
400
350
300
%Z015101
%Z011101
%Z011102
Drawing pane
60.0
40.0
FIC 25.4 %
100.0
Ready
X:675 Y:168
1024686
Select
Change
20.0
0.0
Plant Design
0.0
Ready
Operation Internet
Intranet
Management
Field Networks
Figure 1.1
Fieldbus Positioning
TI 38K02A01-01E
Mar.20,2003-00
1-3
1.2
Fieldbus Benefits
Fieldbus is expected to reduce the life-cycle cost of production line and then total cost of ownership (TCO) of the plant. Figure 1.2 shows the difference between analog transmission and fieldbus communication systems.
Conventional Analog Transmission System Fieldbus Communication System HSE using commercial off-the-shelf technology. Also redundancy.
Computer gateway
HSE
Controller
Sequencer gateway Sequencer Remote I/O card, terminal board 4 to 20 mA analog transmission cable Fieldbus Control station
Multivariable, bi-directional
Control valve
F010201.EPS
Figure 1.2
Planning Phase
Fieldbus allows the integration of plant through digital communication networks using a single plant automation system. Users can connect devices from multiple suppliers without custom software and these network-based systems allow control rooms and cabinet rooms to be smaller, and increase information productivity.
Installation Phase
Fieldbus offers reduced installation and material cost by replacing the traditional one-toone wiring scheme with networking or multi-drop configuration, while intelligent field instruments make commissioning and plant startup much faster and less expensive.
TI 38K02A01-01E
Mar.20,2003-00
1-4
Operation Phase
Fieldbus integrates various installations of control functions into one system to effectively optimize control of the plant. In addition, a unified human-machine interface (HMI) is provided for the plant operation. Function Blocks allow control functions to migrate into field devices allowing control functions to move to the field.
Maintenance Phase
Fieldbus allows for the reporting of self-diagnostics, calibration, and environmental conditions of field instruments without disturbing the plant control. Since it uses intelligent instruments, the stock for spare or replacement instruments can be dramatically reduced. Software packages for asset management are useful to minimize maintenance costs.
Renovation Phase
Enhanced functionality of field instruments is endless. Fieldbus devices are becoming standard off-the-shelf instruments, which make it very cost-effective and easy for users to extend the life of their plant. By simply connecting a new device, users can immediately benefit from advanced functionality. And, upgrade costs can be reduced because networkbased systems are modular, which means they are done on-line.
TI 38K02A01-01E
Mar.20,2003-00
1-5
1.3
FOUNDATION Fieldbus
Fieldbus is not a product but a technology to make above benefits available to users. The following two conditions are necessary to make them come true: Many vendors provide Fieldbus instruments. Those devices are interoperable.
Fieldbus Foundation was established in 1994 to achieve these goals. Its major activities are To promote a single international fieldbus to both users and vendors, To deliver FOUNDATION Fieldbus specification, To provide technologies for Fieldbus implementation including education, and To install an infrastructure to achieve interoperability.
FOUNDATION Fieldbus is a subset of IEC/ISA standard (IEC61158 and ISA S50.02). Fieldbus Foundation and its members adopt FOUNDATION Fieldbus as an enabling technology to utilize it to bring the above benefits to users. FOUNDATION Fieldbus is also called Fieldbus, FF in this textbook.
TI 38K02A01-01E
Mar.20,2003-00
Blank Page
2-1
2.
TI 38K02A01-01E
Mar.20,2003-00
2-2
2.1
2.1.1
Communication Models
OSI Reference Model
Communication specifications are often explained with reference to the Open System Interconnect (OSI) layered model. FOUNDATION Fieldbus is specified according to the simplified OSI model, consisting of three (3) layers: Physical Layer (PHL), Data Link Layer (DLL) and Application Layer (APL). See Figure 2.1 for OSI reference model and Fieldbus model. Layers 2 to 7 are implemented mostly by software and therefore are often called the communication stack.
OSI Reference Model (*1) Fieldbus Model
User Application Application Layer Presentation Layer Session Layer Transport Layer Network Layer Data Link Layer Physical Layer FMS: Fieldbus Message Specification Communication Stack Data Link Layer Physical Layer FAS: Fieldbus Access Sublayer FMS FAS
Figure 2.1
Fieldbus Foundation specifies not only communication but also some user applications, which use FOUNDATION Fieldbus communication, though the OSI model does not specify any user application. Application Layer of Foundation Fieldbus consists of two sublayers: Fieldbus Access sublayer (FAS) and Fieldbus Message Specification (FMS). FAS is the glue to map FMS services to Data Link Layer. Figure 2.2 shows the architecture of FOUNDATION Fieldbus.
TI 38K02A01-01E
Mar.20,2003-00
2-3
Users discuss the business with their own semantics. Application Application
SM
Network Management
APL
Application Layer
Information
DLL
0110100
Data
Management
PHL
Physical Layer
Signal
Figure 2.2
TI 38K02A01-01E
Mar.20,2003-00
2-4
2.1.2
Figure 2.3
TI 38K02A01-01E
Mar.20,2003-00
2-5
2.1.3
Sender
Receiver
index
index
FMS
VCR
FMS
FAS
FAS
DLL
VCR
DLL
DL-address PHL
DL-address PHL
Figure 2.4
A Fieldbus device has many VCRs so that it can communicate with various devices or applications at the same time. It is possible because the VCR guarantees the message goes to the correct partner without risks of losing information. A VCR is identified by an application with device-local identifier called index specified in Application Layer. It is also identified from other devices with DL-address specified in Data Link Layer. A VCR has a queue (fast-in, fast-out memory) or a buffer (memory to store data) to save messages. It is the responsibility of network configuration to give the correct information of the index and DL-address as well as other operating information to VCRs through Network Management.
TI 38K02A01-01E
Mar.20,2003-00
2-6
2.2
Physical Layer
Physical Layer is a mechanism to transmit and receive electric or optic signals to/from medium so that data consisting of ones and zeros is transmitted from one node to the others. Physical Layer interests are wires, signals, waveform, voltage, and others all related to electricity and optics. Though the IEC/ISA standard specifies various media with various speeds, Fieldbus Foundation chose its own subset, low speed wire and fiber media, and Ethernet. Ethernet is discussed in Section 2.6 of this textbook.
2.2.1
TI 38K02A01-01E
Mar.20,2003-00
2-7
2.2.2
Signaling Method
Fieldbus utilizes a similar technology for smart transmitters to transmit an electric signal to the wire. Figure 2.5 shows the electric equivalent circuit of signal transmission. Supply voltage is applied by a power supply through an impedance conditioner, typically consisting of inductors. DC current through the impedance conditioner feeds devices. Supply voltage is between 9 V and 32 V at the device terminals. The impedance conditioner makes output impedance of the power supply higher than 400 in the signal frequency bandwidth.
Electric equivalent circuit V0 I1+I2 100 100 Time I1 1F 1F Time Terminator
F020201.EPS
Vs
Vs
I1
I2
Vo
Device 1 Terminator
Device 2
Figure 2.5
Each cable end is terminated with a terminator of 100 impedance. It makes an instrumentation cable a balanced transmission line so that a signal of relatively high frequency can be transmitted with a minimum distortion. I1 and I2 in Figure 2.5 are the currents flowing through device 1 and device 2. When current I1 of device 1 increases by 10 mA, it is fed from capacitors in terminators because the impedance conditioner of the power supply prevents changes of current through inductors. Thus, the voltage between the wire pair decreases by 0.5 V (= 10 mA 50 (*1)). Current I1 in device 1 then decreases by 20 mA to generate a modulated signal of 1 V p-p amplitude, while the average current remains constant. Data is encoded as a voltage change in the middle of one bit time. Data one (1) is encoded as a voltage fall in the middle of the bit time, while zero (0) is encoded as a voltage rise. Additional out-of-band data are N+ and N- encoded as constant voltage during the bit time. They are used only for start and stop delimiters to encode the start and end of PHL SDU (= DL PDU) so that Physical Layer can transmit any combinations of zeros and ones in DL PDU. Figure 2.6 shows the typical waveform of a Physical Layer signal. The receiving Physical Layer retrieves bit time using the preamble and then the boundary of octets (bytes) using the start delimiter. The end delimiter indicates the end of the Physical Layer signal. Preamble length can be increased when the signal goes over repeaters.
*1: 50 is made by a parallel 100 impedance of the terminators
1 N+ N- 1 0 N- N+ 0 0 0 0 1 0 1 0 0
bit time
F020202.EPS
Figure 2.6
TI 38K02A01-01E
Mar.20,2003-00
2-8
2.2.3
Wiring Rules
The IEC/ISA standards specify the minimum amplitude and worst waveform of a received signal at a device at the any place of the Fieldbus network. The Physical Layer receiver circuit must be able to receive this signal. The transmission line can be configured in any way as long as the received signal quality is guaranteed at all receiving nodes. However, this is not always simple to do, and so the ISA SP50 Committee created a set of wiring rules to simplify the network design. The received signal is always of better quality than the minimum requirement if the Fieldbus is designed according to these rules. Although the rules seem somewhat conservative, they are useful for easily designing a workable network. Recommended rules by IEC/ISA standard: Rule 1: The number of devices on a Fieldbus shall be between 2 and 32. Rule 2: Cable shall be individually-shielded twisted pair (type A) 18 AWG wires. Rule 3: The total cable length shall not exceed 1900 m (including total spur length). Rule 4: The maximum total spur length shall not exceed 120 m. Rule 5: When overall-shielded twisted pair (type B) 22 AWG wires are used, the total length shall not exceed 1200 m. Table 2.1 shows the Fieldbus cable type and the transmission length, and Table 2.2 shows the number of devices and recommended maximum total spur lengths (*1). Figure 2.7 shows the trunk cable and the spur cables.
Table 2.1 Fieldbus Cables Type and Transmission Length (Rule 3 and 5) Type of cable Cable specifications Max. length of cable (reference value) 1,900 m 1,200 m 400 m 200 m
T020201.EPS
Type A : Individually-shielded twisted pair cable #18AWG (0.82 mm2) Type B : Overall-shield twisted pair cable Type C : Unshielded twisted pair cable Type D : Overall-shielded non-twisted cable #22AWG (0.32 mm2) #26AWG (0.13 mm2) #16AWG (1.25 mm2)
Note: Yokogawa recommends the use of Type A. Usage of Types B and D is restricted. Yokogawa does not recommend the use of Type C.
Table 2.2
TI 38K02A01-01E
Mar.20,2003-00
2-9
Host I/F
FF power conditioner
Spur Cables
F020203.EPS
Figure 2.7
Users can check whether the above rules are satisfied by reviewing the cable installation drawing. Note that these are not the only rules limiting the number of devices on a Fieldbus; other rules are discussed in Section 4.
*1: In principle, the spur cable lengths should be less than the lengths shown in table 2.2. However, in some applications these maximum total spur lengths are exceeded, so Yokogawa was requested to assess whether this is viable. Considering that the lengths shown in the IEC and ISA standards are recommended ones, Yokogawa has assessed the lengths and obtained the following result. Assuming that Yokogawa CENTUM is used as Fieldbus host system, the spur cable lengths can be increased under the following conditions: Use of Fieldbus Type A cable Number of field devices connected to a segment: max. 16 devices Maximum length of spur cable: 120 m Maximum total length of spur cable: 960 m Maximum length of trunk cable: 1900 m - total length of spur cable There is no restriction on the number of junction boxes used to connect field devices via spur cables. The content of Table 2.2 of this textbook is shown in Annex B (informative) of the standard IEC 61158-2 and ISA S50.02. Maximum total spur lengths are the same for Type A, B, C, and D cables.
TI 38K02A01-01E
Mar.20,2003-00
2-10
2.2.4
Host I/F
Terminator
Safe area
Hazardous area
F020204.EPS
Figure 2.8
TI 38K02A01-01E
Mar.20,2003-00
2-11
2.3
2.3.1
TI 38K02A01-01E
Mar.20,2003-00
2-12
2.3.2
Addresses
Communication partners in Data Link Layer are identified with DL-address, which consists of three components, Link, Node and Selector. Table 2.4 shows an example of bit lengths of Link, Node and Selector. Link field consists of 16 bits and identifies a link. When the communication is within a link, this field is often omitted. This field is necessary when a message is going to other links through bridges.
Table 2.4 Example of Bit Lengths of Link, Node and Selector Bit length example 16 bits 8 bits 8 bits
T020302.EPS
Node field gives the node address of 8 bits. A Fieldbus device has a node address in the ranges between 0x10 and 0xFF, which is classified into LM range, BASIC range, default range and temporary range. Usually devices are in LM or BASIC range according to their device classes. When a device loses the node address, it communicates using one address in the default range. A temporary device such as a handheld communicator has node address in the temporary range. Link Active Scheduler has a node address of 0x04. Table 2.5 and Figure 2.9 show the address range used in a Fieldbus link. There is an address gap of size V(NUN). If a device has an address in this gap, it will never join the link. V(FUN) and V(NUN) are parameters to be able to access through Network management.
TI 38K02A01-01E
Mar.20,2003-00
<2. Fieldbus Communication Technologies> Table 2.5 Address Range for Device Class in Fieldbus Link
2-13
Address range in Fieldbus link 0x10 to V(FUN) V(FUN) + V(NUN) to 0xF7 0xF8 to 0xFB 0xFC to 0xFF
Device class Address for Link Master (LM) class devices Address for BASIC class devices Default address for devices with cleared address Address for temporary devices like a handheld communicator
T020303.EPS
0x00 Not used 0x10 Link Master (LM) class devices V(FUN)
Not used
V(NUN)
Figure 2.9
Selector field gives a device-internal address of 8 bits to identify a VCR. When a VCR is connected to another VCR, it is identified with DLCEP (Data Link Connection End Point) shown in this field. When a VCR is not connected to any others but open to send/receive messages, it is identified with DLSAP (Data Link Service Access Point) shown in this field. DLCEP and DLSAP have different ranges. Several DL addresses are reserved for specific purposes. For example, devices can share the same global DLSAP for alarm reception.
TI 38K02A01-01E
Mar.20,2003-00
2-14
2.3.3
BASIC
Link Master
BASIC
BASIC
Link Master
BASIC
Link Master
BASIC
BASIC
Link Master
BASIC
BASIC
BASIC
Link Master
F020302.EPS
Figure 2.10
Note that the LAS is an additional functionality to basic communication. Therefore it has a different DL-address (0x04) than the node address.
TI 38K02A01-01E
Mar.20,2003-00
2-15
2.3.4
Scheduled Communication
The LAS is responsible for scheduled communication, which is necessary to link Function Blocks. Function Blocks are distributed applications operating in a synchronized manner. The LAS manages the communication part of the synchronized data transfer. A Function Block output parameter is a Publisher of data and other Function Blocks that receive this data are called Subscribers. The LAS controls periodic data transfer from a Publisher to Subscribers using the Network Schedule. When the time of scheduled communication comes, LAS sends Compel Data (CD) PDU to the Publisher DLCEP. Publisher is expected to transmit Data Transfer (DT) PDU stored in the data buffer of the DLCEP immediately. When Subscribers receive CD to the Publisher, they presume the next data transfer comes from the Publisher. Received data is stored in the buffer of Subscribers. A CD PDU is a token for a Publisher and the LAS interprets the publishing DT PDU as the returned token. See Figure 2.11.
(1) LAS issues CD (Compel Data) with token to the Publisher. LAS CD (token) Buffer Device Buffer Device Buffer Device
Device
(2) The Publisher publishes data and the Subscribers get data. Token is returned to LAS. LAS DT (token) DT (data)
Device
Buffer Device
Buffer Device
Buffer Device
F020303.EPS
Figure 2.11
Data Link Layer appends freshness information as PCI to the data so that the Subscribers know whether data has been updated since the last publish.
TI 38K02A01-01E
Mar.20,2003-00
2-16
2.3.5
Unscheduled Communication
Other communications take place in an asynchronous way. The LAS is responsible to give all nodes on a link a chance to send messages. The LAS gives a token by sending Pass Token (PT) PDU to a node. A PT PDU contains priority and time interval information. When the node does not have messages of the given or higher priority to be sent, or the given time interval is expired, it returns token as Return Token (RT) PDU. The LAS controls the message transfer by updating the priority. When the token is given to all devices in a short time interval, the LAS gives more time to the nodes by lowering the priority. When the token does not go to all devices within a target token rotation time network parameter, the LAS increases the priority so that the token is given to all devices in a desired time interval. A device must return the token within the time interval given in the PT PDU. This is necessary to finish the unscheduled communication before the next scheduled communication. Note that the token is given to the node instead of DLCEP or DLSAP. Therefore the device is responsible to allow all DLCEPs and DLSAPs in the device to send messages. See Figure 2.12.
(1) LAS issues PT (Pass Token) to a device. LAS Device PT (token) Device Device Device
(2) The device holding token sends data to other devices. LAS Device DT Device token Device Device
(3) Device returns token to LAS when it has no further data or given time expires. LAS Device RT (token) Device Device Device
F020304.EPS
Figure 2.12
TI 38K02A01-01E
Mar.20,2003-00
2-17
2.3.6
Link Maintenance
The third role of LAS is to maintain the link. The LAS gives the token to all devices detected by the LAS. When a new device is added to the network, it must be recognized by the LAS and entered to the token rotation list called Live List. The LAS sends a Probe Node (PN) PDU to node addresses where a device was not found before. A new device waits until it receives PN and returns Probe Response (PR) PDU to the LAS. Then the LAS adds this device to the Live List after activating the full DLL functionality of the device. This activation procedure is beyond the scope of this textbook. This probing is repeated in a given interval. When a device is removed from the link, it does not respond to PT any more. The LAS detects this and deletes the device from the Live List. Whenever a change is detected in the Live List, the LAS broadcasts the change so that all LM devices share the latest list and are ready to take over. The LAS also broadcasts its Data Link Time (LS-time) to the link in a predefined interval so that all devices on the network share the same time, which is necessary to start Function Blocks. It is often called network time.
2.3.7
TI 38K02A01-01E
Mar.20,2003-00
2-18
2.4
2.4.1
Application Layer
The Application Layer consists of two sublayers. Fieldbus Access Sublayer (FAS) manages data transfer while Fieldbus Message Specification (FMS) encodes and decodes user data.
TI 38K02A01-01E
Mar.20,2003-00
2-19
Client-Server Model
The Client-Server model is universal and used in many communication technologies. An application called Client requests another application called Server to do a specific action through FMS. When the Server finishes the requested action, its result is transferred to the Client. It is a one-to-one two-way communication using DLCEP. A typical example is a human-machine interface (Client) to read data of a Function Block (Server). The Client sends a Read request to the Server and then Server sends back the data to the Client. This communication takes place at any moment. A Client may want to issue many requests at a time. Client-Server VCR has a queue to store those requests and sends requests one by one when the node has a token. A flowcontrol mechanism is available to manage error recovery and Servers processing power. See Figure 2.13. The features of Client-Server communication model are as follows. One-to-one two-way connected communication Universal communication Manual operation Download configuration Maintenance
Figure 2.13
TI 38K02A01-01E
Mar.20,2003-00
2-20
Publisher-Subscriber Model
Publisher-Subscriber model is designed to link Function Blocks. When a publishing Function Block runs, its output data is stored in the buffer of the Publisher VCR. Then the LAS sends CD to the VCR to force it to transfer the data in DT PDU. Subscriber VCRs receive this PDU and gives the data to the subscribing Function Blocks. A typical example is a linkage from output of an Analog Input (AI) block to process value input of PID control block. The features of Publisher-Subscriber communication model are as follows. One-to-many one-way connected communication Data transfer for instrumentation Connect Function Blocks
LIC300
LIC300
AUT NR
AUT NR PV SV MV
0.0
Subscriber
F020402.EPS
Figure 2.14
The Publisher-Subscriber model is one-to-many one-way communication using DLCEP. Subscribers are able to know whether data has been updated since the last publish. This mechanism is important because Data Link Layer transfers data as scheduled regardless if the publishing Function Block updates the data in the buffer.
TI 38K02A01-01E
Mar.20,2003-00
2-21
Source-Sink Model
The Source-Sink model is designed to broadcast messages. It is one-to-many one-way communication without schedule. This model is sometimes called Report Distribution Model. A Source VCR transfers a message in the queue to an assigned global DLSAP address when the device has the token. Sink VCRs have the same global address and receive the same message from a Source. Fieldbus devices use this model for two specific purposes. One is to report alarms or events detected in the Source, and the other is to transmit trend of Source Function Block. Alarms are acknowledged through a Client-Server VCR. It is desirable for an alarm logger to receive alarms from devices with one VCR. A Sink can receive messages from many Sources if the Sources are configured to send messages to the same global address. A Sink can identify the Source with its DLSAP address. The features of Source-Sink communication model are as follows. One-to-many one-way connection-less communication Event reporting Device or process alarms Trending
LIC300
Source
AUT NR
AUT NR PV SV MV
0.0
Sink
F020403.EPS
Figure 2.15
TI 38K02A01-01E
Mar.20,2003-00
2-22
2.4.2
VCR
VCR
VCR
VCR
VCR
VCR
FMS FAS DLL PHL SMSAP VFD OD SMIB NMIB SMSAP SM/NM Server FB RB TB VCR Publisher Subscriber Source
: Virtual Field Device : Object Dictionary : System Management Information Base : Network Management Information Base : System Management Service Access Point
Figure 2.16
TI 38K02A01-01E
Mar.20,2003-00
2-23
FMS Objects
Applications in a VFD are shown to other applications on the network using an object model, which consists of attributes, its behavior and access methods.
Object Examples
Function Blocks have parameter objects to which another application can have access. Alarms, Function Block Linkage are also objects. Their behavior is specified in the Function Block Application specification. Network behavior is managed through Network Management Information Base (NMIB) objects. System behavior is managed through System Management Information Base (SMIB) objects. Schedules and VCRs are also objects.
TI 38K02A01-01E
Mar.20,2003-00
2-24
Object Dictionary
An object is identified with a number called index, which is unique within the VFD. Additional information to describe an object is necessary for open systems. Such information is called the Object Dictionary (OD), which is an assembly of information called Object Descriptions to explain the objects. A Client application can read such explanations with Get OD service and read the value when the object is a variable. The most fundamental object is a variable to contain a value. It may be a simple variable, a record (structure) or an array. Function Block parameters, VCR, NMIB and SMIB are examples of record variables. Other objects are event, domain, and program. They are explained in the next sections. See Figure 2.17.
Object Dictionary Data Type Object Description Object Description Object Description Object Description Read Variable Variable Write Variable Variable Variable Variable Notify Event Event Event Download Domain Domain Start Program Program Program Domain Event Variable Object Description Object Description Object Description Object Description Object Description Object Description Object Description Object Description Object Description Object Description Object Description Object Description Object Description
F020405.EPS
Get
Figure 2.17
An object is accompanied with its Object Description sharing the same index. There are Object Descriptions without associated objects. Those Object Descriptions give other information such as object location, amount of objects, data type, data structure and so on.
TI 38K02A01-01E
Mar.20,2003-00
2-25
FMS Services
FMS provides services to access FMS objects. Table 2.8 to 2.11 summarize them with service classes.
Variable Access
A variable is storage of data. Its value can be read or written by another application. An application can send variable data without request from another application using Information Report service. Foundation Fieldbus uses this service in publishing data and reporting trends. It is possible to define a list of variables for an effective transfer. When a variable is a record or an array and consists of multiple variables, it is possible to transfer it as a whole or only one component assigned with sub index.
Table 2.8 Variable Access Services
Service Read Write Information report Define variable list Delete variable list Functionality Read value of a variable. Write value to a variable. Send value as Publisher or Source. Define a list of variables to send. Delete a list of variables.
T020402.EPS
Event Management
Event is used to notify that an application detects something important. Failure, data update and alarms are examples of events. An event is notified with the Source-Sink model repeatedly until it is acknowledged through the Client-Server model. Its notification can be enabled or disabled through another Event-related service.
Table 2.9 Event Services
Service Event Notification Acknowledge Event Notification Alter Event Condition Monitoring
TI 38K02A01-01E
Mar.20,2003-00
2-26
Domain Management
Domain is a continuous memory area. It may be a program area or data area. A Client can download data to a domain or upload domain content through FMS services. Because a domain can be larger than the maximum size of FMS encoding, FMS allows uploading or downloading a domain in parts. Initiate and Terminate services are prepared to manage partial download and upload.
Table 2.10 Domain Services
Service Request Domain Download (Generic) Initiate Download Sequence (Generic) Download Segment (Generic) Terminate Download Sequence Request Domain Upload Initiate Upload Sequence Upload Segment Terminate Upload Sequence
Functionality Request download. Start downloading. Download. Stop downloading. Request upload. Start uploading. Upload. Stop uploading
T020404.EPS
Program Invocation
Program is a data processing functionality that can be managed from other applications. It was modeled for PLC ladder programs and can be used for Function Block Applications. When a program is downloaded, its invocation is tightly coupled with Domain management.
Table 2.11 Program Services
Service Create Program Invocation Delete Program Invocation Start Stop Resume Reset Kill
Functionality Create a Program object. Delete a Program object. Start a program. Stop a program. Resume a program execution. Reset the program. Disable the program.
T020405.EPS
TI 38K02A01-01E
Mar.20,2003-00
2-27
Other Services
FMS provides other services for Object Dictionary and Context management. An Object Description can be read by the Get OD service. When an object is downloadable, its object descriptions need to be downloaded too. A connection between applications is managed though Context. Initiate and Abort services are fundamental and the status information of the partner can be transferred by other services.
Table 2.12 Other FMS Services
Service Get OD OD management services Initiate Put OD Put OD Terminate Put OD Initiate Context management services Abort Reject Identity Functionality Read an object description. Start downloading OD. Download an OD. Stop downloading OD. Establish a FMS connection. Release a FMS connection. Reject an improper request. Ask VFD Identification (vendor, model).
T020406.EPS
TI 38K02A01-01E
Mar.20,2003-00
2-28
2.5
2.5.1
2.5.2
Tag Location
Device Tag and Function Block Tag are useful for humans but need longer data for communication. SMKP provides services to replace Device Tag and Block Tag with node address and index to make further communications much simpler.
2.5.3
TI 38K02A01-01E
Mar.20,2003-00
2-29
2.6
2.6.1
Why Ethernet?
Ethernet is one of the most popular networks for office and business applications. Network components such as cables, hubs and switches are available with very low prices from the commercial off the shelf (COTS) environment. Its media are evolving very quickly. 100 Mbps Ethernet is replacing traditional 10 Mbps Ethernet, and a faster Ethernet of 1 Gbps is emerging. It is better to utilize those COTS components both in cost and availability.
2.6.2
2.6.3
TI 38K02A01-01E
Mar.20,2003-00
Blank Page
3-1
3.
Fieldbus Applications
This section explains Function Blocks and other applications running over FOUNDATION Fieldbus. Communication technologies supporting those applications are explained in Section 2 of this textbook. This section describes how measurement and control applications are implemented on FOUNDATION Fieldbus and how carefully such applications are designed to provide the plant secure control and the successful maintenance.
3.1
3.1.1
TI 38K02A01-01E
Mar.20,2003-00
3-2
3.2
Function Block
This section focuses the most important concept of Function Block in FOUNDATION Fieldbus, especially its models and parameters, through which users can configure, maintain and customize users applications.
3.2.1
Resource Block
A Resource Block shows what is in the VFD. It gives the manufacturers name, device name, DD and so on. If the VFD allows creating or downloading a Function Block, Resource Block shows how much resource (memory and CPU time) is available. Status of hardware is also visible. Resource Block controls the overall device hardware and Function Blocks within the VFD.
TI 38K02A01-01E
Mar.20,2003-00
3-3
Function Blocks
A Function Block is a generalized model of measurement and control. For example, the AI block conditions raw data from transducer(s) and outputs the measured value in a common format. Function Blocks are classified into three classes: (1) a Standard Block as specified by the Fieldbus Foundation, (2) an Enhanced Block with additional parameters and algorithm, and (3) an Open Block or a Vendor-specific Block designed by individual vendors. A Function Block has input, output and contained parameters. Data generated in a block is exposed in an output parameter, which can be linked to the input parameter of other Function Blocks. Figure 3.1 shows an example of Function Block (PID Block).
Inputs
Outputs
F030201.EPS
Figure 3.1
Table 3.1 lists Function Blocks defined by the Fieldbus Foundation. The major functionality is implemented here. Part 2 blocks are the most fundamental ones for measurement and control. Part 3 blocks are for advanced control. Part 4 blocks provide I/O interface to other world such as 4 to 20 mA. Part 5 blocks can be tailored for users application like a PLC program.
TI 38K02A01-01E
Mar.20,2003-00
3-4
Block name AI DI ML BG CS PD PID RA AO DO DC OS SC LL DT IT SPG IS AR TMR AAL MDI Analog input Discrete input Manual loader Bias/gain
Block function
Control selector PD control PID control Ratio Analog output Discrete output Device control Output splitter Signal characterizer Lead lag Deadtime Integrator Setpoint ramp generator Input selector Arithmetic Timer Analog alarm Multiple discrete input Multiple discrete output Multiple analog input Multiple analog output Fixed OD Fixed programmable resource Variable OD Variable programmable resource Resource block for programmable resource
T030201.EPS
*1: Refer to Fieldbus Foundation Document FF-891 for details. *2: Refer to Fieldbus Foundation Document FF-892 for details. *3: Refer to Fieldbus Foundation Document FF-893 for details. *4: Refer to Fieldbus Foundation Document FF-894 for details.
TI 38K02A01-01E
Mar.20,2003-00
3-5
Various measurement and control applications can be built by linking these Function Blocks. Figure 3.2 shows typical examples using Part 2 blocks.
AI
DI
AI
AI AI
AI
Input
ML DO AO Manual Control
PID
PD DI
PID
AO
AO
AO
Output
Feedback Control
AI
AI
AI AI
AI AI PID
AI
PID
PID
RA
PID
SS
PID
PID
BG
BG
AO Override Control
AO Ratio Control
AO Cascade Control
AO
AO
Figure 3.2
Transducer Block
A Transducer Block is a model of sensors and actuators. It is modeled to give a similar expression to Function Blocks. Traditional sensors like pressure transmitters can be mapped to a Transducer Block. A Transducer Block is linked to a Function Block through the CHANNEL parameter of the Function Block. A Function Block is a general idea while the Transducer Block is dependent on its hardware and principles of measurement. For example, pressure transmitter and magnetic flowmeter have different measurement principles but provide an analog measured value. The common part is modeled as an Analog Input (AI) block. The difference is modeled as Transducer Blocks that give the information on the measurement principle.
TI 38K02A01-01E
Mar.20,2003-00
3-6
3.2.2
Block Link over Communication Schedule Block Execution Internal Block Link
Device #1
AI
Device #2
PID
AO
Communication
Scheduled Communication
Figure 3.3
TI 38K02A01-01E
Mar.20,2003-00
3-7
3.2.3
Parameters
A block has a series of parameters, which are accessible by choosing one with a FMS index. Parameters of a block have continuous indices.
Parameter Classes
Block parameters are classified into three classes: input, output and contained parameters. Function Blocks can have all of them while the Resource Block and Transducer Blocks have only contained parameters.
Output Parameters
An output parameter is an output of a Function Block and can be connected to input parameter(s) of other Function Block(s). It is possible for two or more Function Blocks to share one output parameter from a Function Block. This is supported by periodic PublisherSubscriber communications. An output parameter is a record consisting of a value (analog or discrete) and its status (showing whether the value is useful).
Input Parameters
An input parameter is an input of a Function Block and can accept one output parameter of another Function Block. Its data type must be equal to that of the output parameter.
Contained Parameters
A contained parameter is neither input nor output. It is accessible only through on-demand Read or Write request. Its data type can be any of those defined by the Fieldbus Foundation.
TI 38K02A01-01E
Mar.20,2003-00
3-8
Parameter Attributes
Block parameters have several attributes that make their behavior complex.
Access Right
Function Block parameters can be readable (expressed as r) and/or writable (expressed as w). Even when a parameter is writable, there may be restrictions. For example, OUT parameter of AI block is writable when block mode is O/S or MAN. In other modes, a write request to this parameter is rejected. Vendor-specific range check for a write request is allowed. For example, many PID blocks reject a request to set proportional gain to zero.
Dynamic or Static
A dynamic parameter varies when the Function Block is executed, but its value is lost when the power is turned off. A static parameter does not vary according to block execution but may be written by an on-demand request, and its value is restored. A parameter whose value just before power-off is retained when the power is turned on again, this parameter is called non-volatile. Static parameters can be written only when block mode is O/S; e.g., the block mode should be changed before modifying static parameters. After modifying static parameters, the block mode should be restored to appropriate mode (AUTO or CAS).
Status of a parameter
Input parameters, output parameters and some of contained parameters are records with status. Status shows whether the value of this parameter is useful or not. If the value is useful, the status is GOOD. If the value is not useful, the status is BAD. The status can be UNCERTAIN when the block is not 100% confident that the value is useful. Blocks have an option to interpret UNCERTAIN as GOOD or BAD. Status has additional fields to show more details.
TI 38K02A01-01E
Mar.20,2003-00
3-9
3.2.4
Important Parameters
Several parameters are common to many blocks and are very important.
Block Mode
All blocks have their mode, expressed by the MODE_BLK parameter. It is a record of four components; Target, Actual, Permitted and Normal. Target is the mode into which an operator wants to bring this block. This component is writable. Actual shows the actual mode of the block and is read-only. When the necessary condition is satisfied, Actual mode becomes same as Target. There is a chance that Actual mode stays different from Target for some reason. Permitted mode shows which mode is allowed in Target of this Function Block. Normal mode is a reminder for the operator to record the mode that an operator expects in normal conditions. These two components are writable but it is not a good idea to change them without reason. Mode can be one of O/S, MAN, AUTO, CAS, RCAS and ROUT. In O/S (out of service) mode, the block does nothing but set parameter status to BAD. In MAN (Manual) mode, Function Block execution does not affect its output. In AUTO (Automatic) mode, the block works independently from upstream Function Blocks. In CAS (Cascade) mode, the Function Block receives the set point from an upstream Function Block. Actual mode of Function Blocks for output or control may become IMAN (initialize Manual) or LO (Local Override) according to the status of a downstream block or local operation. Permitted mode depends on the block. Resource Block has only O/S and AUTO modes. Transducer Block may have O/S, MAN and AUTO modes.
Scaling Parameters
Some Function Blocks need scaling of the data as 0 to 100%. A scaling parameter is a record of four components: EU@100%, EU@0%, Unit Code and Point Position. EU@100% and EU@0% are values of 100% and 0%, respectively, in the engineering units. Unit Code indicates the engineering units of the scaling or parameter. It could be GPM, psi, inches or something else. Point Position shows the position of the point that an operator wants to show the desired resolution of the floating-point value. Table 3.10 summarizes important unit codes.
TI 38K02A01-01E
Mar.20,2003-00
3-10
3.2.5
View Objects
Since a Function Block has many parameters, it is not practical to read them one by one for display purposes, especially for operators. Fieldbus Foundation utilizes the FMS Variable List concept for this purpose. A View Object is a predefined Variable List made of many block parameters. Four View Objects are defined for each block. They are VIEW 1: Operation Dynamic - List of dynamic parameters that are necessary to run the plant by operators. VIEW 2: Operation Static - List of static (configured) parameters that may be necessary to show operators along with the dynamic parameters. VIEW 3: All Dynamic - List of all dynamic parameters that may be used for detailed display or diagnosis. This list is bigger than VIEW 1 object. VIEW 4: Other Static - List of static parameters that may be useful for configuration and maintenance purpose. This list is bigger than VIEW 2 object and may or may not consist of all static parameters.
TI 38K02A01-01E
Mar.20,2003-00
3-11
3.3
Important Blocks
Fieldbus Foundation specified ten (10) standard function blocks in the Part 2 of its specification. More function blocks were added later. However, only five Function Blocks (AI, DI, PID, AO and DO) are of the most importance in most cases, and only three of them (AI, PID and AO) are in many cases. This section describes the information of three important Function Blocks (AI, AO and PID) as well as Resource and Transducer Blocks. It also provides recommended values of block parameters, which come from Yokogawas long experience of measurement and control. These values can be used in most of cases. If a parameter is a bit-string (unsigned integer with each bit having an assigned meaning), names of bit to be set are listed using names in Foundation Document. If a parameter is dynamic and users cannot set it, value field indicates it as dynamic.
3.3.1
AI block
Analog Input (AI) block is designed to allow users to enjoy standard model of generalized signal-conditioning function. An AI block receives data measured by Transducer Block and manipulates it for the followings. Scaling Square root calculation (for an orifice plate) Low-pass filter Alarm generation
SIMULATE
F030301.EPS
Figure 3.4
AI Block
TI 38K02A01-01E
Mar.20,2003-00
3-12
Low-pass Filter
PV can be made more stable by applying single-exponential low-pass filter. Its time constant is given by PV_FTIME in seconds. If its value is zero, no filter is applied.
Alarm Generation
When PV value is smaller than LO_LIM or LO_LO_LIM, a LO or LO_LO alarm is generated, respectively. When PV value is larger than HI_LIM or HI_HI_LIM, a HI or HI_HI alarm is generated, respectively. Following order is expected. LO_LO_LIM LO_LIM HI_LIM HI_HI_LIM
Permitted Modes
Permitted modes are O/S, MAN and AUTO. In MAN mode, OUT.value can be modified. In AUTO mode, PV.value and PV.status are copied to OUT.value and OUT.status respectively.
Channel Value
The CHANNEL parameter, 1 or greater (upper bound depends on Transducer Block), chooses one of the data values from Transducer Block. Channel value is visible in SIMULATE parameter (Transducer Value and Transducer Status).
Simulation
This functionality is very useful in starting up the plant. If users set SIMULATE.En/DisAble to Enabled, AI block uses Simulate Value and Simulated Status as Channel value instead of Transducer Value and Transducer Status. This function is active only when Simulation Switch (hardware) is ON. Do not forget to disable SIMULATE after using this function.
TI 38K02A01-01E
Mar.20,2003-00
3-13
TI 38K02A01-01E
Mar.20,2003-00
3-14
Parameter Mnemonic
Application AI3
Indirect Sq Root
*1:
For the information about CHANNEL, refer to the device instruction manual or the device Capabilitties file (CF).
TI 38K02A01-01E
Mar.20,2003-00
3-15
IMPORTANT
The numbers in front of the parameter names of the recommended parameter values show the index offset from the block header. The parameters (or components) in the grayed columns are often initialized on shipping to useless values by some vendors, to prevent a Function Block from being operational. Such parameters must be set to meaningful values as listed in the table.
TI 38K02A01-01E
Mar.20,2003-00
3-16
3.3.2
AO block
The Analog Output (AO) block is designed to allow users to enjoy a standard model of output devices like a valve positioner. An AO block receives the control value from a control block and sends back the current control value so that the control block can calculate the next control value or track the current value if the AO block is not controlled by that control block. An AO block has bi-directional data flow. One (forward path) is the flow from control value input to Transducer Block; the other (backward path) is the flow from Transducer Block to the control value. Figure 3.5 shows the AO block structure.
AO Block CAS_IN RCAS_IN BKCAL_OUT Scaling RCAS_OUT SIMULATE Set point selection Scaling CHANNEL
Figure 3.5
AO Block
Forward path
The control value from the controller becomes the set point, SP. AO block has several paths to calculate SP, depending on the block mode. In CAS mode, it is calculated from CAS_IN, subscribed from the publishing controller. In AUTO mode, SP value is given by on-demand Write request to SP. In RCAS (remote cascade) mode, remote controller gives data to RCAS_IN. In CAS or RCAS mode, CAS_IN or RCAS_IN is scaled by PV_SCALE for the controller and then XD_SCALE for the Transducer Block. In most cases those parameters have the same unit, e.g., %, and those scales can be simply 0 and 100 for EU@0% and EU@100%. Before calculating SP, CAS_IN or RCAS_IN goes through limiting functions, boundary limit and rate limit. For boundary limit, the value is replaced with PV_HI_LIM (PV_LO_LIM) if the value is larger (smaller) than the limit. For rate limit, difference of current CAS_IN or RCAS_IN from the previous value is greater than SP_RATE_HI (or SP_RATE_LO to decrease); another value with limited rate is used to calculate PV. SP becomes OUT if the communication is going well. If the controller disappears, OUT does not change. Or it goes to the predefined fault-state and may be replaced with FSTATE_VAL if options are appropriately selected. OUT is given to the Transducer Block though CHANNEL.
TI 38K02A01-01E
Mar.20,2003-00
3-17
Backward Path
Current position of actuator, like control valve, is manipulated through the backward path. Current position is fed to READBACK in transducer block unit (XD_SCALE) and then converted into the same unit of SP (PV_SCALE). Thus PV shows the valve position in SP unit. BKCAL_OUT shows the current valve position (target or actual) to PID block. The value of SP (target position) is usually fed to BKCAL_OUT. It is possible to feed PV to BKCAL_OUT to include valve characteristics into the control loop (Note: this is not common in process automation).
Fault State
Fault State is prepared for very critical processes, where control valves need to be shut or open when the upstream block is unavailable (gives BAD status) for a pre-determined time interval.
Modes
An AO block can be in one of O/S, MAN, LO (Local Override), AUTO, CAS (cascade), RCAS (Remote cascade) and ROUT (Remote output).
IMPORTANT
It is necessary to bring the AO block into CAS mode to set both CAS and AUTO bits in MODE_BLK.Target.
Application Application AO1: Control with current target position Application AO2: Control with current valve position
TI 38K02A01-01E
Mar.20,2003-00
3-18
Application AO2
T030304.EPS
*1: *2:
For the information about CHANNEL, refer to the device instruction manual or the device Capabilitties file (CF). This configuration is for typical applications where control valves should remain at the current position when the data from the controlling block becomes bad by communication error or block malfunction. If the process is very critical and the valve must come to a pre-defined position when the control data is not available, use Fault State option. Set Fault state to Value + Use Fault state Value in restart of IO_OPTS. Give the safety position to FSTATE_VAL and the time to go to Fault State in seconds to FSTATE_TIME. User must set the Fault State Supported bit in FEATURES_SEL of the Resource Block. See also note *1 for Resource Block in Table 3.8.
IMPORTANT
The numbers in front of the parameter names of the recommended parameter values show the index offset from the block header. The parameters (or components) in the grayed columns are often initialized on shipping to useless values by some vendors, to prevent a Function Block from being operational. Such parameters must be set to meaningful values as listed in the table.
TI 38K02A01-01E
Mar.20,2003-00
3-19
3.3.3
PID block
A PID Block is a standardized model of PID control function. The process value comes through the IN parameter and its control output is the OUT parameter. Other input/output parameters exist to provide various control schemes, for example cascade control. Figure 3.6 shows the PID block architecture.
PID Block BKCAL_IN ROUT_IN Bypass CAS_IN RCAS_IN BKCAL_OUT RCAS_OUT IN FF_IN Filter Feed Forward ROUT : Remote OUT FF : Feedforward Set point selection OUT Control Output ROUT_OUT
F030303.EPS
Figure 3.6
PID Block
Modes
A PID block can be in various modes, O/S, MAN, IMAN (Initialize Manual), LO (Local Override), AUTO, CAS (cascade), RCAS (Remote cascade) and ROUT (Remote output). Several new modes are important:
IMAN
A PID block comes to IMAN mode when the downstream AO block does not accept control from the PID (e.g., O/S, MAN or LO mode). The PID block tracks to BKCAL_OUT, which is the current output of AO block.
Normal Mode
Normally the mode of the PID block is AUTO (closed loop) or CAS (cascaded loop). O/S and MAN may be used for operation.
TI 38K02A01-01E
Mar.20,2003-00
3-20
Set Point
A PID block accepts the control set point via several methods depending on its mode. The following two parameters are important.
SP
The set point to SP parameter can be directly written when MODE_BLK.Target is AUTO, MAN or O/S.
CAS_IN
In CAS mode, the PID block receives set point through the CAS_IN parameter. It must come from an upstream Function Block and the current set point is returned through BKCAL_OUT parameter.
PID Parameters
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. It has another PID parameter, BAL_TIME, which can be left zero (0).
TI 38K02A01-01E
Mar.20,2003-00
3-21
Application PID2
Application PID1
dynamic dynamic dynamic Normal Shed Normal Return (1) dynamic dynamic 100 0 % 1 dynamic dynamic dynamic
*1: *2:
For Application PID2, add [SP-PV track in MAN+SP-PV track in LO or IMAN+SP-PV track in ROUT] to CONTROL_OPTS. Add [Target to next permitted mode if BAD CAS_IN] to STATUS_OPTS if users tool is able to show this new option (from FF 1.4).
IMPORTANT
The numbers in front of the parameter names of the recommended parameter values show the index offset from the block header. The parameters (or components) in the grayed columns are often initialized on shipping to useless values by some vendors, to prevent a Function Block from being operational. Such parameters must be set to meaningful values as listed in the table.
TI 38K02A01-01E
Mar.20,2003-00
3-22
3.3.4
Parameter Mnemonic 1. ST_REV 2. TAG_DESC 3. STRATEGY 4. ALERT_KEY 5. MODE_BLK Target Actual Permitted Normal 6. BLOCK_ERR 7. RS_STATE 8.TEST_RW 9. DD_RESOURCE 10. MANUFAC_ID 11. DEV_TYPE 12. DEV_REV 13. DD_REV 14. GRANT_DENY 15. HARD_TYPES 16. RESTART 17. FEATURES 18. FEATURE_SEL 19. CYCLE_TYPE 20. CYCLE_SEL
*1:
Do not set Fault State Supported bit of FEATURES_SEL unless user definitely needs Fault State. See also note *2 for AO block in Table 3.5.
IMPORTANT
The numbers in front of the parameter names of the recommended parameter values show the index offset from the block header. The parameters (or components) in the grayed columns are often initialized on shipping to useless values by some vendors, to prevent a Function Block from being operational. Such parameters must be set to meaningful values as listed in the table.
TI 38K02A01-01E
Mar.20,2003-00
3-23
Value dynamic
Parameter Mnemonic
Written by calibrator Written by calibrator fixed Written by calibrator fixed fixed fixed Written by calibrator Written by calibrator Written by calibrator Written by calibrator fixed fixed dynamic
T030308.EPS
Note: This table shows typical Transducer Block parameters. Since Transducer Block parameters depend on the physical principle, users Transducer Block may have different parameters. In any case, do not forget to set STRATEGY, ALERT_KEY and MODE_BLOCK to above values.
IMPORTANT
The numbers in front of the parameter names of the recommended parameter values show the index offset from the block header. The parameters (or components) in the grayed columns are often initialized on shipping to useless values by some vendors, to prevent a Function Block from being operational. Such parameters must be set to meaningful values as listed in the table.
TI 38K02A01-01E
Mar.20,2003-00
3-24
3.3.5
Unit Codes
Fieldbus Foundation has specified numeric codes for engineering units. Here is an extract of important ones. It is much better to manipulate units with their unit text provided by DD instead of numeric expressions like this. They are listed here for the convenience in case the human-machine interface provides raw data expressions only. Refer to the Foundation document for missing units.
TI 38K02A01-01E
Mar.20,2003-00
3-25
flow code 1322 1330 1351 1352 1353 1356 1357 1358 1363 volume unit m3 cm3 mm3 l cl ml kl in3 ft3 yd3 pint quart gallon bushel barrel unit kg/s lb/s l/s l/min l/h CFS CFM CFH GPM
temperature code 1000 1001 1002 length code 1010 1011 1012 1013 1018 1019 1020 1021 area code 1023 1024 1025 1027 1030 1031 1032 1033 electricity code 1209 1211 1234 1240 1242 1243 1281 1284 time unit s s min h d unit A mA V/m V kV mV k unit m2 km2 cm2 mm2 in2 ft2 yd2 mile2 unit m km cm mm feet inch yard mile unit K C F
TI 38K02A01-01E
Mar.20,2003-00
3-26
3.4
3.4.1
System Management
System Management is an important application for all Foundation devices. It manages device information and its behavior in a FOUNDATION Fieldbus system.
Device Management
A device on FOUNDATION Fieldbus can be identified from others by using one of three identifiers: Device Identifier (ID): A text string unique to the device in the world given by the manufacturer. It is burnt into the device and will never change.
Physical Device (PD) Tag: A unique name in the plant or a set of Fieldbus segments, assigned by the user. It is used to identify a device for a specific application purpose in the plant.
(Physical) Node Address: A number of eight-bit length, unique in a Fieldbus segment assigned by the user through network configuration.
Device ID is unique to the device and the same Device ID does not exist elsewhere in the world. It is given by the manufacturer and therefore good for management purposes. PD Tag is assigned by the user to identify usage of the device in the plant. It is a text field 32 characters long (*1). It is common practice to give the same PD Tag to a new device replacing old broken device. Since Device ID and PD Tag are very long (32 bytes (*1)), they should not be used in daily communication, especially in the 31.25 kbps low speed network. Instead, Node Address is used to identify devices in communication. Services to correlate these three identifiers are provided. For example, a pressure transmitter is shipped with a permanent Device ID 59454300031999DEC22001102344 and configured to have PD Tag FI1001 and node address 0xF5. System Management Agent in a field device responds to System Management Kernel Protocol (SMKP) requests from a manager to configure the device. Its functionality is: To know information on a device at a specific address, including Device ID, manufacturer, device name and type, To clear and set the node address of the device using a specific Device ID, To clear and give a PD Tag to a device, and To find a device of specific PD Tag.
Note that even when a node address of a device is cleared, it must be able to join communication. For that purpose, a special address range (0xF8 to 0xFB) is prepared and a device without address can join the network using one in this address range.
*1: In a CENTUM Fieldbus system, the name of Physical Device (PD) Tag can be up to 16 alphanumeric characters.
TI 38K02A01-01E
Mar.20,2003-00
3-27
3.4.2
3.4.3
TI 38K02A01-01E
Mar.20,2003-00
3-28
3.5
3.5.1
Device Description
Device Description (DD) provides information on blocks. A function block parameter can be read by name and displayed properly according to its data type and display specification. This is very useful in handling enumerated parameters; for example, psi is used instead of its code value 1141. Whenever a new device is introduced, its full functionality can be used by simply installing its DD without updating host software. DD Method can be run for a dedicated procedure (sequence of communications) for calibration, diagnosis and so on. DD Menu shows a list of DD Methods. DD is useful for human-machine interface, system configuration and maintenance. Figure 3.7 shows an example of display using Device Description (DD). The features of DD function are as follows. Gives information on parameters especially non- standards parameters. - Name and explanation - Data structure and attribute - Access right - Help menu - Calibration methods, etc. Enables a standard screen show a new device.
Device Descriptions are provided from vendors and distributed from the Fieldbus Foundation
F030501.EPS
Figure 3.7
TI 38K02A01-01E
Mar.20,2003-00
3-29
Foundation Specification Block formal model Resource block Transducer block AI AO PID
Extension
Extension
Extension Individual DD
Extension
Extension
F030502.EPS
Figure 3.8
TI 38K02A01-01E
Mar.20,2003-00
3-30
TI 38K02A01-01E
Mar.20,2003-00
3-31
3.5.2
Capabilities File
Capabilities File gives the information about the device capability of both Network/System Management and Function Block. Though certain parts of the information reside in the device itself, this file is useful for offline configuration where a Fieldbus system is configured without having real devices. A Capabilities file has an extension .cff. Capabilities file is often called CFF, which stands for Common File Format. Figure 3.9 shows how common files are used during the system design and maintenance.
Uploaded value file Value file to download Handheld communicator Capabilities file for system design
A new device
Manufacturer site
Downloader
DD
User site
F030503.EPS
Figure 3.9
TI 38K02A01-01E
Mar.20,2003-00
Blank Page
4-1
4.
LT
LIC-210 LIC
FIC FIC-210
Product CV-204
Figure 4.1
TI 38K02A01-01E
Mar.20,2003-00
4-2
4.1
Planning Phase
When starting to plan this project, the initial cost minimization of the project may be wanted. However the plant will probably last for decades and so the overall cost of the plant must also be considered. Fieldbus is not an exception. It is preferable to create a design with sufficient margin to reduce the future risk. First, devices should be counted. Table 4.1 shows the number of devices in the example of a portion of distillation tower control using Fieldbus. Table 4.1 shows also Yokogawas device models and their maximum current consumption.
Table 4.1 Number of Devices in Example of a Portion of Distillation Tower Process Control Using Fieldbus Devices Device model (in case of Yokogawas device) EJA110 EJA110 EJA430 YTA310 YVP110 Average current of device (mA) (in case of Yokogawas device) 16.52 = 33 16.52 = 33 16.5 16.5 172 = 34 Total: 133 (average value)
T040101.EPS
Number
2 2 1 1 2 Total: 8
Flow transmitter Level transmitter Pressure transmitter Temperature transmitter Valve positioner (for control valve)
TI 38K02A01-01E
Mar.20,2003-00
4-3
4.1.1
Devices on a Bus
How many devices should be installed on a Fieldbus segment? Since this example project is a brand new plant, the installation of all devices on a segment may be wanted. Before reaching final decision, the conditions to limit the number of devices should be studied.
Communication Specifications
The Physical Layer restricts the number of devices as follows. The Data Link Layer specifies the address to 8-bit length. Because some of these are reserved for special purposes, the actual address range for field devices is 232. This value is still large enough and need not be considered.
In this example, the total average current of devices cannot be supplied by one barrier, so that two Fieldbus (two segments (*3)) and two barriers are used.
*1: *2: *3: Some vendors show the maximum power supply capacity as the specification. In this case, confirm that the maximum power supply capacity is lager than the total average current consumption plus 10 mA (signal amplitude). Assume an average current consumption of 20 mA (actually 20 mA +/- 10 mA (signal ampletude)) for field devices whose types have not yet been decided. A segment is an engineering unit consisting of several Fieldbus devices and a host interface to be connected to one Fieldbus. A Fieldbus system consists of multiple Fieldbus segments.
TI 38K02A01-01E
Mar.20,2003-00
4-4
Application Interaction
Interacting Function Blocks should be placed on one segment to avoid Function Block linkage over a bridge. A control loop is an example. Application interaction needs communication services over the Fieldbus. The greater the interaction between Function Blocks, the higher the communication demand. If the communication throughput is not fast enough to transfer all the data, this would also limit the number of devices on the Fieldbus. A rough and safe estimation is as follows. Count the number of Function Block linkages in different devices (number of Publishers), NP. Count the number of blocks to communicate for human-machine interface, NC. Add two numbers to multiply 40 ms (*1). TLOAD = (NP + NC) 40 ms If the product in milliseconds is greater than 70% (*2) of the control period (macro cycle), this configuration is risky and some devices should be removed. A detailed throughput analysis should be performed in the system design phase (see Section 4.1.3). In the example project, there are 6 AI blocks, 2 AO blocks and 3 PID blocks. Assuming that a control valve has a PID block and a level transmitter has another PID for cascade control, 7 (5+2) for NP (5 AI blocks excluding one for cascade, and two-way communication between cascading PID blocks) and 11 for NC (6AI + 2 AO + 3 PID for human-machine interface) are obtained. TLOAD is 720 ms. Therefore, from the standpoint of application interaction, process control for this example should be performed by two Fieldbus (two segments) if control must be performed within one second.
*1: *2: 40 ms is the average value of the marketed Fieldbus devices. The actual values should be checked by the using devices. 70% is the example for the application using Publisher-Subscriber Communication in Yokogawa CENTUM Fieldbus system. When the applications using Client-Server Communication, there are cases designed under 70% (for example 50%) of the control period (macro cycle).
Risk Management
If a device on the Fieldbus fails, there is a slight possibility that it destroys the segment communications. In the worst case, no measured values can be accessible through the Fieldbus and the control activities may be interrupted. The same situation can happen by a loose wire or short circuits of the Fieldbus cable. It is highly recommended to limit the number of control loops on a Fieldbus segment to avoid a serious situation caused by this type of worst mode failure.
TI 38K02A01-01E
Mar.20,2003-00
4-5
4.1.2
Wiring Design
The next step is to design wiring. The wiring design rules should be reviewed first. Rule 1: The number of devices on a Fieldbus shall be between 2 and 32. Rule 2: Cable shall be individually-shielded twisted pair (type A) 18 AWG wires. Rule 3: The total cable length shall not exceed 1900 m (including total spur length). Rule 4: The maximum total spur length shall not exceed 120 m. Rule 5: When overall-shielded twisted pair (type B) 22 AWG wires are used, the total length shall not exceed 1200 m. Table 2.1 shows the Fieldbus cable type and the transmission length, and Table 2.2 shows the number of devices and recommended maximum total spur lengths (*1). In the case of the example project, type A cables for trunk are used. Measure the each spur length from the junction box to devices. Assign devices to the segment within the 120m limit of total spur length. Make sure that the devices used to form control loops are on the same segment. In the case of the example project, two segments (100 and 200 Tag numbers in Figure 4.1) are used. Now the cables and accessories (conduit, mating connectors, etc.) can be ordered. Assign field devices tags to identify to which segment they should be connected. Figure 4.3 shows the wiring for this example.
*1: Refer to note *1 in Section 2.2.3.
TI 38K02A01-01E
Mar.20,2003-00
4-6
4.1.3
System Design
Now devices and Function Blocks used on each segment are listed. Connect all AI Function Blocks except the ones on LI-101, LI-202 and FI-203 to the monitoring application on the host Control loops are combinations of AI, PID and AO blocks. Figure 4.2 shows their connection for cascade level control. The PID block in the valve controls the flow (FIC210) while that in the level transmitter controls the level (LIC210). Target modes are also shown.
AUTO (Target mode) CAS (Target mode)
AI
PID
OUT
OUT
AO
CAS_IN BKCAL_OUT
AI
PID
OUT
OUT
Figure 4.2
Determine block parameters as explained in Section 3 of this textbook. The configuration software generates other parameters for communication. Display the generated schedule to see how busy the Fieldbus is.
TI 38K02A01-01E
Mar.20,2003-00
4-7
4.2
Installation Phase
The installation period can be decreased by using the remote-configuration feature of Fieldbus devices. Engineers do not have to go to the field as frequently as they did with traditional 4 to 20 mA devices.
4.2.1
Installation
Device installation is completely the same as for 4 to 20 mA devices using installation and wiring drawings. It is recommended to assign PD tags to the devices before installation so that the device of the correct tag is installed at the correct location in the plant. Trunk wiring is the cable with terminators in each end. The other part is called spur and should be within 120 m in total. Wiring from junction box to devices can be a tree (or chicken-foot) topology if the spur length is within this limit. Figure 4.3 shows the wiring plan example.
HMI
Host I/F Junction box Terminators PT-201 PT TT-205 TT LT-202 Barrier (with FF power conditioner) D101 T101 FIC FIC-210 FT-203 FT LT-101 LT LIC-110 FIC CV-204
LT
LIC-210 LIC
FT FT-103 CV-102
F040201.EPS
Figure 4.3
Example of Wiring for a Portion of Distillation Tower Process Control Using Fieldbus
TI 38K02A01-01E
Mar.20,2003-00
4-8
4.2.2
Commissioning
After connecting devices to the wire, turn on the power supply to check whether all devices are operational. If they dont have correct tag or address, assign them with the appropriate configuration software. Download the configuration to all devices as well as the host interface module. All input values should be visible on the host screen. The plant may not be operational yet at the time of commissioning. Simulation function is useful for this purpose. Turn on the simulation switch in a device. The location of the switch should be explained in the device instruction manual. Write Enable to Simulate.DisEnable parameter of AI and AO blocks, then the blocks will use values and statuses that users write in the simulation fields. Now it can be checked that the display and control loops indicate the correct value as designed. Do not forget to disable the simulate hardware switch after the commissioning.
4.2.3
TI 38K02A01-01E
Mar.20,2003-00
4-9
4.3
4.3.1
Operation Phase
The operation phase should not change from traditional system.
Control Operation
During the operation phase, operators must be able to watch the plant operation and take over the control if needed. Input monitoring, loop display, manual operations, and process alarm display are available through the host human-machine interface. There is no change from traditional control and the operators need no additional training.
TI 38K02A01-01E
Mar.20,2003-00
4-10
4.4
Maintenance Phase
Once the plant is in operation, it is in the maintenance phase at the same time. Users should be able to maintain the Fieldbus control system during plant operation. DD-based software is helpful for daily maintenance such as calibration and pH electrode cleaning.
4.4.1
Device Alarms
When a device detects a problem in its operation, it reports a device alarm to users. This might be the sensor burnt out, loss of air, a leak or something else. Before going to the device location, users can now see what the alarm is by opening the diagnosis window and see the reported alarms. The device may also provide more information in the Resource Block or Transducer Block. An electronic manual may be useful and the diagnostic software shows the details of the problem in text retrieved from the DD.
4.4.2
TI 38K02A01-01E
Mar.20,2003-00
4-11
4.4.3
Asset Management
Acquiring information about devices in the field will be wished. When doing any maintenance, a record of what is done to the device should be kept. When a device malfunctioned, a replacement should be found. A software package is useful for managing such information concerning users assets, as well as for planning plant shutdown for preventive maintenance. Figure 4.4 shows an example of the display of Yokogawa Plant Resource Manager (PRM) software as an example of a Plant Asset Management (PAM) package.
Plant Resource Manager R2.03.00 - Logon User ID: ADMINISTORATOR File Edit View Register Option Window Help
Device Navigator 1
Plant
Network
Class
History
Details
Memo
Parts
Schedule
Doc
Parameter
Tool
PLUG-IN
PLANT Foundation Fieldbus BOILER-0101-10111-1 R302DME-103-10113-1 DAQSTATION(Ready) EJA001 (Ready) FI1002 (Ready) YHL001 (Ready) YTA001 (Ready) YVP001(Ready)
HART
Individual
All
View1
View2
View3
View4
Alarm
Tune
Operate
Service
Diagnosic
Current
...
<<
05/07/2002 14:02:48
...
TRANSDUCTER_STATUS Good_NonCascade::NonSpecific: TRANSDUCTER_VALUE ENABLE_DISABLE PV_SCALE EU_100 EU_0 100.000000 0.000000 26.468300 Disabled
100.000000 0.000000
% %
Ready
Rows 1of 1
2/17/2003
F040401.EPS
Figure 4.4
TI 38K02A01-01E
Mar.20,2003-00
4-12
4.5
4.5.1
Renovation Phase
When planning to renovate the plant, the plant shutdown period can be shorten by using the online upgrade feature of Fieldbus.
Addition of Applications
Suppose addition of temperature measurement is planned at two points, the top and mid position of the tower T101. The IS barrier for 100 Tag numbers in Figure 4.3 has enough capacity for additional devices. Since wiring is designed with a good margin, two transmitters can be added to the existing Fieldbus segment of the 100 Tag numbers. Install them on the plant and connect them to the Fieldbus using additional spurs with the same care as for device replacement. Add them to the applications and download configurations to the devices. If the device addition does not change the control strategy, this addition does not affect other devices and therefore two transmitters can be added without disturbing the plant operation.
4.5.2
Device Upgrade
Suppose users wish to upgrade existing smart transmitters to Fieldbus-ready transmitters and to add them to the existing Fieldbus segments. If the device vendor provides upgrade kits for upgrading from smart to Fieldbus, the installed instruments need not be removed from the plant; users simply need to replace the necessary electronics parts for the upgrade, and can then add these devices as additional devices to the Fieldbus as explained in the previous section. Several Fieldbus devices support field software upgrade, providing greater upgrade functionality. Follow the instruction of the device vendor.
TI 38K02A01-01E
Mar.20,2003-00
<Acronyms>
A-1
Acronyms
AC AI AO AP APL ASN.1 AUTO AWG BG BNU CCITT CAS CD CEP CF CFF CL COTS CPU CS CT DC DC DC DCS DD DDL DDS Device ID DI DLCEP DLL DLSAP DT DT DO EC Alternating Current Analog Input Function Block Analog Output Function Block Application Process Application layer Abstract Syntax Notation 1 Automatic mode American Wire Gauge Bias/Gain Station Block Buffered Network-Scheduled Unidirectional International Telegraph and Telephone Consultative Committee Cascade mode Compel Data DLPDU Connection Endpoint Capabilities File Common File Format Claim LAS DLPDU Commercial off the Shelf Central Processing Unit Control Selector Function Block Compel Time DLPDU Direct Current Disconnect Connection DLPDU Device Control Block Distributed Control System Device Description Device Description Language Device Description Service Device Identifier Discrete Input Function Block Data Link Connection End Point Data Link Layer Data Link Service Access Point Data Transfer DLPDU Dead Time Function Block Discrete Output Function Block Establish Connection DLPDU
TI 38K02A01-01E
Mar.20,2003-00
<Acronyms>
A-2
EU EUC ETS FAS FB FB FCS FDA FF FMS Gbps (Gbit/s) HMI ID IEC IMAN IP IS ISA ISO IT IT kbps (kbit/s) kHz LAN LAS LL LM LO LS mA MAC MAI MAN MAO Mbps (Mbit/s) MDI MDO ML NM NMIB
Engineering Unit End User Council Enterprise Technology Solutions Fieldbus Access Sublayer Fieldbus Function Block Frame Check Sequence Field Device Access Fieldbus Foundation Fieldbus Message Specification Gigabit per second Human Machine Interface Identifier International Electrotechnical Commission Initialize Manual mode Internet Protocol Intrinsic Safety The Instrumentation, Systems and Automation Society International Organization of Standard Information Technology Integrator Function Block Kilobit per second Kilohertz Local Area Network Link Active Scheduler Lead Lag Function Block Link Master Local Override mode Time Link Scheduling Time Milliampere Medium Access Control Multiple Analog Input Block Manual mode Multiple Analog Output Block Megabit per second Multiple Discrete Input Block Multiple Discrete Output Block Manual Loader Function Block Network Management Network Management Information Base
TI 38K03A01-01E Mar.20,2003-00
<Acronyms>
A-3
OD OS O/S OSI PC PCI PD PDU PD PHL (PHY) PID PLC PN PR PT PV QUB QUU RA RB RCAS RI ROUT RQ RR RT SC SDU SM SMIB SMKP SP SP50 TB TCO TCP TD TL UDP VCR
Object Dictionary Output Splitter Block Out of Service mode Open System Interconnect Personal Computer Protocol Control Information PD Control Function Block Protocol Data Unit Tag Physical Device Tag Physical Layer PID Function Block Programmable Logic Controller Probe Node DLPDU Probe Response DLPDU Pass Token DLPDU Process Value Queued User-Triggered Bidirectional Queued User-Triggered Unidirectional Ratio Station Block Resource Block Remote Cascade mode Request Interval DLPDU Remote Output mode Round-trip Time Query DLPDU Round-trip Time Response DLPDU Return Token DLPDU Signal Characterizer Block Service Data Unit System Management System Management Information Base System Management Kernel Protocol Set Point Standard and Practice committee 50 Transducer Block Total Cost of Ownership Transfer Control Protocol Time Distribution DLPDU Transfer LAS DLPDU User Data Protocol Virtual Communication Relationship
TI 38K02A01-01E Mar.20,2003-00
<Acronyms>
A-4
TI 38K03A01-01E
Mar.20,2003-00
Ind-1
INDEX
Symbols
31.25 kbps Physical Layer .................................. 2-6 Device Description Service ............................... 3-30 Device Information Files .................................... 3-28 Device Management ......................................... 3-26 Device Upgrade ................................................ 4-12 Devices on a Bus ................................................ 4-3 Domain Management ....................................... 2-26 Dynamic or Static ................................................ 3-8
A
Access Right ....................................................... 3-8 Addition of Applications ..................................... 4-12 Addresses ........................................................ 2-12 AI block ............................................................. 3-11 Alarm Generation ............................................. 3-12 AO block ........................................................... 3-16 Application Interaction ......................................... 4-4 Application Layer .............................................. 2-18 Application Time Management .......................... 3-27 Application Time Synchronization ..................... 2-28 Asset Management ........................................... 4-11
E
Event Management ........................................... 2-25
F
Fault State ........................................................ 3-17 Field Device Access Protocol ............................ 2-29 Fieldbus Access Sublayer ................................. 2-18 Fieldbus Applications .......................................... 3-1 Fieldbus Benefits ................................................ 1-3 Fieldbus Communication Technologies ............... 2-1 Fieldbus Message Specification ........................ 2-22 FMS Objects ..................................................... 2-23 FMS Services ................................................... 2-25 Forward path ..................................................... 3-16 FOUNDATION Fieldbus ...................................... 1-5 Function Block .................................................... 3-2 Function Block Management ............................. 3-27 Function Blocks .................................................. 3-3
B
Backward Path .................................................. 3-17 Block Mode ......................................................... 3-9
C
Capabilities File ................................................ 3-31 CAS_IN ............................................................ 3-20 Channel Value .................................................. 3-12 Client-Server Model .......................................... 2-19 Commissioning ................................................... 4-8 Communication Models ...................................... 2-2 Communication Specifications ............................ 4-3 Communication through VCR .............................. 2-5 Contained Parameters ........................................ 3-7 Control Operation ............................................... 4-9
H
High Speed Ethernet ........................................ 2-29
D
Data Link Layer ................................................. 2-11 Data Link PDUs ................................................ 2-17 Device Alarms .................................................. 4-10 Device Description ............................................ 3-28
TI 38K02A01-01E
Mar.20,2003-00
Ind-2
R
Recommended Parameter Values ... 3-13, 3-17, 3-20 Renovation Phase .................................... 1-4, 4-12 Replacing a Faulty Device ................................. 4-10 Resource Block ................................................... 3-2 Resource Block and Transducer Block .............. 3-22 Risk Management ............................................... 4-4
I
IMAN ................................................................ 3-19 Important Blocks ............................................... 3-11 Important Parameters ......................................... 3-9 Input Parameters ................................................ 3-7 Installation .......................................................... 4-7 Installation Phase ....................................... 1-3, 4-7 Intrinsic Safe (IS) Consideration ........................ 2-10
S L
Link Active Scheduler ....................................... 2-14 Link and Schedule .............................................. 3-6 Link Maintenance .............................................. 2-17 Low-pass Filter ................................................. 3-12 Scaling and Square Root Calculation ................ 3-12 Scaling Parameters ............................................. 3-9 Scheduled Communication ............................... 2-15 Set Point ........................................................... 3-20 Signaling Method ................................................ 2-7 Simulation ......................................................... 3-12 Source-Sink Model ........................................... 2-21 SP .................................................................... 3-20 Startup and Test Operation ................................. 4-8 Status of a parameter .......................................... 3-8 Study for Example Project ................................... 4-4 System Design ................................................... 4-6 System Management ........................................ 3-26 System Management Protocol .......................... 2-28
M
Maintenance Phase .................................. 1-4, 4-10 Managing Fieldbus Projects ................................ 4-1 Medium Access Control .................................... 2-11 Modes .................................................... 3-17, 3-19
N
Normal Mode .................................................... 3-19
O
Object Dictionary .............................................. 2-24 Object Examples .............................................. 2-23 Operation Phase ......................................... 1-4, 4-9 OSI Reference Model ......................................... 2-2 Other Services .................................................. 2-27 Output Parameters .............................................. 3-7 Overview of Fieldbus .......................................... 1-1
T
Tag and Address Assignment ........................... 2-28 Tag Location ..................................................... 2-28 TCP/IP Protocol Suite ....................................... 2-29 Transducer Block ................................................ 3-5
U
Unit Codes ........................................................ 3-24 Unscheduled Communication ........................... 2-16
P
Parameter Attributes ........................................... 3-8 Parameter Classes ............................................. 3-7 Parameters ......................................................... 3-7 Permitted Modes ............................................... 3-12 Physical Layer ..................................................... 2-6 PID block .......................................................... 3-19 PID Parameters ................................................ 3-20 Planning Phase .......................................... 1-3, 4-2 Power Supply and IS Barrier ............................... 4-3 Program Invocation ........................................... 2-26 Protocol Data Unit ............................................... 2-4 Publisher-Subscriber Model .............................. 2-20
V
Variable Access ................................................ 2-25 VFDs in a Fieldbus Device .................................. 3-1 View Objects ..................................................... 3-10 Virtual Field Device (VFD) ................................. 2-22 Virtual Field Devices ........................................... 3-1
TI 38K02A01-01E
Mar.20,2003-00
Ind-3
W
What are DDL and DD? .................................... 3-29 What is a Function Block? ................................... 3-2 What is Fieldbus? ............................................... 1-1 Why Ethernet? .................................................. 2-29 Wiring Design ..................................................... 4-5 Wiring Rules ....................................................... 2-8
TI 38K02A01-01E
Mar.20,2003-00
Blank Page
Revision Information
Title : FOUNDATION Fieldbus Book A Tutorial Manual No. : TI 38K02A01-01E May 2001/1st Edition Newly published March 2003/2nd Edition Title Changed the title from Fieldbus Book A Tutorial to FOUNDATION Fieldbus Book A Tutorial For all sections Revised the section numbering and updated the contents Introduction Started with Introduction Added Structure and Target Readership of This Textbook Transferred the content of Introduction of 1st Edition into Structure and Target Readership of This Textbook 2.2.2 Revised the explanation about the electric equivalent circuit 2.2.3 Revised the description of wiring rules 3.2.1 Updated the list of Function Block (Table 3.1) 3.3.5 Corrected some unit codes 4 Revised the example project and the all descriptions related the example project 4.1.1 Added the consideration for the power supply capacity of Intrinsic Safe (IS) barrier in the Section Power Supply and IS Barrier Updated the description of the Section Application Interaction
TI 38K02A01-01E
Mar.20,2003-00
Written by
Product Marketing Dept. Industrial Automation Systems Business Division Yokogawa Electric Corporation Published by Yokogawa Electric Corporation 2-9-32 Nakacho, Musashino-shi, Tokyo 180-8750, JAPAN Printed by Yokogawa Graphic Arts Co., Ltd.