YOKOGAWA ADMAG AE User's Manual

User's Manual
ADMAG AE Magnetic Flowmeter Fieldbus Communication Type
IM 1E7F1-01E
IM 1E7F1-01E
5th Edition
CONTENTS
Contents
1. INTRODUCTION............................................................................................1-1
Regarding This Manual............................................................................ 1-1
Warranty................................................................................................... 1-1
Safety Precautions................................................................................... 1-2
2. AMPLIFIER FOR FIELDBUS COMMUNICATION ....................................... 2-1
3. ABOUT FIELDBUS .......................................................................................3-1
3.1 Outline ................................................................................................. 3-1
3.2 Internal Structure of ADMAG AE ........................................................ 3-1
3.2.1 System/network Management VFD ............................................. 3-1
3.2.2 Function Block VFD ..................................................................... 3-1
3.3 Logical Structure of Each Block.......................................................... 3-1
3.4 Wiring System Configuration .............................................................. 3-1
4. GETTING STARTED..................................................................................... 4-1
4.1 Connection of Devices ........................................................................ 4-1
4.2 Host Setting......................................................................................... 4-2
4.3 Bus and ADMAG AE Power ON......................................................... 4-2
4.4 Integration of DD................................................................................. 4-3
4.5 Reading the Parameters ..................................................................... 4-3
4.6 Continuous Record of Values ............................................................. 4-3
4.7 Generation of Alarm............................................................................ 4-3
5. CONFIGURATION.........................................................................................5-1
5.1 Network Design................................................................................... 5-1
5.2 Network Definition ............................................................................... 5-1
5.3 Definition of Combining Function Blocks ............................................ 5-2
5.4 Setting of Tags and Addresses .......................................................... 5-3
5.5 Communication Setting ....................................................................... 5-4
5.5.1 VCR Setting .................................................................................. 5-4
5.5.2 Function Block Execution Control ................................................ 5-5
5.6 Block Setting ....................................................................................... 5-5
5.6.1 Link Object ................................................................................... 5-5
5.6.2 Trend Object ................................................................................. 5-6
5.6.3 View Object .................................................................................. 5-6
5.6.4 AI Function Block Parameters ..................................................... 5-8
5.6.5 Transducer Block Parameters ...................................................... 5-9
6. IN-PROCESS OPERATION ..........................................................................6-1
6.1 Mode Transition .................................................................................. 6-1
6.2 Generation of Alarm............................................................................ 6-1
6.2.1 Indication of Alarm ....................................................................... 6-1
6.2.2 Alarms and Events ....................................................................... 6-1
6.3 Simulation Function............................................................................. 6-2
FD No. IM 1E7F1-01E 5th Edition: Aug. 2004(KP) All Rights Reserved, Copyright © 2000, Yokogawa Electric Corporation
CONTENTS
7. DEVICE STATUS ..........................................................................................7-1
8. GENERAL SPECIFICATIONS ......................................................................8-1
APPENDIX 1. LIST OF PARAMETERS FOR EACH BLOCK OF THE
ADMAG AE .................................................................. A-1
A1.1 Resource Block.................................................................................A-1
A1.2 Al Function Block..............................................................................A-3
A1.3 Transducer Block..............................................................................A-5
APPENDIX 2. APPLICATION, SETTING AND CHANGE OF BASIC
PARAMETERS ............................................................. A-7
A2.1 Applications and Selection of Basic Parameters ..............................A-7
A2.2 Setting and Change of Basic Parameters........................................A-8
A2.3 Setting the AI Function Block ........................................................... A-8
A2.4 Setting the Transducer Block ...........................................................A-9
APPENDIX 3. OPERATION OF EACH PARAMETER IN FAILURE MODE. A-10
APPENDIX 4. PID Block ................................................................................. A-12
A4.1 Function Diagram ............................................................................A-12
A4.2 Functions of PID Block ................................................................... A-12
A4.3 Parameters of PID Block ................................................................ A-13
A4.4 PID Computation Details ................................................................A-15
A4.4.1 PV-proportional and -derivative Type PID (I-PD)
Control Algorithm ....................................................................A-15
A4.4.2 PID Control Parameters ......................................................... A-15
A4.5 Control Output .................................................................................A-15
A4.5.1 Velocity Type Output Action ...................................................A-15
A4.6 Direction of Control Action..............................................................A-15
A4.7 Control Action Bypass ....................................................................A-15
A4.8 Feed-forward...................................................................................A-16
A4.9 Block Modes ...................................................................................A-16
A4.9.1 Mode Transitions ....................................................................A-16
A4.10 Bumpless Transfer.......................................................................... A-16
A4.11 Setpoint Limiters ............................................................................. A-17
A4.11.1 When PID Block Is in AUTO Mode ........................................ A-17
A4.11.2 When PID Block Is in CAS or RCAS Mode ........................... A-17
A4.12 External-output Tracking................................................................. A-17
A4.13 Measured-value Tracking ...............................................................A-17
A4.14 Initialization and Manual Fallback (IMAN) ......................................A-18
A4.15 Manual Fallback.............................................................................. A-18
A4.16 Auto Fallback .................................................................................. A-18
A4.17 Mode Shedding upon Computer Failure ........................................A-18
A4.17.1 SHED_OPT.............................................................................A-18
A4.18 Alarms .............................................................................................A-19
A4.18.1 Block Alarm (BLOCK_ALM) ...................................................A-19
A4.18.2 Process Alarms.......................................................................A-19
A4.19 Example of Block Connections....................................................... A-20
A4.19.1 View Object for PID Function Block ....................................... A-20
ii
IM 1E7F1-01E
CONTENTS
APPENDIX 5. LINK MASTER FUNCTIONS .................................................. A-22
A5.1 Link Active Scheduler ..................................................................... A-22
A5.2 Link Master .....................................................................................A-22
A5.3 Transfer of LAS ...............................................................................A-23
A5.4 LM Functions ..................................................................................A-24
A5.5 LM Parameters ...............................................................................A-25
A5.5.1 LM Parameter List .................................................................. A-25
A5.5.2 Descriptions for LM Parameters............................................. A-27
A5.6 FAQs...............................................................................................A-29
iii
IM 1E7F1-01E
1. INTRODUCTION

1. INTRODUCTION

This manual contains a description of the ADMAG AE Magnetic Flowmeter FOUNDATION Fieldbus Communication Type. The FOUNDATION Fieldbus communication type is similar to the BRAIN communication type in terms of basic performance and operation. This manual describes only those topics that are required for operation of the FOUNDATION Fieldbus communication type and that are not contained in the BRAIN communication type instruction manual. Refer to ADMAG AE Magnetic Flowmeter instruction manual IM1E7B0-02E or 1E7C1-E for topics common to the BRAIN communication and FOUNDATION Fieldbus commu­nication types.

Regarding This Manual

•This manual should be passed on to the end user.
• The contents of this manual are subject to change without prior notice.
• All rights reserved. No part of this manual may be reproduced in any form without Yokogawa’s written permission.
• Yokogawa makes no warranty of any kind with regard to this manual, including, but not limited to, implied warranty of merchantability and fitness for a particular purpose.
• If any question arises or errors are found, or if any information is missing from this manual, please inform the nearest Yokogawa sales office.
• The specifications covered by this manual are limited to those for the standard type under the specified model number break-down and do not cover custom-made instrument.
• Please note that changes in the specifications, construction, or component parts of the instrument may not immediately be reflected in this manual at the time of change, provided that postponement of revisions will not cause difficulty to the user from a functional or performance standpoint.

Warranty

•The warranty shall cover the period noted on the quotation presented to the purchaser at the time of purchase. Problems occurred during the warranty period shall basically be repaired free of charge.
• In case of problems, the customer should contact the Yokogawa representative from which the instrument was purchased, or the nearest Yokogawa office.
• If a problem arises with this instrument, please inform us of the nature of the problem and the circumstances under which it developed, including the model specification and serial number. Any diagrams, data and other information you can include in your communication will also be helpful.
• Responsible party for repair cost for the problems shall be determined by Yokogawa based on our investigation.
• The Purchaser shall bear the responsibility for repair costs, even during the warranty period, if the malfunction is due to:
- Improper and/or inadequate maintenance by the purchaser.
- Failure or damage due to improper handling, use or storage which is out of design conditions.
- Use of the product in question in a location not conforming to the standards specified by Yokogawa, or due to improper maintenance of the installation location.
- Failure or damage due to modification or repair by any party except Yokogawa or an approved representative of Yokogawa.
- Malfunction or damage from improper relocation of the product in question after delivery.
- Reason of force majeure such as fires, earth­quakes, storms/floods, thunder/lightening, or other natural disasters, or disturbances, riots, warfare, or radioactive contamination.
FOUNDATION is a registered trademark of Fieldbus FOUNDATION .
1-1
IM 1E7F1-01E
1. INTRODUCTION
WARNING
The Magnetic Flowmeter is a heavy instrument. Please give attention to prevent that persons are injured by carrying or installing. It is preferable for carrying the instrument to use a cart and be done by two or more persons.
In wiring, please confirm voltages between the power supply and the instrumet before connecting the power cables. And also, please confirm that the cables are not powered before connecting.
If the accumulated process fluid may be toxic or otherwise harmful, take appropriate care to avoid contact with the body, or inhalation of vapors even after dismounting the instru­ment from process line for maintenance.

Safety Precautions

• For the protection and safety of the operator and the instrument or the system including the instrument, please be sure to follow the instructions on safety described in this manual when handling this instru­ment. In case the instrument is handled in contradic­tion to these instructions, Yokogawa does not guarantee safety.
• The following safety symbol marks are used in this Manual:
IMPORTANT
Indicates that operating the hardware or software in this manner may damage it or lead to system failure.
NOTE
Draws attention to information essential for understanding the operation and features.
WARNING
Indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury.
CAUTION
Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury. It may also be used to alert against unsafe practices.
1-2
IM 1E7F1-01E
1. INTRODUCTION
ATEX Documentation
This procedure is only applicable to the countries in European Union.
GB
All instruction manuals for ATEX Ex related products are available in English, German and French. Should you require Ex related instructions in your local language, you are to contact your nearest Yokogawa office or representative.
DK
Alle brugervejledninger for produkter relateret til ATEX Ex er tilgængelige på engelsk, tysk og fransk. Skulle De ønske yderligere oplysninger om håndtering af Ex produkter på eget sprog, kan De rette henvendelse herom til den nærmeste Yokogawa afdeling eller forhandler.
I
Tutti i manuali operativi di prodotti ATEX contrassegnati con Ex sono disponibili in inglese, tedesco e francese. Se si desidera ricevere i manuali operativi di prodotti Ex in lingua locale, mettersi in contatto con l’ufficio Yokogawa più vicino o con un rappresentante.
E
Todos los manuales de instrucciones para los productos antiexplosivos de ATEX están disponibles en inglés, alemán y francés. Si desea solicitar las instrucciones de estos artículos antiexplosivos en su idioma local, deberá ponerse en contacto con la oficina o el representante de Yokogawa más cercano.
NL
SF
Kaikkien ATEX Ex -tyyppisten tuotteiden käyttöhjeet ovat saatavilla englannin-, saksan- ja ranskankielisinä. Mikäli tarvitsette Ex -tyyppisten tuotteiden ohjeita omalla paikallisella kielellännne, ottakaa yhteyttä lähimpään Yokogawa-toimistoon tai -edustajaan.
P
Todos os manuais de instruções referentes aos produtos Ex da ATEX estão disponíveis em Inglês, Alemão e Francês. Se necessitar de instruções na sua língua relacionadas com produtos Ex, deverá entrar em contacto com a delegação mais próxima ou com um representante da Yokogawa.
F
Tous les manuels d’instruction des produits ATEX Ex sont disponibles en langue anglaise, allemande et française. Si vous nécessitez des instructions relatives aux produits Ex dans votre langue, veuillez bien contacter votre représentant Yokogawa le plus proche.
D
Alle Betriebsanleitungen für ATEX Ex bezogene Produkte stehen in den Sprachen Englisch, Deutsch und Französisch zur Verfügung. Sollten Sie die Betriebsanleitungen für Ex-Produkte in Ihrer Landessprache benötigen, setzen Sie sich bitte mit Ihrem örtlichen Yokogawa-Vertreter in Verbindung.
S
Alla instruktionsböcker för ATEX Ex (explosionssäkra) produkter är tillgängliga på engelska, tyska och franska. Om Ni behöver instruktioner för dessa explosionssäkra produkter på annat språk, skall Ni kontakta närmaste Yokogawakontor eller representant.
Alle handleidingen voor producten die te maken hebben met ATEX explosiebeveiliging (Ex) zijn verkrijgbaar in het Engels, Duits en Frans. Neem, indien u aanwijzingen op het gebied van explosiebeveiliging nodig hebt in uw eigen taal, contact op met de dichtstbijzijnde vestiging van Yokogawa of met een vertegenwoordiger.
GR
       ATEX Ex   ,   .        Ex           Yokogawa   .
1-3
IM 1E7F1-01E

2. AMPLIFIER FOR FIELDBUS COMMUNICATION

2. AMPLIFIER FOR FIELDBUS
COMMUNICATION
Refer to the instruction manual for detailed descriptions of the parts. This section describes the topics applicable to the Fieldbus communication type.
(1) In the Fieldbus communication type, there are no
local key access function.
(2) The Fieldbus communication type has no BRAIN
terminal connection pin.
(3) The Fieldbus communication type has no
Instantaneous/Totalizer rate alternate display function.
(4) The Fieldbus communication type has a simulation
function. A SIMULATE-ENABLE jumper switch is mounted in the ADMAG AE amplifier. Refer to Section 6.3, “Simulation Function” for details of the simulation function.
(5) ADMAG AE adjusting using AM012 calibrator
must be done on off-line.
SIMU
SIMULATE_ENABLE jumper
Figure 2.1 Amplifier for Fieldbus communication
2-1
IM 1E7F1-01E
3. ABOUT FIELDBUS

3. ABOUT FIELDBUS

3.1 Outline

Fieldbus is a bi-directional digital communication protocol for field devices, which offers an advancement in implementation technologies for process control systems and is widely employed by numerous field devices.
ADMAG AE Fieldbus communication type employs the specification standardized by The Fieldbus Foundation, and provides interoperability between Yokogawa devices and those produced by other manufacturers. Fieldbus comes with software consisting of AI function block, providing the means to implement a flexible instrumentation system.
For information on other features, engineering, design, construction work, startup and maintenance of Fieldbus, refer to “Fieldbus Technical Information” (TI 38K3A01-01E).
3.2 Internal Structure of ADMAG
AE
ADMAG AE contains two Virtual Field Devices (VFD) that share the following functions.

3.2.1 System/network Management VFD

(4)PID function block(option)
• Performs the PID control computation based on the deviation of the measured value from the set point.
3.3 Logical Structure of Each
Block
ADMAG AE Fieldbus
Sensor
input
Sensor
System/network management VFD
PD Tag
Node address
Link master(Option)
Function block VFD
Transducer
block
Block tag
Parameters
Communication
parameters
VCR
Function block
execution schedule
PID function
block(Option)
AI function
block
Block tag
Parameters
OUT
Output
•Sets node addresses and Physical Device tags (PD Tag) necessary for communication.
• Controls the execution of function blocks.
•Manages operation parameters and communication resources (Virtual Communication Relationship: VCR).

3.2.2 Function Block VFD

(1)Resource block
• Manages the status of ADMAG AE hardware.
•Automatically informs the host of any detected faults or other problems.
(2)Transducer block
•Converts sensor output to flow rate signal and transfers to AI function block.
(3)AI function block
• Conditions raw data from the Transducer block.
• Outputs flow rate signals.
• Carries out scaling extraction.
Resource block
Block tag
Parameters
F0301.EPS
Figure 3.1 Logical Structure of Each Block
Setting of various parameters, node addresses, and PD Tags shown in Figure 3.1 is required before starting operation.

3.4 Wiring System Configuration

The number of devices that can be connected to a single bus and the cable length vary depending on system design. When constructing systems, both the basic and overall design must be carefully considered to allow device performance to be fully exhibited.
3-1
IM 1E7F1-01E
4. GETTING STARTED

4. GETTING STARTED

Fieldbus is fully dependent upon digital communica­tion protocol and differs in operation from conven­tional 4 to 20 mA transmission and the BRAIN communication protocol. It is recommended that novice users use fieldbus devices in accordance with the procedures described in this section. The procedures assume that fieldbus devices will be set up on a bench of an instrument shop.

4.1 Connection of Devices

The following instruments are required for use with Fieldbus devices:
• Power supply:
Fieldbus requires a dedicated power supply. It is recommended that current capacity be well over the total value of the maximum current consumed by all devices (including the host). Conventional DC current cannot be used as is. For ADMAG AE, power supply is required separately. ADMAG AE current consumption does not concern the dedicated power supply for Fieldbus.
• Terminator:
Fieldbus requires two terminators. Refer to the supplier for details of terminators that are attached to the host.
• Host:
Used for accessing field devices. A dedicated host (such as DCS) is used for an instrumentation line while dedicated communication tools are used for experimental purposes. For operation of the host, refer to the instruction manual for each host. No details of the host are explained in the rest of this material.
•Cable:
Used for connecting devices. Refer to “Fieldbus Technical Information” (TI 38K3A01-01E) for details of instrumentation cabling. If the total length of the cable is in a range of 2 to 3 meters for laboratory or other experimental use, the following simplified cable (a twisted pair wire with a cross section of 0.9 mm2 or more and cycle period of within 5 cm (2 inches) may be used.) Termination processing depends on the type of device being deployed. For ADMAG AE, use an M4 screw terminal. Some hosts require a connector.
Refer to Yokogawa when making arrangements to purchase the recommended equipment.
Connect the devices as shown in Figure 4.2. Connect the terminators at both ends of the trunk, with a minimum length of the spur laid for connection.
The polarity of signal and power must be maintained.
•Field devices:
Connect Fieldbus communication type ADMAG AE. Two or more ADMAG AE devices or other devices can be connected. Refer to Figure 4.1 Terminal Connection for ADMAG AE.
Integral Type Flowmeter:
Terminal Symbols Description
P+ P– I+ I– L/+ N/–
Remote Type Converter (AE14):
Terminal Symbols
SA
A B
SB
C EX1 EX2
P+ P–
I+
I–
L/+ N/–
Figure 4.1 Terminal connection for ADMAG AE
Not used Fieldbus communication signal Power supply
Protective grounding
Description
A shield
Flow signal input
B shield Common
Excitation current output
Not used
Fieldbus communication signal
Power supply Protective grounding
T03.EPS
Fieldbus power supply
FIELDBUS
Terminator
Figure 4.2 Device Connection
ADMAG AE
I
I­FIELDBUS
HOST
Terminator
Before using a Fieldbus configuration tool other than the existing host, confirm it does not affect the loop functionality in which all devices are already installed in operation. Disconnect the relevant control loop from the bus if necessary.
4-1
IM 1E7F1-01E
F0401.EPS
4. GETTING STARTED
IMPORTANT
Connecting a Fieldbus configuration tool to a loop with its existing host may cause communi­cation data scrambles resulting in a functional disorder or a system failure.

4.2 Host Setting

To activate Fieldbus, the following settings are required for the host.
IMPORTANT
Do not turn off the power immediately after setting. When the parameters are saved to the EEPROM, the redundant processing is executed for the improvement of reliability. If the power is turned off within 60 seconds after setting is made, the modified parameters are not saved and the settings may return to the original values.
Table 4.1 Operation Parameters
Symbol Parameter Description and Settings
V (ST) Slot-Time V (MID)
V (MRD)
V (FUN) First-Unpolled-Node
V (NUN) Number-of-
Minimum-Inter-PDU­Delay
Maximum-Reply­Delay
consecutive­Unpolled-Node
Set 4 or greater value. Set 4 or greater value.
Set so that V (MRD) V (ST) is 12 or greater
Indicate the address next to the address range used by the host. Set 0x15 or greater.
Unused address range. ADMAG AE address is factory-set to 0xF4. Set this address to be within the range of the BASIC device in Figure 4.3.
T0401.EPS
0x00
0x10
V(FUN)
V(FUN)V(NUN)
ADMAG AE(0xF4)
Note 1: LM device: with bus control function (Link Master function) Note 2: BASIC device: without bus control function
Figure 4.3 Available Address Range
0xF7 0xF8
0xFB
0xFC
0xFF
Not used
LM device
Unused V(NUN)
BASIC device
Default address
Portable device address
F0402.EPS

4.3 Bus and ADMAG AE Power ON

Turn on the power of the host, the bus and ADMAG AE. Where the ADMAG AE is equipped with an LCD indicator(option), first all segments are lit, then the segments for a right-most digit are blinking till communication starting. If the indicator is not lit, check the voltage of the power supply for ADMAG AE.
Using the host device display function, check that the ADMAG AE is in operation on the bus. Unless otherwise specified, the following settings are in effect when shipped from the factory.
PD tag: FT1002 Node address: 244 (hexadecimal F4) Device ID: 5945430004xxxxxxxx (xxxxxxxx = a total
of 8 alphanumeric characters)
If no ADMAG AE is detected, check the available address range. If the node address and PD Tag are not specified when ordering, default value is factory set. If two or more ADMAG AEs are connected at a time with default value, only one ADMAG AE will be detected from host as ADMAG AEs have the same initial address. Separately connect each ADMAG AE and set a different address for each.
4-2
IM 1E7F1-01E
4. GETTING STARTED

4.4 Integration of DD

If the host supports DD (Device Description), the DD of the ADMAG AE needs to be installed. Check if host has the following directory under its default DD directory.
594543\0004
(594543 is the manufacturer number of Yokogawa Electric Corporation, and 0004 is the ADMAG AE
device number, respectively.) If this directory is not found, DD of ADMAG AE has not been included. Create the above directory and copy the DD file "0m0n.ffo,0m0n.sym" (m, n is a numeral) into the directory.
If you do not have the DD file, you can download it from our web site. Visit the following web site.
http://www.yokogawa.com/fi/fieldbus/download.htm Once the DD is installed in the directory, the name and
attribute of all parameters of the ADMAG AE are displayed.
Off-line configuration is possible using Capability file(CFF).
NOTE
Ensure to use the suitable file for the device. ADMAG AE has two types, /FB-with a AI function block, and /FB/LC1-with PID/LM function. If the different type CFF is used, some errors occur at downloading to the device.

4.7 Generation of Alarm

If the host is allowed to receive alarms, generation of an alarm can be attempted from ADMAG AE. In this case, set the reception of alarms on the host side. ADMAG AE’s VCR-7 is factory-set for this purpose. For practical purposes, all alarms are placed in a disabled status; for this reason, it is recommended that you first use one of these alarms on a trial basis. Set the value of link object-3 (index 30002) as “0, 299, 0, 6, 0”. Refer to section 5.6.1 Link Object for details.
Since the LO_PRI parameter (index 4029) of the AI block is set to “0”, try setting this value to “3”. Select the Write function from the host in operation, specify an index or variable name, and write “3” to it.
The LO_LIM parameter (index 4030) of the AI block determines the limit at which the lower bound alarm for the process value is given. In usual cases, a very small value is set to this limit. Set 1 (the unit is same as XD_SCALE unit) to the limit. Since the flow rate is almost 0, a lower bound alarm is raised. Check that the alarm can be received at the host. When the alarm is confirmed, transmission of the alarm is suspended.
The above-mentioned items are a description of the simple procedure to be carried out until ADMAG AE is connected to Fieldbus. In order to take full advan­tage of the performance and functionality of the device, it is recommended that it be read together with Chapter 5, where describes how to use the ADMAG AE.

4.5 Reading the Parameters

To read ADMAG AE parameters, select the AI block of the ADMAG AE from the host screen and read the OUT parameter. The current flow rate is displayed. Check that MODE_BLOCK of the function block and resource block is set to AUTO.

4.6 Continuous Record of Values

If the host has a function of continuously recording the indications, use this function to list the indications (values). Depending on the host being used, it may be necessary to set the schedule of Publish (the function that transmits the indication on a periodic basis).
4-3
IM 1E7F1-01E
5. CONFIGURATION

5. CONFIGURATION

This chapter contains information on how to adapt the function and performance of the ADMAG AE to suit specific applications. Because two or more devices are connected to Fieldbus, settings including the requirements of all devices need to be determined. Practically, the following steps must be taken.
(1)Network design
Determines the devices to be connected to Fieldbus
and checks the capacity of the power supply.
(2)Network definition
Determines the PD tag and node addresses for all
devices.
(3)Definition of combining function blocks
Determines the method for combination between
each function block.
(4)Setting tags and addresses
Sets the PD Tag and node addresses one by one for
each device.
(5)Communication setting
Sets the link between communication parameters
and function blocks.
(6)Block setting
Sets the parameters for function blocks.
The following section describes each step of the procedure in the order given. Using a dedicated configuration tool allows the procedure to be signifi­cantly simplified. This section describes the procedure to be assigned for a host which has relatively simple functions. Refer to Appendix 5 when the ADMAG AE is used as Link Master (option).

5.1 Network Design

Select the devices to be connected to the Fieldbus network. The following instruments are necessary for operation of Fieldbus.
• Power supply
Fieldbus requires a dedicated power supply. It is
recommended that current capacity be well over the
total value of the maximum current consumed by all
devices (including the host). For ADMAG AE,
separate power supply is required. Therefore,
ADMAG AE current consumption does not affect
the dedicated power supply for Fieldbus.
• Terminator
Fieldbus requires two terminators. Refer to the supplier for details of terminators that are attached to the host.
•Field devices
Connect the field devices necessary for instrumenta­tion. ADMAG AE has passed the interoperability test conducted by The Fieldbus Foundation. In order to properly start Fieldbus, it is recommended that the devices used satisfy the requirements of the above test.
• Host
Used for accessing field devices. A minimum of one device with bus control function is needed.
• Cable
Used for connecting devices. Refer to “Fieldbus Technical Information” for details of instrumenta­tion cabling. Provide a cable sufficiently long to connect all devices. For field branch cabling, use terminal boards or a connection box as required.
First, check the capacity of the power supply. The power supply capacity must be greater than the sum of the maximum current consumed by all devices to be connected to Fieldbus. For ADMAG AE, separate power supply is required. Thus, ADMAG AE current consumption does not concern the dedicated power supply for Fieldbus. The cable must have the spur in a minimum length with terminators installed at both ends of the trunk.

5.2 Network Definition

Before connection of devices with Fieldbus, define the Fieldbus network. Allocate PD Tag and node addresses to all devices (excluding such passive devices as terminators).
The PD Tag is the same as the conventional one used for the device. Up to 32 alphanumeric characters may be used for definition. Use a hyphen as a delimiter as required.
5-1
IM 1E7F1-01E
5. CONFIGURATION
The node address is used to specify devices for communication purposes. Because data is too long for a PD Tag, the host uses the node address in place of the PD Tag for communication. A range of 16 to 247 (or hexadecimal 10 to F7) can be set. The device (LM device) with bus control function (Link Master function) is allocated from a smaller address number (16) side, and other devices (BASIC device) without bus control function allocated from a larger address number (247) side respectively. Place ADMAG AE in the range of the BASIC device. When the ADMAG AE is used as Link Master (option), place ADMAG AE in the range of LM device. Set the range of addresses to be used to the LM device. Set the following parameters.
Table 5.1 Parameters for Setting Address Range
Symbol
V (FUN) First-Unpolled-Node
V (NUN) Number-of-
Parameters Description
Indicates the address next to the address range used for the host or other LM device.
Unused address range consecutive­Unpolled-Node
T0501.EPS
The devices within the address range written as “Unused” in Figure 5.1 cannot be used on a Fieldbus. For other address ranges, the range is periodically checked to identify when a new device is mounted. Care must be taken not to allow the address range to become wider, which can lead to exhaustive consump­tion of Fieldbus communication performance.
0x00
Not used
0x10
V(FUN)
V(FUN)V(NUN)
0xF7 0xF8
0xFB 0xFC
0xFF
Figure 5.1 Available Range of Node Addresses
LM device
Unused V(NUN)
BASIC device
Default address
Portable device address
F0501.EPS
To ensure stable operation of Fieldbus, determine the operation parameters and set them to the LM devices. While the parameters in Table 5.2 are to be set, the worst-case value of all the devices to be connected to the same Fieldbus must be used. Refer to the specifica­tion of each device for details. Table 5.2 lists ADMAG AE specification values.
Table 5.2 Operation Parameter Values of the ADMAG AE
to be Set to LM Devices
Symbol Parameters Description and Settings
V (ST) Slot-Time
V (MID) Minimum-Inter-PDU-
Delay
V (MRD) Maximum-Reply-Delay
Indicates the time necessary for immediate reply of the device. Unit of time is in octets (256 µs). Set maximum specification for all devices. For ADMAG AE, set a value of 4 or greater.
Minimum value of communication data intervals. Unit of time is in octets (256 µs). Set the maximum specification for all devices. For ADMAG AE, set a value of 4 or greater.
The worst case time elapsed until a reply is recorded. The unit is Slot­time; set the value so that V (MRD) V (ST) is the maximum value of the specification for all devices. For ADMAG AE, value of V(MRD)V (ST) must be 12 or greater.
T0502.EPS

5.3 Definition of Combining Function Blocks

The input/output parameters for function blocks are combined. For the ADMAG AE, AI block output parameter (OUT) and PID block (option) is subject to combination. They are combined with the input of the control block as necessary. Practically, setting is written to the ADMAG AE link object with reference to “Block setting” in Section 5.6 for details. It is also possible to read values from the host at proper intervals instead of connecting the ADMAG AE block output to other blocks.
The combined blocks need to be executed synchro­nously with other blocks on the communications schedule. In this case, change the ADMAG AE schedule according to the following table. Enclosed values in the table are factory-settings.
5-2
IM 1E7F1-01E
5. CONFIGURATION
Table 5.3 Execution Schedule of the ADMAG AE Function
Blocks
Index Parameters
269
MACROCYCLE_
(SM)
DURATION
276
FB_START_ENTRY.1
(SM)
277
FB_START_ENTRY.2
(SM)
278
FB_START_ENTRY.3
(SM)
279
FB_START_ENTRY.4
(SM)
Setting (Enclosed is
factory-setting)
Cycle (MACROCYCLE) period of control or measurement. Unit is 1/32 ms. (32000 = 1 s)
AI block startup time. Elapsed time from the start of MACROCYCLE specified in 1/32 ms. (0 = 0 s)
9600=0.3s for PID block (option)
Not factory-set.
Not factory-set.
T0503.EPS
A maximum of 100 ms is taken for execution of AI block. For scheduling of communications for combina­tion with the next function block, the execution is so arranged as to start after a lapse of longer than 100 ms.
Figure 5.3 shows an example of schedule based on the loop shown in Figure 5.2.
FIC100
When the control period (macrocycle) is set to more than 4 seconds, set the following interval to be more than 1% of the control period.
- Interval between "end of block execution" and
"start of sending CD from LAS"
- Interval between "end of block execution" and
"starrt of the next block execution"

5.4 Setting of Tags and Addresses

This section describes the steps in the procedure to set PD Tags and node addresses in the ADMAG AE. There are three states of Fieldbus devices as shown in Figure 5.4, and if the state is other than the lowest SM_OPERATIONAL state, no function block is executed. ADMAG AE must be transferred to this state when an ADMAG AE tag or address is changed.
UNINITIALIZED
(No tag nor address is set)
Tag clear Tag setting
ADMAG AE
#1
FI100
ADMAG AE
#2
FI200
Figure 5.2 Example of Loop Connecting Function Block of
Two ADMAG AE with Other Instruments
Macrocycle (Control Period)
Function
Block
Schedule
Commu-
nication
Schedule
Figure 5.3 Functionn Block Schedule and Communication
FI100
OUT
BKCAL_IN
FI200
Schedule
IN
FIC100
OUT
FIC200
CAS_IN
FIC200
IN
BKCAL_IN
Unscheduled
Communication
FC100
F0502.EPS
BKCAL_OUT
FC100
BKCAL_OUT
Scheduled Communication
F0503.EPS
INITIALIZED
(Only tag is set)
Address clear
SM_OPERATIONAL (Tag and address are retained, and the function block can be executed.)
Figure 5.4 Status Transition by Setting PD Tag and Node
Address
Address setting
F0504.EPS
ADMAG AE has a PD Tag (FT1002) and node address (244, or hexadecimal F4) that are set upon shipment from the factory unless otherwise specified. To change only the node address, clear the address once and then set a new node address. To set the PD Tag, first clear the node address and clear the PD Tag, then set the PD Tag and node address again.
Devices whose node address was cleared will await the default address (randomly chosen from a range of 248 to 251, or from hexadecimal F8 to FB). At the same time, it is necessary to specify the device ID in order to correctly specify the device. The device ID of the ADMAG AE is 5945430004xxxxxxxx. (The xxxxxxxx at the end of the above device ID is a total of 8 alphanumeric characters.)
5-3
IM 1E7F1-01E
5. CONFIGURATION

5.5 Communication Setting

To set the communication function, it is necessary to change the database residing in SM-VFD.

5.5.1 VCR Setting

Set VCR (Virtual Communication Relationship), which specifies the called party for communication and resources. ADMAG AE has 16 VCRs whose applica­tion can be changed, except for the first VCR, which is used for management.
ADMAG AE has VCRs of four types: Server(QUB) VCR
A Server responds to requests from a host. This communication needs data exchange. This type of communication is called QUB (Queued User­triggered Bidirectional) VCR.
Source (QUU) VCR
A Source multicasts alarms or trends to other devices. This type of communication is called QUU (Queued User-triggered Unidirectional) VCR.
Publisher (BNU) VCR
A Publisher multicasts AI block output to another function block(s). This type of communication is called BNU (Buffered Network-triggered Unidirec­tional) VCR.
Subscriber (BNU) VCR
A Subscriber receives output of another function block(s) by PID block.
A Server VCR is capable to respond to requests from a Client (QUB) VCR after the Client initiates connection to the Server successfully. A Source VCR transmits data without established connection. A Sink (QUU) VCR on another device can receive it if the Sink is configured so. A Publisher VCR transmits data when LAS requests so. An explicit connection is established from Subscriber (BNU) VCR(s) so that a Subscriber knows the format of published data.
Each VCR has the parameters listed in Table 5.4. Parameters must be changed together for each VCR because modification for each parameter may cause inconsistent operation.
Table 5.4 VCR Static Entry
Sub-
index
1 FasArTypeAndRole
2 FasDllLocalAddr
3 FasDllConfigured
4 FasDllSDAP
5 FasDllMaxConfirm
6 FasDllMaxConfirm
7 FasDllMaxDlsduSize
8 FasDllResidual
9 FasDllTimelinessClass
10 FasDllPublisherTime
11 FasDllPublisher
Parameter Description
RemoteAddr
DelayOnConnect
DelayOnData
ActivitySupported
WindowSize
SynchronizaingDlcep
Indicates the type and role of communication (VCR). The following 4 types are used for ADMAG AE. 0x32: Server (Responds to
requests from host.)
0x44: Source (Transmits
alarm or trend.)
0x66: Publisher (Sends AI
block output to other blocks.)
0x76: Subscriber (Receives
output of other blocks by PID block.)
Sets the local address to specify VCR in ADMAG AE. A range of 20 to F7 in hexadecimal.
Sets the node address of the called party for communication and the address (DLSAP or DLCEP) used to specify VCR in that address. For DLSAP or DLCEP, a range of 20 to F7 in hexadecimal is used. Addresses in Subindex 2 and 3 need to be set to the same contents of the VCR as the called party (local and remote are reversed).
Specifies the quality of communication. Usually, one of the following types is set. 0x2B: Server 0x01: Source (Alert) 0x03: Source (Trend) 0x91: Publisher/Subscriber
To establish connection for communication, a maximum wait time for the called party's response is set in ms. Typical value is 60 secounds (60000).
For request of data, a maximum wait time for the called party's response is set in ms. Typical value is 60 secounds (60000).
Specifies maximum DL Service Data unit Size (DLSDU). Set 256 for Server and Trend VCR, and 64 for other VCRs.
Specifies whether connection is monitored. Set TRUE (0xff) for Server. This parameter is not used for other communication.
Not used for ADMAG AE. Not used for ADMAG AE.
Not used for ADMAG AE.
T0504-1.EPS
5-4
IM 1E7F1-01E
5. CONFIGURATION
Sub-
index
12 FasDllSubscriberTime
13 FasDllSubscriber
14 FmsVfdId
15 FmsMaxOutstanding
16 FmsMaxOutstanding
17 FmsFeatures
Parameter
WindowSize
SynchronizationDlcep
ServiceCalling
ServiceCalled
Supported
Description
Not used for ADMAG AE.
Not used for ADMAG AE.
Sets VFD for ADMAG AE to be used.
0x1: System/network
management VFD
0x1234: Function block
VFD
Set 0 to Server. It is not used for other applications.
Set 1 to Server. It is not used for other applications.
Indicates the type of services in the application layer. In the ADMAG AE, it is automatically set according to specific applications.
T0504-2.EPS
16 VCRs are factory-set as shown in Table 5.5.
Table 5.5 VCR List
Index
(SM)
293 For system management (Fixed)1 294 Server (LocalAddr = 0xF3)2 295 Server (LocalAddr = 0xF4)3 296 Server (LocalAddr = 0xF7)4 297 Trend Source (LocalAddr = 0x07,
298 Publisher (LocalAddr = 0x20)6 299
300 Server (LocalAddr = 0xF9)8 301 302
303 304
305 306 307 308
VCR
Number
5
7
9 10 11
12 13
14 15 16
Factory Setting
Remote Address=0x111)
Alert Source (LocalAddr = 0x07, Remote Address=0x110)
Not factory-set. Not factory-set. Not factory-set.
Not factory-set. Not factory-set. Not factory-set. Not factory-set. Not factory-set.
T0505.EPS

5.5.2 Function Block Execution Control

According to the instructions given in Section 5.3, set the execution cycle of the function blocks and schedule of execution.

5.6 Block Setting

Set the parameter for function block VFD.

5.6.1 Link Object

Link object combines the data voluntarily sent by the function block with VCR. ADMAG AE has 11 link objects. A single link object specifies one combination. Each link object has the parameters listed in Table 5.6. Parameters must be changed together for each VCR because the modifications made to each parameter may cause inconsistent operation.
Table 5.6 Link Object Parameters
Sub-
index
1 LocalIndex
2VcrNumber
3RemoteIndex
4ServiceOperation
5StaleCountLimit
Link objects are not factory-set. Set link objects as shown in Table 5.7.
Table 5.7 Settings of Link Objects (example)
Index Link Object #
30000 30001 2 30002 3 30003 No used4 30004 No used5
30005 No used6 30006 No used7 30007 No used8 30008 No used9 30009 No used10
30010 No used11
Parameters Description
Sets the index of function block parameters to be combined; set “0” for Trend and Alert.
Sets the index of VCR to be combined. If set to “0”, this link object is not used.
Not used in ADMAG AE. Set to “0”.
Set one of the following. Set only one each for link object for Alert or Trend. 0: Undefined 2: Publisher 3: Subscriber 6: Alert 7: Trend Set the maximum number of consecutive stale input values which may be received before the input status is set to BAD. To avoid the unnecessary mode transition caused when the data is not correctly received by subscriber, set this parameter to "2" or more.
Settings(example)
1
AI. OUT VCR#6
Trend VCR#5
Alert VCR#7
T0506.EPS
T0507.EPS
5-5
IM 1E7F1-01E
Loading...
+ 38 hidden pages