FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial...

60
FISHER -ROSEMOUNT SYSTEMS DeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 TM DeltaV Serial Interface

Transcript of FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial...

Page 1: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-1

TM

DeltaV Serial Interface

Page 2: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-2

Page 3: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-3

Upon completion of this module you will be able to:

Interface DeltaV with serial devices

Define Serial Interface wiring connections

Define Serial Interface capabilities

Configure the Serial Interface

Objectives

Page 4: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-4

DeltaV Serial Interface

Serial Interface CableSerial Interface Cable

Port 1 Port 2

Serial Device Serial Device

The Serial Interface provides communication to various serial devices including PLCs using Modbus (Master or Slave) RTU or ASCII protocol. You can configure the Serial Card to support RS232, RS422/485 half duplex or RS422/485 full duplex signals.

Page 5: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-5

The Serial Card requires a Serial Terminal Block to provide terminations for wiring. The figure below shows the wiring connections for RS232.

Serial Card Terminal BlockPort 1

Modicon Model 984 Controller 9-pin connector

Port 2

(GND) 9

(TXD) 11

(RXD) 13

(DTR) 15

(DSR) 16

(GND) 1

(TXD) 3

(RXD) 5

(DTR) 7

(DSR) 8

1 (SHIELD)

5 (GND)

2 (RXD)

3 (TXD)

6 (DSR)

4 (DTR)

7 (RTS)

8 (CTS)

DeltaV Serial Interface

Page 6: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-6

Serial Card Terminal Block Port 1

PROVOX Intelligent Device Interface (IDI)

(GND) 1

(TXD) 3

(RXD) 5

(DTR) 7

(DSR) 8

7 (GND)

3 (RXD)

2 (TXD)

6 (DSR)

20 (DTR)

Port 2

(GND) 9

(TXD) 11

(RXD) 13

(DTR) 15

(DSR) 16

DeltaV to PROVOXRS232 Wiring

Page 7: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-7

Page 8: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-8

Serial Interface Capabilities

Port Device 1 Device 2 . . . . . . . Device 1616 Devices Max16 Datasets/Port100 Registers-Coils /Dataset

PLC 1 PLC 2 PLC 16

Coils 00001 - 0xxxx

Input Registers30001 - 3xxxx

Holding Registers40001 - 4xxxx

Input Status10001 - 1xxxx

Dataset 1100 Regs/Dataset

.

.

.Dataset 16

Dataset 1....

Dataset 16

Serial Card2 Ports

500 DSTs OR3200 SCADA

RS232(Pt - Pt)

RS422/485 (Multi-drop)

Page 9: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-9

The Serial Interface communicates with a maximum of 250 registers/coils originating in a serial device; translating them to DeltaV Device Signal Tags (DSTs). The Serial card has two communication ports, each port connecting to a single serial device using RS232 wiring. As an option, the ports may be wired using RS422/485 wiring and connected to as many as 16 devices each.

The Serial Interface exchanges data with serial devices through a dataset; a collection of DeltaV parameters that correspond to registers/coils in the serial device. You configure the dataset to determine the type of registers as well as the starting address and how many registers will be read or written.

You can create as many as 16 datasets for each Serial Card port. These 16 datasetscan be allocated to the serial devices in several ways. For example, you can configure one serial device with 16 datasets or you could have 16 devices on the port with one dataset each.

Serial Interface Capabilities

Page 10: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-10

Serial Interface Configuration

Serial Device

Coils 00001 - 0xxxx

Input Registers30001 - 3xxxx

Holding Registers40001 - 4xxxx

Input Status10001 - 1xxxx

Dataset Register Type Register Address Number of Registers

Serial Interface

SCADA

or

Control ModuleDSTs

Workstation

Conditionals

Hierarchy

Alarms

Displays

I/O

Algorithms Module

Parameters

Page 11: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-11

The figure above shows the flow of data from a PLC to the DeltaV controller. The Serial Interface requests data from the PLC through it’s serial port. The data type, number of registers and starting address to be requested are all part of the dataset configuration. The dataset, with the registers and their respective values, are available to the DeltaV system as DSTs or SCADA tags.

Configuration of the Serial Interface requires the following steps:

Step 1. Plug the Serial Interface in the appropriate slot

Step 2. Configure the Serial card in the appropriate slot

Step 3. Define port(s) properties

Step 4. Define the Serial Device and address

Step 5. Define the Dataset(s)

Serial Interface Configuration

Page 12: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-12

Serial Card Configuration

Page 13: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-13

The Serial Card is one of the card types in the DeltaV Explorer. You configure it as you would any other card. You can plug the card into a vacant I/O carrier slot and auto-sense it or you can configure a placeholder for the card before connecting the actual card.

To configure a placeholder for the card, select the following from the DeltaV Explorer:

Physical Network Control Network I/O New Card

Serial Card Configuration

Page 14: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-14

Serial Port Properties

Page 15: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-15

Access the Serial Port’s properties from DeltaV Explorer by selecting:

Physical Network Control Network I/O P01 Properties

The PO1 Properties dialog box appears with the Port tab selected. The Properties dialog box contains such information as the port’s:

Description - the description which appears when viewing port properties from the DeltaV Explorer.

Enabled - causes the port to scan for input data and transmit outputs when the box is checked.

Serial Port Properties

Page 16: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-16

Serial Port Properties

Page 17: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-17

Clicking the PO1 Properties dialog box’s Advanced tab permits you to change advanced communication properties such as:

Protocol Type - RTU is a standard binary data communications mode while ASCII transmits messages as ASCII strings.

Mode - determines whether this port acts as a Modbus Master or a Modbus Slave.

Retry Count - determines the number of times the Serial Card retries a failed message. When the Serial Card issues a Modbus request to a device it expects a response to be returned, the Serial Card retries the failed message the number of times configured in the Retry count property.

Message time out - determines the amount of time the Serial Card waits for a response from the serial device after sending a request message.

Transmit Delay - determines the amount of time the Serial Card delays between requests for input data and/or requests to write output data to the Modbus Device. This value is used to slow down requests that are going to a heavily loaded Modbus Device.

Send outputs on startup - determines whether the Serial Card sends all current output values to the serial devices on power-up, reset or after a download.

Serial Port Properties

Page 18: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-18

Serial Port Properties

Page 19: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-19

Clicking the PO1 Properties dialog box’s Communications tab permits you to define communication properties such as:

Port type - determines the port type to be used for the serial connection, RS232, RS422/485 Full Duplex or RS422/485 Half Duplex.

Baud rate - select the baud rate to match the serial device. (300 - 115 Kbaud)

Parity - select the parity to match the serial device.

Data bits - select the number of data bits to match the serial device.

Stop bits - select the number of stop bits to match the serial device.

Serial Port Properties

Page 20: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-20

Adding a Serial Device

Page 21: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-21

Each port can communicate with as many as 16 serial devices. Therefore, once a port is enabled, you must define the address of the serial device(s) it will communicate with.

Add a serial device from the DeltaV Explorer in the following manner:

Physical Network Control Network I/O P01 (right click) New Serial Devices

The new serial device’s Properties dialog box appears. Enter the serial device’s address and click the OK button to continue.

Adding a Serial Device

Page 22: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-22

Dataset Definition

Page 23: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-23

A Dataset defines a set of consecutive registers to be mapped into DSTs. To define a Dataset from DeltaV Explorer select:

Physical Network Control Network I/O P01 DEV01 (right click) New Dataset

The Create Dataset dialog box appears with the General tab selected containing:

Description - description appearing when viewing the Dataset from the DeltaV Explorer.

Data Direction - defines whether this dataset sends DeltaV data to a serial device (output) or receives data from a serial device (input).

Output mode - controls how the Serial Card transmits output data. If the Output Mode is complete block, the card sends all data values when any value in the dataset changes. If the Output Mode is single value, the card sends single data values (register or coil) as the values change.

Output read back - determines whether the output dataset should read back registers that have been changed from within the serial device. If this box is checked, the Serial Card reads back the values during the card’s next input scan. The values that are read back update the current output values. If this box is not checked, no output read back will be performed.

Dataset Definition

Page 24: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-24

Dataset Definition

Page 25: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-25

The DeltaV tab permits you to configure the DeltaV Data Type and the Dataset Tag.

DeltaV data type - determines the type of data this dataset contains(Boolean, Discrete, Integer, and Floating Point). This field value creates storage space for the dataset and determines how the DeltaV System accesses the data.

Dataset Tag - identifies the Dataset Tag (i.e., COILS) associated with this dataset.

For example, COILS/R17 would be a parameter in the dataset that could be associated with a Discrete Output or Device Control block IO_OUT parameter to manipulate a coil in a PLC.

Dataset Definition

Page 26: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-26

Dataset Definition

Page 27: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-27

The PLC tab permits you to define PLC information such as:

PLC data Type - defines which data table to read from or write to in the serial device.

PLC base register address - indicates the PLC register address corresponding to the first value in the Modbus device for the configured data type.

PLC register offset - identifies the starting register that maps to the first dataset parameter.

Number of values - determines the number of Modbus values (registers or coils) to be read from or written.

Dataset Definition

Page 28: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-28

Module ConfigurationAssume a PLC is reading a flow transmitter and the value is stored in Holding register 40001. By bringing this value into DeltaV as a DST, you can use a control module for higher level control and alarming. This is accomplished by:

Step 1. Configure a new module with a PID function block.

Page 29: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-29

Module Configuration

Step 2. Modify the IO_IN parameter to use a Dataset Tag from the PLC.

Page 30: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-30

Module Configuration

Step 3. Browse.

Page 31: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-31

Step 4. Select R40001 as the parameter for the PID’s input.

Module Configuration

Page 32: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-32

Workshop - Serial Interface Modbus (Master)

00001

RS232 Cable

Port 1

Serial DeviceModicon 984

=40001 4000240003

Modules MTR-MODICON

FIC-MODICON

FT FY

Coil 00001 Motor StarterHolding Register 40001 Flow Rate

40002 Valve Output40003 Motor Status

Page 33: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-33

You must configure the motor control module MTR-MODICON in the DeltaV controller. The motor’s I/O is located in a Modicon PLC requiring you to configure the Serial card and two Datasets in order to receive the necessary I/O data from the PLC. Coil 00001 in the PLC will start the motor when energized. The motor’s status is reflected in Holding Register 40003.

You must also configure the flow loop FIC-MODICON in the DeltaV controller. The I/O for this loop is located in the Modicon PLC requiring you to configuring two additional Datasets to receive the necessary I/O data from the PLC. Holding Register 40002 contains the output to the valve and Holding Register 40001 contains the current flow rate.

Workshop - Serial Interface Modbus (Master)

Page 34: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-34

Complete the control strategy workshop in the following manner:

Step 1. Insert the Serial Card and Termination block in slot 5.

Step 2. Configure the Serial Card.

Step 3. Define Serial Card Port 1 Properties.

Step 4. Define a Serial Device.

Step 5. Define a Dataset referencing a coil.

Step 6. Define three Datasets referencing Holding registers.

Step 7. Configure a motor control module using PLC registers. Display the module using a dynamo.

Step 8. Configure a regulatory module using PLC registers. Display the module using a dynamo.

Workshop - Serial Interface Modbus (Master)

Page 35: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-35

Page 36: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-36

Workshop - Configure & Download The Serial Card

Step 1. Insert the Serial Card and Termination block in slot 5.

Step 2. Connect the PLC Serial Interface cable to the Serial Termination block in slot 5.

Step 3. Add the Serial Card from the DeltaV Explorer by selecting:

your controller I/O defining the Serial Card in the slot 5

Define Port 1 Properties

Define Port 1 properties using the DeltaV Explorer by selecting:

the Serial Card Port 1 Properties

Page 37: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-37

Step 3. Define the port properties as follows:

Port Tab– Check Enabled

Advanced Tab– Protocol Type - RTU– Mode - Master– Retry Count - 1– Message time out - 1000 (ms)– Transmit Delay - 0– Send outputs on startup - your choice

Communications Tab– Port Type - RS232– Baud Rate - 9600– Parity - even– Data bits - 8– Stop bits - 1

Workshop - Configure & Download The Serial Card

Page 38: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-38

Define a Serial Device

Define the Serial Device from the DeltaV Explorer by selecting:

Port 1 New Serial Device

Define Serial Device Address at 10

Define Four Datasets

Define four datasets, shown below, from the DeltaV Explorer by selecting:

DEV01 New Dataset

Define all four datasets in the same manner.

Workshop - Configure & Download The Serial Card

Page 39: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-39

Name DS01 DS02 DS03 DS04

Dataset Tag FY_MODICON FT_MODICON MTR_MODICON MTR_STAT

Data Direction output input output input

PLC Data Type holding registers holding registers coils holding registers

PLC RegisterOffset

1 0 0 2

Number of Values 1 1 1 1

DeltaV Data Type 16 bit Int w/status 16 bit Int w/status Boolean w/status 8 bit uint w/status

40002 40001 00001 40003

Actual PLC Number

Workshop - Configure & Download The Serial Card

Page 40: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-40

Workshop - Configure MTR-MODICON

Configure MTR-MODICON from DeltaV Explorer in the following manner:

Step 1. Drag ‘n drop MTR-11 Module Template from the Library to PLANT_AREA_A.

Step 2. Rename the Module MTR-MODICON.

Step 3. Launch Control Studio and modify the I/O parameters on the Device Control block as follows:

IO_IN_1 MTR_STAT R40003

IO_OUT_1 MTR_MODICON R1

Step 4. Assign to the Controller.

Step 5. Save and download the Module.

Page 41: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-41

Step 6. Launch DeltaV Operate (Configure) and add the pump dynamo DL_PMP_HL_R from the frsModules dynamo set to an existing picture

HINT: Enter THISNODE.MTR-MODICON when prompted for Dynamo Properties.

Step 7. Save the display.

Step 8. Switch to DeltaV Operate (Run). View the picture with MTR-MODICON and verify that you can START and STOP the motor.

Workshop - Configure MTR-MODICON

Page 42: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-42

Workshop - Configure FIC-MODICON

Configure FIC-MODICON in the following manner using the DeltaV Explorer:

Step 1. Drag ‘n drop the PID_LOOP Module Template from the Library to PLANT_AREA_A.

Step 2. Rename the Module FIC-MODICON

Step 3. Launch Control Studio and modify the I/O parameters on the PID block as follows:

IO_IN FT_MODICON R40001

IO_OUT FY_MODICON R40002

Page 43: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-43

Step 4. Assign to the Controller.

Step 5. Save and download the module.

Step 6. Launch DeltaV Operate (Configure) and add the loop dynamo PID_LOOP_1_ from the frsModules dynamo set to an existing picture.

Hint: Enter THISNODE.FIC-MODICON when prompted for Dynamo Properties.

Step 7. Save the display.

Step 8. Switch to DeltaV Operate (Run). View the picture with FIC-MODICON and verify that the loop controls.

Workshop - Configure FIC-MODICON

Page 44: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-44

Workshop - Serial Interface Modbus (Slave)

PROVOX

Coils 00001 - 0xxxx

Input Registers30001 - 3xxxx

Holding Registers40001 - 4xxxx

Input Status10001 - 1xxxx

Dataset Register Type Register Address Number of Registers

Serial Interface

SCADA

or

ControlModule

DSTs

Workstation

Conditionals

Hierarchy

Alarms

Displays

I/O

Algorithms Module

Parameters

Page 45: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-45

The Serial Interface may be configured as a Modbus Slave. As such, the Serial Interface does not generate Modbus requests; it responds to requests generated by a Modbus Master.

The above illustration uses the PROVOX IDI as the Modbus Master and the DeltaV Serial Interface as the Modbus Slave. This permits the exchange of data between the two control systems.

Workshop - Serial Interface Modbus (Slave)

Page 46: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-46

Port 2

Modules PROVOX-AGIT

FIC-102XVSTAT-101

Holding Register 40010 Flow RateCoil 00001 Agitator Status Holding Register 40001 & 2 Flow RateCoil 00002 Block Valve Status

Intelligent Device Interface (IDI)

PROVOX

PV:LOOP FST F-C-C PV:DI FST F-C-C Analog Input F-C-C

Discrete Input F-C-C

The following datasets will be configured to pass variables between PROVOX and DeltaV Dataset 1 will receive an analog variable from PROVOX Dataset 2 will receive a discrete variable from PROVOX Dataset 3 will send an analog variable to PROVOX Dataset 4 will send a discrete variable to PROVOX

Workshop - Serial Interface Modbus (Slave)

Page 47: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-47

Complete the control strategy workshop in the following manner:

Step 1. Define Serial Card Port 2 Properties.

Step 2. Define another Serial Device.

Step 3. Define two Datasets referencing Coils.

Step 4. Define two Datasets referencing Holding Registers.

Step 5. Use a Data Link to display an IDI Holding Register.

Step 6. Configure a monitoring discrete module template using an IDI Coil and display the module using a Data Link.

Step 7. Modify FIC-102 to pass the PV to a Holding Register.

Step 8. Modify XVSTAT-101 to pass the Out_D to a Coil.

Workshop - Serial Interface Modbus (Slave)

Page 48: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-48

Workshop - Configure & Download The Serial Card

Connect the IDI Serial Interface cable to the Serial Termination block in slot 5.

Define Port 2 Properties

Define Port 2 properties from DeltaV Explorer by selecting:

Serial Card Port 2 Properties

Page 49: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-49

Step 3. Define the port properties as follows:

Port Tab

– Check Enabled

Advanced Tab

– Protocol Type - RTU

– Mode - Slave

Communications Tab

– Port Type - RS232

– Baud Rate - 38400

– Parity - even

– Data bits - 8

– Stop bits - 1

Important: This must match the settings on the IDI.

Workshop - Configure & Download The Serial Card

Page 50: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-50

Define a Serial Device

Define the Serial Device from DeltaV Explorer by selecting:

Port 2 New Serial Device

Define Serial Device Address at 1.

Hint: The device address must match the device address of the IDI

Define Four Datasets

Define four datasets, shown below, from DeltaV Explorer by selecting:

DEV01 New Dataset

Define Dataset 1 as shown below.

Workshop - Configure & Download The Serial Card

Page 51: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-51

Name DS01 DS02 DS03 DS04

Dataset Tag PV_FIC90-3U AGSTAT90-3U FIC102_PV XVSTAT101_PV

PLC Data Type holding registers holding registers coils

PLC RegisterOffset

9 1 0 0

Number of Values 1 1 2 1

DeltaV Data Type 16 bit Int w/status Discrete w/status Floating point w/status Discrete w/status

coils

Actual Register Number

40010 0002 40001 00001PLC register

Define all four datasets before downloading the Serial Card.

Workshop - Configure & Download The Serial Card

Page 52: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-52

Workshop - Add Data Link PV_FIC90-3U

to a PictureDataset 1 now contains the PV of the flow loop from PROVOX. The following allows you to display the variable on the DeltaV Operator Interface.

Step 1. Add a Data Link to an existing picture.

Hint: Browse Object_Type: DST Parameter

Step 2. Save the display.

Step 3. Switch to DeltaV Operate (Run). View the picture with PV_FIC90-3U and verify the flow rate.

Page 53: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-53

Page 54: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-54

Workshop - Configure PROVOX-AGIT

Dataset 2 contains the Agitation Status from PROVOX. The following sequence will place the Agitation Status in a control module allowing us to alarm off of the variable.

Configure PROVOX-AGIT from the DeltaV Explorer in the following manner:

Step 1. Drag ‘n drop the Monitoring Discrete Module Template from the Library to PLANT_AREA_A.

Step 2. Rename the module PROVOX-AGIT.

Step 3. Launch Control Studio and modify the Module by selecting:

DI block Assign I/O Classic I/O

Set the Device Tag to AGSTAT90-3U, Parameter R2.

Page 55: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-55

Step 4. Modify the DISC_ALM parameter to 0.

Step 5. Assign module properties.

Step 6. Assign to the Controller.

Step 7. Save and download the module.

Step 8. Launch DeltaV Operate (Configure). Add a Data Link to an existing picture and assign dynamic coloring based on DI1/DISC.ALM

Step 9. Save the display.

Step 10. Switch to DeltaV Operate (Run). View the picture with PROVOX-AGIT and verify the status and alarm color.

Workshop - Configure PROVOX-AGIT

Page 56: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-56

Workshop - Modify FIC-102

Modify FIC-102 to send its PV to Dataset 3 which will then allow PROVOX to read the variable.

Step 1. Launch Control Studio.

Step 2. Add an Internal Read parameter.

Step 3. Rename to PID1-PV.

Step 4. Set the Parameter - Internal Reference FIC-102/PID1/PV.

Step 5. Add an Output parameter.

Step 6. Rename to FIC-102_PV.

Page 57: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-57

Step 7. Set the Parameter - External Reference FIC-102_PV/R40001.

Step 8. Connect the Internal Read to the Output parameter.

Step 9. Assign to the Controller.

Step 10. Save and download the module.

Step 11. Verify by viewing the PROVOX operator display or using Trace/Tune.

Workshop - Modify FIC-102

Page 58: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-58

Workshop - Modify XVSTAT-101

Modify XVSTAT-101 to send its PV to Dataset 4 which will then allow PROVOX to read the variable.

Step 1. Launch Control Studio.

Step 2. Add an Output parameter.

Step 3. Rename to XVSTAT_101_PV.

Step 4. Set the Parameter - External Reference XVSTAT_101/R1.

Step 5. Connect DI1/OUT_D to Output parameter.

Step 6. Assign, save and download the module.

Step 7. Verify by viewing the PROVOX operator display or using Trace/Tune.

Page 59: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-59

SummaryAt this point you should be able to:

Specify an RS232 serial interface cable

Define the Serial Interface capabilities

Configure the Serial Card as a Modbus Master or Slave

Define Serial Devices within DeltaV

Configure Datasets

Configure control modules using Dataset registers as I/O

Page 60: FISHER -ROSEMOUNT SYSTEMSDeltaV Serial Interface Course 7009 -- Rev 3 - 4/15/01 14-1 DeltaV Serial Interface.

FISHER-ROSEMOUNT SYSTEMS DeltaV Serial InterfaceCourse 7009 -- Rev 3 - 4/15/0114-60