Flowserve DDC-100 User Manual

0 (0)
Flowserve DDC-100 User Manual

DDC-100

Direct-to-Host

Programming Guide

FCD LMAIM4019-00 (Replaces 435-23009)

Network Control Systems

Contents

1

Introduction

 

1

 

 

 

 

 

 

1.1

Premise

 

1

 

 

 

 

 

1.2

Emphasis

1

 

 

 

 

 

1.3

Audience

2

 

 

 

2

Direct-to-Host Valve Control

3

 

 

 

 

 

2.1

Advantages of Direct-to-Host Control

3

 

 

 

 

 

2.2

Deliverables for Successful Direct-to-Host Implementations

4

 

 

 

3

Field Unit Monitoring and Control

5

 

 

 

 

 

3.1

Use of Coils and Registers for Monitoring and Control

5

 

 

 

 

 

 

3.2

Modbus

 

6

 

 

 

 

 

 

3.2.1 Modbus Function Code 01 (Read Coil Status)

7

 

 

 

 

 

 

3.2.2 Modbus Function Code 02 (Read Input Status)

8

 

 

 

 

 

 

3.2.3 Modbus Function Code 03 (Read Holding Register)

11

 

 

 

 

 

 

3.2.4 Modbus Function Code 04 (Read Input Register)

18

 

 

 

 

 

 

3.2.5 Modbus Function Code 05 (Force Single Coil)

18

 

 

 

 

 

 

3.2.6 Modbus Function Code 06 (Preset Single Register)

19

 

 

 

 

 

 

3.2.7 Modbus Function Code 08 (Diagnostics)

23

 

 

 

 

 

 

3.2.8 Modbus Function Code 15 (Force Multiple Coils)

24

 

 

 

 

 

 

3.2.9 Modbus Function Code 16 (Preset Multiple Registers)

24

 

 

 

4

The DDC-100 Network

27

 

 

 

 

 

 

Belden 3074F Specifications

27

 

 

 

 

 

 

Belden 3105A Specifications

28

 

 

 

 

 

 

Belden 9841 Specifications

28

 

 

 

 

 

4.1

Field Unit Network Communication Channels

28

 

 

 

 

 

 

4.1.1 Field Unit Network Bypass Relays

29

 

 

 

 

 

 

4.1.2 Field Unit Repeater Circuits

29

 

 

 

 

 

4.2

Network Topologies

29

 

 

 

 

 

 

 

4.2.1

Redundant Loop

29

 

 

 

 

 

 

 

4.2.2

Single-Ended Loop

31

 

 

 

 

 

 

 

4.2.3

Single-Line Multi-drop

32

 

 

 

 

 

4.3

Network Polling

33

 

 

 

 

 

 

 

4.3.1

Network Communication Errors

35

 

 

 

 

 

 

 

4.3.2

Network Communication Examples

36

 

 

 

 

 

4.4

Network Control

38

 

 

 

 

 

 

 

4.4.1

Ladder Logic Routines

38

 

 

 

 

 

 

4.4.2 Software Control Modules (C++ or Visual Basic Program)

38

 

 

 

 

 

 

4.4.3 Personal Computer with a Graphical User-Interface

39

 

 

 

5

Interfacing Hardware for the DDC-100 Network

41

 

 

 

 

 

5.1

RS-232 to RS-485 Converters

41

 

 

 

 

 

 

5.1.1 RS-232/RS-485 Control Line Steered Converter (P/N 61-825-0966-4)

43

 

 

 

 

 

 

5.1.2 RS-232/RS-485 Converter with RS-485 Self-Steering (P/N 61-825-1032-4)

45

 

 

 

 

 

5.2

RS-485 Connection Direct to the DDC-100 Field Unit

48

 

 

 

6

Programming Recommendations

49

 

 

 

 

 

6.1

Monitoring Field Unit Status

49

 

 

 

 

 

6.2

Issuing Control Commands

50

 

 

 

A

Typical DDC-100 Network Installation Assignments

53

 

 

 

 

Project supplier responsibilities

53

 

 

 

 

 

FCD LMAIM4019-00

DDC-100 Direct-to-Host Programming Guide

i

Figures

Figure 4.1 – DDC-100

Redundant Loop Network  

30

 

 

 

Figure 4.2 – DDC-100

Single-Ended Loop Network 

31

 

 

 

Figure 4.3 – DDC-100

Single-Line Multi-Drop Network 

33

 

 

 

 

Figure 5.1

– RS-232/RS-485

Converter Dimensions and Rack Mount Kit 

43

 

 

 

 

Figure 5.2

– RS-232/RS-485

Cable Diagram 

43

 

 

 

Figure 5.3

– Front and Back Panels of Steered Converter 

44

 

 

 

Figure 5.4

– Front and Back Panels of Self-Steering Converter 

46

 

 

 

 

 

Tables

Table 3.1 – Field Unit Communication Parameters 

5

 

 

Table 3.2 – Modbus Function Codes Supported 

7

 

 

Table 3.3 – DDC-100 Coil Assignments, Modbus Function Code 01 Usage for Digital Outputs 

8

 

 

Table 3.4 – Status Bit Definitions 

8

 

 

Table 3.4 – Status Bit Definitions (continued) 

9

 

 

Table 3.5 – Field Unit Register Definitions 

12

 

 

Table 3.6 – DDC-100 Coil Assignments Modbus Function Code 05 Usage for Digital Outputs 

19

 

 

Table 3.7 – Modbus 06 Command and Field Unit Holding Register 40001 

20

 

 

Table 3.8 – Diagnostic Codes Supported by the DDC-100 Field Unit 

23

 

 

Table 4.1 – Average Field Unit Response Time 

34

 

 

Table 4.2 – Average Network Scan Time (seconds) 

35

 

 

Table 5.1 – RS-232/RS-485 Converter Specifications 

42

 

 

Table 5.2 – Steered Converter Assembly (P/N 22300-7591) 

42

 

 

Table 5.3 – Self-Steering Converter Assembly (P/N 22300-7601) 

42

 

 

Table 5.4 – RS-232/RS-485 Converter (P/N 61-825-0966-4) DIP Switch Functions 

44

 

 

Table 5.5 – RS-232/RS-485 Converter (P/N 61-825-0966-4) RS-232 Connector 

44

 

 

Table 5.6 – RS-232/RS-485 Converter (P/N 61-825-0966-4) RS-485 Connector 

45

 

 

Table 5.7 – RS-232/RS-485 Converter (P/N 61-825-0966-4) Jumpers 

45

 

 

Table 5.8 – RS-232/RS-485 Converter (P/N 61-825-1032-4) RS-232 Connector 

46

 

 

Table 5.9 – RS-232/RS-485 Converter (P/N 61-825-1032-4) RS-485 Connector 

46

 

 

Table 5.10 – RS-232/RS-485 Converter (P/N 61-825-1032-4) Jumpers1 

47

Table 6.1 – Sample Tag Table for Direct-to-Host applications 

51

 

 

1 Introduction

1.1  Premise

This Programming Guide was written for the user who is connecting Flowserve Limitorque DDC-100 Network-compatible valve actuators directly to a control system Host computer. These guidelines provide the information that is necessary to control and monitor the valve actuators through a serial data communications network.

Your safety and satisfaction are very important to Flowserve. Please follow all instructions carefully and pay special attention to safety.

1.2  Emphasis

The following methods will be used to emphasize text throughout this manual:

cWARNING: Refers to personal safety. This alerts the reader to potential danger or harm. Failure to follow the advice in warning notices could result in personal injury or death.

aCAUTION: Directs attention to general precautions, which, if not followed, could result in personal injury and/or equipment damage.

NOTE: Highlights information critical to the understanding or use of these products.

Bold text highlights other important information that is critical to system components.

CAPITALIZED text stresses attention to the details of the procedure.

Underlined text emphasizes crucial words in sentences that could be misunderstood if the word is not recognized.

The purpose of these emphasized blocks of text is to alert the reader to possible hazards associated with the equipment and the precautions that can be taken to reduce the risk of personal injury and damage to the equipment.

Read and become familiar with the material in these guidelines before attempting installation, operation, or maintenance of the equipment. Failure to observe precautions could result in serious bodily injury, damage to the equipment, or operational difficulty.

ii

DDC-100 Direct-to-Host Programming Guide

FCD LMAIM4019-00

FCD LMAIM4019-00

DDC-100 Direct-to-Host Programming Guide

1

1.3 Audience

These guidelines were written to help you successfully connect Limitorque valve actuators directly to a control system Host computer. You do not have to be an expert in electronics or digital controls to utilize this manual. However, this manual assumes that you have a working understanding of valve actuators and a fundamental understanding of control system programming.

The following manuals should be available before attempting to connect the valve actuators to the control system:

1)Accutronix Installation and Operation for MX-DDC Field Unit Manual 

Bulletin LMAIM1329

2)DDC-100 UEC Field Unit (Modbus®) Installation and Operation Manual 

Bulletin LMAIM4029

3)DDC-100 UEC Field Unit Wiring and Startup Guidelines 

Bulletin LMAIM4022

4)DDC-100 UEC Field Unit Installation and Commissioning Manual 

Bulletin LMAIM4030

5)Modicon Modbus Protocol Reference Guide PI-MODBUS-300 Rev. G  available from Modicon

6)Valve actuator installation manual for the specific model(s) to be installed.

An understanding of valve actuators and digital control systems is beneficial to all system users. Flowserve assistance and training is available to help you operate your system at top efficiency. It is recommended that you read this entire manual before attempting to install the valve actuators in your control system.

2 DirectControl-to-Host Valve

In this document, Direct-to-Host valve control is defined as the use of a customer-supplied (possibly pre-existing) Host control system (PLC, DCS, PC, etc.) to directly control the actuation of valves that are equipped with DDC-100 Network-compatible field units. The field units are micro- processor-based devices that can communicate with the Host and respond to Host commands for valve motion and status. The DDC-100 Network uses the EIA RS-485 standard for the physical layer and the A.E.G. Modicon Modbus protocol for the command structure.

The Direct-to-Host solution to valve actuation systems provides distinct advantages for many users. These benefits range from maximizing system design flexibility to utilizing existing plant equipment for valve actuator control. The customer can emphasize selecting the best equipment and software that closely matches the application’s requirements. This solution allows the user to add valve control while avoiding the need to incorporate new control equipment into the facility. Direct-to-Host functionality is accomplished through the use of open architecture control and communications in the valve actuator controls that economically accommodate widely available interfaces for existing SCADA, PLC, or personal computers.

2.1  Advantages of Direct-to-Host Control

Freedom to design a valve actuator system to interface directly with customer-preferred supervisory equipment with open-market availability and off-the-shelf components.

Maximizes valve actuator system flexibility by utilizing the industry standard protocol of Modbus, complemented with the EIA RS-485 electrical standard.

Increases control room equipment utilization while incorporating a cost savings to the customer through the elimination of unnecessary hardware.

Supports the use of control system components familiar to the user and eliminates the requirement to learn third-party interfaces.

Strengthens control system architecture with components readily available on the open market.

Encourages parts replacement and support programs favorable to the user.

Promotes direct downloading of valve actuator data to the supervisory control system without intervening proprietary hardware or protocols.

2

DDC-100 Direct-to-Host Programming Guide

FCD LMAIM4019-00

FCD LMAIM4019-00

DDC-100 Direct-to-Host Programming Guide

3

Provides a safe and reliable communications path between the supervisory control system and valve actuator network. This eliminates an unnecessary single point of failure that would exist if the valve control network required a gateway device.

Enhances the operational relationship between the customer and the customer’s preferred system integrator.

2.2  Deliverables for Successful Direct-to-Host Implementations

Each Direct-to-Host installation requires coordination to ensure that every supplier understands their deliverable responsibilities. When suppliers understand particular obligations and perform the tasks in an orderly and timely fashion, the DDC-100 Network installation process will progress very smoothly. Appendix A outlines a “typical” chart detailing areas of responsibility or supplier deliverables for installing a DDC-100 system. This appendix is a guideline and may vary from project to project.

3 MonitoringField Unit

and

Control

 

Flowserve Limitorque valve actuators that are DDC-100 Network compatible can be controlled and monitored by sending queries and receiving responses over a serial data network. The DDC-100 Network uses the non-proprietary Modbus message protocol and EIA RS-485 standard for the physical communication link.

Table 3.1 – Field Unit Communication Parameters

Parameter

 

Options

 

Default

Message Framing

 

RTU, ASCII

 

RTU

 

 

 

 

 

 

 

Baud Rate

 

1200, 2400, 4800, 9600, 19,200

 

9600

 

 

 

 

 

Data Bits

 

8

 

8

 

 

 

 

 

Stop Bits

 

1

 

1

 

 

 

 

 

Parity

 

None

 

None

 

 

 

 

 

Error Checking

 

CRC-16 (RTU), LRC (ASCII)

 

CRC-16 (RTU)

 

 

 

 

 

Field Unit Address Range 1–250

 

Configurable

 

Configurable

 

 

 

 

 

3.1  Use of Coils and Registers for Monitoring and Control

The material in this section is a brief tutorial and general discussion of the use of Modbus queries and responses to control valve actuators. The detailed discussion of the commands will be given in Section 3.2.

The Modbus communications protocol allows for working with two types of information—coils (or bits) and registers (or 16-bit words). Coils are either ON (1) or OFF (0) and are used in direct relation to relays (that have coils). For example, in a typical actuator, Coil 1 is energized to CLOSE the actuator and Coil 2 is energized to OPEN the actuator. Register information is used for control functions that do not involve coils. An example would be to write a command value to energize the open or close coil or move the actuator to a position of 0 to 100% of open.

4

DDC-100 Direct-to-Host Programming Guide

FCD LMAIM4019-00

FCD LMAIM4019-00

DDC-100 Direct-to-Host Programming Guide

5

Queries are used to send requests from the Modbus master (Host) to the Modbus slave (DDC-100 Field Unit), and the slave must respond with an appropriate response or an error message.

The Modbus function codes that are supported in the DDC-100 Network are a subset of the complete Modbus function codes and are listed below:

01

Read Coil Status  Reads the ON/OFF status of discrete outputs (coils) in the field units.

02

Read Input Status  Reads the ON/OFF status of discrete inputs in the field units.

03

Read Holding Registers  Reads the binary contents of holding registers in the field units.

04

Read Input Registers  Reads the binary contents of the input registers in the field units.

05

Force Single Coil  Forces a single coil to either the ON or OFF state.

06

Preset Single Register  Presets a value into a single-holding register.

08Diagnostics  Provides communication tests and checks for internal error conditions in the field units.

15Force Multiple Coils  Forces multiple coils to either the ON or OFF state.

16Preset Multiple Registers  Presets a value into multiple holding registers.

NOTE: All data in Modbus messages are referenced to zero. The first occurrence of a data item is addressed as item number zero. This includes Coils, Inputs, and Registers. For example, coils 1-8 would be addressed as 0-7, inputs 1-16 would be addressed as 0-15, and registers 1-16 would be addressed as 0-15.

3.2  Modbus

The Modbus protocol was developed by A.E.G. Modicon for communicating to various networked devices. The relationship between these devices and a central controller is called a master-slave relationship in which the master (Host device) initiates all communications. The slave devices (field units in the actuators) respond to the queries from the master. Modbus only permits one master to communicate at any given time (simultaneous communication is prohibited) for assuring process control integrity.

The controlling device (master) must conform to the Modbus protocol as defined in the Modicon Modbus Protocol Reference Guide PI-MODBUS-300 Rev. G and support Modbus function codes 01 through 06, 08, 15 and 16. These function codes are a subset of the complete protocol and are defined in Table 3.2.

Table 3.2 – Modbus Function Codes Supported

Function

 

Name

 

Bit/Register

 

Extended

Code

 

 

Addressing

 

Addressing Range

 

 

 

 

01

 

Read Coil Status

 

Bit

 

0,000 - 9,999

 

 

 

 

 

 

 

 

 

 

02

 

Read Input Status

 

Bit

 

10,000 - 19,999

 

 

 

 

 

 

 

03

 

Read Holding Register

 

Register

 

40,000 - 49,999

 

 

 

 

 

 

 

04

 

Read Input Register

 

Register

 

30,000 - 39,999

 

 

 

 

 

 

 

05

 

Force Single Coil

 

Bit

 

0,000 - 9,999

 

 

 

 

 

 

 

06

 

Preset Single Register

 

Register

 

40,000 - 49,999

 

 

 

 

 

 

 

08

 

Diagnostics

 

N/A

 

N/A

 

 

 

 

 

 

 

15

 

Force Multiple Coils

 

Bit

 

0,000 - 9,999

 

 

 

 

 

 

 

16

 

Preset Multiple Registers

 

Register

 

40,000 - 49,999

 

 

 

 

 

 

 

Note: MX-DDC does not support Modbus function code 02.

Modbus function codes 15 and 16 are supported in:

UEC-3-DDC Modbus Firmware 2.00 and greater

MX-DDC Firmware 02/01.00 and greater

The choice of which query to use in a particular situation can significantly affect the efficiency of the network. As an example, consider the situation where the Host requires the status of the coils, the status of the digital inputs, the status of the faults, and the status of the timers and analog channels. This information can be obtained by using the 01 - Read Coil Status query, the 02 - Read Input Status query, and 04 - Read Input Register query. To obtain this information, the Host would have to send three separate queries, and the field unit would have to respond to each query separately. A more efficient way to accomplish this same request for information would be through the use of the 03 - Read Holding Register query. The Host would issue the 03 query (specifying the registers to read), and the field unit would respond with one response that would contain all of the requested information. The latter approach would generate considerably less network traffic than the former approach, improving network capacity and response times.

In the strict sense, all transmissions from the Modbus master are called commands. In this manual, a request for information, however, may be referred to as a query. Usually the term query will only be used in conjunction with function codes (01), (02), (03), (04), and (08), which typically request data. Commands are used in conjunction with function codes (05), (06), (15) and (16), which typically initiate field unit action.

Examples

The coil known as “coil 1” in the field unit is addressed as coil 0000 in the data address field of a

Modbus message.

Digital input 129 decimal is addressed as digital input 0080 hex (128 decimal).

Holding register 40001 is addressed as register 0000 in the data address field of the message.

The function code field already specifies “holding register” operation. Therefore the reference “4XXXX” is implicit.

Holding register 40009 is addressed as register 0008 hex (8 decimal).

3.2.1  Modbus Function Code 01 (Read Coil Status)

This function code is used to read the coil status in the DDC-100 Field Unit. There are nine coils available to be read on DDC-100 Field Units as shown in Table 3.3. For the MX/DDC or UEC-3-DDC Field Unit, Coil 1 indicates CLOSE contactor and is interlocked with Coil 2, Coil 2 indicates OPEN contactor and is interlocked with Coil 1. When the I/O Module is used in non-MOV (motor-operated valve) mode, relays 1 through 6 or coils 3 through 8 are available for user configuration.

6

DDC-100 Direct-to-Host Programming Guide

FCD LMAIM4019-00

FCD LMAIM4019-00

DDC-100 Direct-to-Host Programming Guide

7

Table 3.3 – DDC-100 Coil Assignments, Modbus Function Code 01 Usage for Digital Outputs

Coil

Bit

MX/DDC

 

UEC-3-DDC

 

DDC-100 Clamshell

 

I/O Module

Number

Number

 

 

 

 

 

 

 

 

 

 

1

 

Close / Stop

 

Close / Stop

 

Close / Stop

 

Do Not Use

00

 

 

 

 

 

 

 

 

 

 

 

 

2

01

Open / Stop

 

Open / Stop

 

Close / Stop

 

Do Not Use

 

 

 

 

 

 

 

 

 

3

02

AS-1

 

Lockout or Relay #3

 

Lockout or Relay #3

 

Relay #3

 

 

 

 

 

 

 

 

 

4

03

AS-2

 

Do Not Use

 

Relay #4

 

Relay #4

 

 

 

 

 

 

 

 

 

5

04

AS-3

 

Do Not Use

 

Relay #5

 

Relay #5

 

 

 

 

 

 

 

 

 

6

05

AS-4

 

Relay #6

 

Relay #6

 

Relay #6

 

 

 

 

 

 

 

 

 

7

06

AR-1 (Opt)

 

Do Not Use

 

Do Not Use

 

Relay #21

 

 

 

 

 

 

 

 

 

8

07

AR-2 (Opt)

 

Do Not Use

 

Do Not Use

 

Relay #12

 

 

 

 

 

 

 

 

 

9

08

AR-3 (Opt)

 

Do Not Use

 

Do Not Use

 

Do Not Use

 

 

 

 

 

 

 

 

 

Note 1: Relay #2 is physical Relay K2.

Note 2: Relay #1 is physical Relay K1.

Example

Poll field unit number 3 for 8 coils starting at coil 1.

Query  0301000000083C2E

Response  03010118503A

Message Breakdown

Query

 

 

 

Response

 

 

03

 

Slave (Field Unit) Address

 

03

 

Slave (Field Unit)

 

 

 

 

 

 

Address

 

 

 

 

 

 

 

 

 

 

 

 

 

01

 

Function

 

01

 

Function

 

 

 

 

 

 

 

00

 

Starting Address Hi

 

01

 

Byte Count

 

 

 

 

 

 

 

00

 

Starting Address Lo

 

18 1

 

Data (Coils 8 - 1)

 

 

 

 

 

 

 

00

 

No. of Points Hi

 

503A

 

Error Check (CRC)

 

 

 

 

 

 

 

08

 

No. of Points Lo

 

 

 

 

 

 

 

 

 

 

 

3C2E

 

Error Check (CRC)

 

 

 

 

 

 

 

 

 

 

 

Note 1: 18h equals 00011000 or coils 4 and 5 are ON.

3.2.2  Modbus Function Code 02 (Read Input Status)

This function code is used to read the discrete input status bits in the DDC-100 Field Unit. The use of this function code will provide the user with the input status bits that are used to develop holding registers 9 through 13. The status bit inputs are contained in locations 10129-10208 for each DDC-100 Field Unit and are defined in Table 3.4.

Table 3.4 – Status Bit Definitions

 

Modbus

 

 

 

Bit Number

Bit

UEC-3-DDC and DDC-100 Clamshell

 

I/O Module

 

Address

 

 

 

129

 

Opened

 

Not Used

128

 

 

 

 

 

 

130

129

Closed

 

Not Used

 

 

 

 

 

131

130

Stopped

 

Not Used

 

 

 

 

 

132

131

Opening

 

Not Used

 

 

 

 

 

133

132

Closing

 

Not Used

 

 

 

 

 

134

133

Valve jammed

 

Not Used

 

 

 

 

 

135

134

Actuator switched to local mode

 

Not Used

 

 

 

 

 

136

135

Combined fault

 

Not Used

 

 

 

 

 

Table 3.4 – Status Bit Definitions (continued)

 

Modbus

 

 

 

 

Bit Number

Bit

UEC-3-DDC and DDC-100 Clamshell

I/O Module

 

Address

 

 

 

 

137

 

Over-temperature fault

 

 

Not Used

136

 

 

 

 

 

 

 

 

138

137

Actuator failing to de-energize

 

 

Not Used

 

 

 

 

 

 

139

138

Channel A fault

 

 

Channel A fault

 

 

 

 

 

 

140

139

Channel B fault

 

 

Channel B fault

 

 

 

 

 

 

141

140

Open torque switch fault

 

 

Not Used

 

 

 

 

 

 

142

141

Close torque switch fault

 

 

Not Used

 

 

 

 

 

 

143

142

Valve operated manually fault

 

 

Not Used

 

 

 

 

 

 

144

143

Phase error

 

 

Not Used

 

 

 

 

 

145

144

Input “open verify” is not active

after open

Not Used

command is initiated

 

 

 

 

 

 

 

 

 

 

 

 

146

145

Input “close verify” is not active

after close

Not Used

command is initiated

 

 

 

 

 

 

 

 

 

 

 

 

 

147

146

Input “open verify” is active after

 

open

Not Used

command is de-energized

 

 

 

 

 

 

 

 

 

 

 

 

148

147

Input “close verify” is active after

close

Not Used

command is de-energized

 

 

 

 

 

 

 

 

 

 

 

 

 

149

148

“Ph_det” (Phase Detect) input is

 

active.

Not Used

One or more phases is missing

 

 

 

 

 

 

 

 

 

 

 

150

149

“Ph_seq” (Phase Sequence) input is active.

Not Used

Reverse phase sequence is occurring

 

 

 

 

 

 

 

151

150

Valve manually moved from mid-travel to

Not Used

open

 

 

 

 

 

 

 

 

 

 

 

152

151

Valve manually moved from open to

Not Used

mid-travel

 

 

 

 

 

 

 

 

 

 

 

153

152

Valve manually moved from mid-travel to

 

close

 

 

 

 

 

 

 

 

 

 

 

 

154

153

Valve manually moved from close to

Not Used

mid-travel

 

 

 

 

 

 

 

 

 

 

 

155

154

Network emergency shutdown (ESD) is

Not Used

active

 

 

 

 

 

 

 

 

 

 

 

156

155

Local emergency shutdown is active

Not Used

 

 

 

 

157

156

Field unit microprocessor has reset since

Not Used

the last poll

 

 

 

 

 

 

 

 

 

 

 

 

 

158

157

Wrong rotation

 

 

Not Used

 

 

 

 

 

 

159

158

Opening in local mode

 

 

Not Used

 

 

 

 

 

 

160

159

Closing in local mode

 

 

Not Used

 

 

 

 

 

 

161

160

Close contactor (interlocked)

 

 

Not Used

 

 

 

 

 

 

162

161

Open contactor (interlocked)

 

 

Not Used

 

 

 

 

 

 

163

162

Lockout or user, Relay 3

 

 

Relay 3

 

 

 

 

164

163

Local pushbutton switch LED (UEC-3)

Relay 4

Relay 4 (Clamshell)

 

 

 

 

 

 

 

 

 

 

 

165

164

Local pushbutton switch LED (UEC-3)

Relay 5

Relay 5 (Clamshell)

 

 

 

 

 

 

 

 

 

 

 

 

 

166

165

User, Relay 6

 

 

Relay 6

 

 

 

 

 

167

166

Close contactor (non-interlocked)

 

Relay 2 (K2)

 

 

 

 

 

168

167

Open contactor (non-interlocked)

 

Relay 1 (K1)

 

 

 

 

 

 

169

168

Field unit software vs. ID

 

 

Field unit software vs. ID

 

 

 

 

 

 

170

169

Field unit software vs. ID

 

 

Field unit software vs. ID

 

 

 

 

 

 

171-176

170-175

Field unit software vs. ID

 

 

Field unit software vs. ID

 

 

 

 

 

 

177

176

Remote switch

 

 

User Input 8

 

 

 

 

 

 

178

177

Thermal overload

 

 

User Input 9

 

 

 

 

 

 

8

DDC-100 Direct-to-Host Programming Guide

FCD LMAIM4019-00

FCD LMAIM4019-00

DDC-100 Direct-to-Host Programming Guide

9

Table 3.4 – Status Bit Definitions (continued)

 

Modbus

 

 

 

Bit Number

Bit

UEC-3-DDC and DDC-100 Clamshell

 

I/O Module

 

Address

 

 

 

179

 

Open torque switch

 

User Input 10

178

 

 

 

 

 

 

180

179

Open limit switch

 

User Input 11

 

 

 

 

 

181

180

Close torque switch

 

User Input 12

 

 

 

 

 

182

181

Close limit switch

 

User Input 13

 

 

 

 

 

183

182

Aux. Open Input

 

User Input 14

 

 

 

 

 

184

183

Aux. Close Input

 

User Input 15

 

 

 

 

 

185

184

User Input 0

 

User Input 0

 

 

 

 

 

186

185

User Input 1

 

User Input 1

 

 

 

 

 

187

186

User Input 2

 

User Input 2

 

 

 

 

 

188

187

User Input 3

 

User Input 3

 

 

 

 

 

189

188

User Input 4

 

User Input 4

 

 

 

 

 

190

189

User Input 5

 

User Input 5

 

 

 

 

 

191

190

Input 6

 

User Input 6

 

 

 

 

 

192

191

Input 7

 

User Input 7

 

 

 

 

 

193

192

Analog Input 1 lost

 

Analog Input 1 lost

 

 

 

 

 

194

193

Analog Input 2 lost

 

Analog Input 2 lost

 

 

 

 

 

195

194

Analog Input 3 lost

 

Analog Input 3 lost

 

 

 

 

 

196

195

Analog Input 4 lost

 

Analog Input 4 lost

 

 

 

 

 

197

196

Network Channels A/B timed out

 

Network Channels A/B timed out

 

 

 

 

 

198

197

Reserved

 

Reserved

 

 

 

 

 

199

198

Reserved

 

Reserved

 

 

 

 

 

200

199

Reserved

 

Reserved

 

 

 

 

 

201

200

Reserved

 

Reserved

 

 

 

 

 

202

201

Reserved

 

Reserved

 

 

 

 

 

203

202

Reserved

 

Reserved

 

 

 

 

 

204

203

Reserved

 

Reserved

 

 

 

 

 

205

204

Lost Phase Input

 

User Input 18

 

 

 

 

 

206

205

Phase Reverse Input

 

User Input 19

 

 

 

 

 

207

206

Input 8

 

User Input 16

 

 

 

 

 

208

207

Input 9

 

User Input 17

 

 

 

 

 

Example

Poll field unit number 22 for 16 inputs starting at input 129 with the actuator opening.

Query  1602008000107B09

Response  1602020108CDED

Message Breakdown

Query

 

 

 

Response

 

16

 

Slave (Field Unit) Address

 

16

 

Slave (Field Unit) Address

 

 

 

 

 

 

 

 

 

 

02

 

Function

 

02

 

Function

 

 

 

 

 

 

 

00

 

Starting Address Hi

 

02

 

Byte Count

 

 

 

 

 

 

 

80

 

Starting Address Lo

 

011

 

Data (Inputs 10136 - 10129)

00

 

No. of Points Hi

 

082

 

Data (Inputs 10144 - 10137)

10

 

No. of Points Lo

 

CDED

 

Error Check (CRC)

 

 

 

 

 

 

 

7B09

 

Error Check (CRC)

 

 

 

 

 

 

 

 

 

 

 

Note 1: 01h equals 0000 0001 (actuator open input bit is ON).

Note 2: 08h equals 0000 1000 (actuator Channel B Fail bit is ON).

3.2.3  Modbus Function Code 03 (Read Holding Register)

This function code is used to read the binary contents of holding registers in the DDC-100 Field Unit. This function code is typically used during the network polling cycle. A network poll should consist of field unit registers 9 (Status) and 10 (Fault) as a minimum. Holding register 8 should also be polled when the actuator is configured for the analog feedback option or position control. See Table 3.5 for a complete listing of the holding registers.

10

DDC-100 Direct-to-Host Programming Guide

FCD LMAIM4019-00

FCD LMAIM4019-00

DDC-100 Direct-to-Host Programming Guide

11

Table 3.5 – Field Unit Register Definitions

Register

Register Name

MX/DDC Meaning

 

UEC-3-DDC Meaning

Number

 

 

 

 

 

 

 

 

 

Registers 1 and 2 are write-only

 

Registers 1 and 2 are write-only

 

 

 

1

Command

registers used for Modbus Function

 

registers used for Modbus Function

 

 

Code 06

 

Code 06

 

 

 

 

 

 

 

Registers 1 and 2 are write-only

 

Registers 1 and 2 are write-only

2

Argument

registers used for Modbus Function

 

registers used for Modbus Function

 

 

Code 06

 

Code 06

 

 

 

 

 

 

3

Analog Output

APT Scaled Output Value

 

N/A

 

(Default 0-100)

 

 

 

 

 

 

 

 

 

 

 

 

4

Analog Output

ATT Scaled Output Value1

 

Average Torque

(Default 0-100)

 

(version 2.00 and greater)

 

 

 

 

 

 

 

 

5

Analog Input

Main Power Value (Volts)

 

Analog Input 4

 

 

 

 

 

 

6

Analog Input

Analog Input 1 (Default 0-100) User

 

Analog Input 3

4-20 mA Input (Heavy Smoothing)

 

 

 

 

 

 

 

 

 

 

 

 

7

Analog Input

Analog Input 2 (Default 0-100) User

 

Analog Input 2

4-20 mA Input

 

 

 

 

 

 

 

 

 

 

 

8

Position

Valve Position, Scaled Value (Default

 

Valve Position, Scaled Value (Default

0-100) (0-100, 2-255, 0-4095)2

 

0-100) OR Analog Input 1

 

 

 

 

 

 

 

 

 

 

16 Bits of Field Unit Status

 

16 Bits of Field Unit Status

 

 

 

 

 

 

 

 

 

Bit 0 

Opened

 

Bit 0 

Opened

 

 

 

 

 

 

 

 

 

Bit 1 

Closed

 

Bit 1 

Closed

 

 

 

 

 

 

 

 

 

Bit 2 

Stopped

 

Bit 2 

Stopped

 

 

 

 

 

 

 

 

 

Bit 3 

Opening

 

Bit 3 

Opening

 

 

 

 

 

 

 

 

 

Bit 4 

Closing

 

Bit 4 

Closing

 

 

 

 

 

 

 

 

 

Bit 5 

Valve jammed

 

Bit 5 

Valve jammed

 

 

 

 

 

 

 

Bit 6  Actuator switched to local

 

Bit 6  Actuator switched to local

 

Status Register

 

mode1

 

 

mode

 

 

 

 

 

 

9

(Field Units as

Bit 7 

Combined fault3

 

Bit 7 

Combined fault3

MOV - Motor-

 

 

 

 

 

Bit 8 

Over-temperature fault

 

Bit 8 

Over-temperature fault

 

 

 

Operated Valve)

 

 

 

 

 

 

 

 

Bit 9 

Future Implementation

 

Bit 9  Actuator failing to de-ener-

 

 

 

 

 

 

 

gize

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 10  Network Channel A fault4

 

Bit 10  Network Channel A fault

 

 

 

 

 

 

 

Bit 11  Network Channel B fault4

 

Bit 11  Network Channel B fault

 

 

 

 

 

 

 

Bit 12  Open torque switch fault

 

Bit 12  Open torque switch fault

 

 

 

 

 

 

 

Bit 13  Close torque switch fault

 

Bit 13  Close torque switch fault

 

 

 

 

 

 

 

 

 

Bit 14 

Valve-operated manually

 

Bit 14 

Valve-operated manually

 

 

 

fault

 

 

fault

 

 

 

 

 

 

 

 

 

Bit 15 

Phase error

 

Bit 15 

Phase error

 

 

 

 

 

 

 

 

 

 

 

16 Bits of Field Unit Status

 

Status Register

 

 

 

 

 

 

 

 

Bits 0-9  Not Used

 

I/O Module only

 

 

 

 

 

9

N/A

 

 

Bit 10  Network Channel A fault

(Non-Valve

 

 

 

 

 

 

 

 

 

 

 

 

Bit 11  Network Channel B Fault

 

Service)

 

 

 

 

 

 

 

 

Bits 12-15  Not Used

 

 

 

 

 

 

 

Table 3.5 – Field Unit Register Definitions (continued)

Register

Register Name

Number

 

Fault Register (Not Used for I/O

10 Module)

 

MX/DDC Meaning

 

UEC-3-DDC Meaning

 

16 Bits of Field Status

 

16 Bits of Field Status

 

 

 

 

 

 

 

Bits 0-3  Not Used

 

Bit 0  Input “open verify” is not

 

 

active after open command

 

 

 

is initiated

 

 

 

 

 

Bit 4  One or more phases are

 

Bit 1  Input “close verify” is not

 

 

active after close command

 

missing

 

 

 

is initiated

 

 

 

 

 

 

 

 

Bit 5  Reverse phase sequence is

 

Bit 2  Input “open verify” is active

 

 

after open command is

 

occurring

 

 

 

de-energized

 

 

 

 

 

 

 

 

Bits 6-9  Not Used

 

Bit 3  Input “close verify” is active

 

 

after close command is

 

 

 

de-energized

 

 

 

 

 

Bit 10  Network emergency

 

Bit 4  “Ph_det” input is active. One

 

shutdown is active

 

or more phases are missing

 

 

 

 

 

Bit 11  Local PB emergency

 

Bit 5  “Ph_seq” input is active.

 

 

Reverse phase sequence is

 

shutdown is active

 

 

 

occurring

 

 

 

 

 

 

 

 

Bit 12  MX microprocessor has

 

Bit 6  Valve manually moved from

 

reset since the last poll

 

mid-travel to open

 

 

 

 

 

Bit 13  Local Stop

 

Bit 7  Valve manually moved from

 

 

open to mid-travel

 

 

 

 

 

 

 

 

Bit 14  Opening in local mode

 

Bit 8  Valve manually moved from

 

 

mid-travel to close

 

 

 

 

 

 

 

 

Bit 15  Closing in local mode

 

Bit 9  Valve manually moved from

 

 

close to mid-travel

 

 

 

 

 

 

 

 

 

 

Bit 10  Network emergency

 

 

 

shutdown is active

 

 

 

 

 

 

 

Bit 11  Local emergency shutdown

 

 

 

is active

 

 

 

 

 

 

 

Bit 12  Field Unit microprocessor

 

 

 

has reset since the last poll

 

 

 

 

 

 

 

Bit 13  Wrong rotation

 

 

 

 

 

 

 

Bit 14  Opening in local mode

 

 

 

 

 

 

 

Bit 15  Closing in local mode

 

 

 

 

12

DDC-100 Direct-to-Host Programming Guide

FCD LMAIM4019-00

FCD LMAIM4019-00

DDC-100 Direct-to-Host Programming Guide

13

Table 3.5 – Field Unit Register Definitions (continued)

Register

Register Name

MX/DDC Meaning

UEC-3-DDC Meaning

Number

 

 

 

 

 

 

 

Value of 16 Digital Outputs

 

Value of 16 Digital Outputs

 

 

 

 

 

 

 

 

 

 

 

Bit 0 

 

 

Bit 0  Close contactor (interlocked),

 

 

Close contactor (interlocked)

 

I/O Module as MOV (Motor-

 

 

 

 

 

Operated Valve)

 

 

 

 

 

 

 

 

Bit 1 

Open contactor (interlocked)

 

Bit 1  Open contactor (interlocked),

 

 

 

I/O Module as MOV

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 2 

AS-1

 

Bit 2  Lockout or User Relay 3

 

 

 

 

 

 

 

 

Bit 3 

 

 

Bit 3  UEC-3-DDC Local push-

 

 

AS-2

 

button switch LED, Relay 4

 

 

 

 

 

Clamshell and I/O Module

 

 

 

 

 

 

11

Digital Outputs

Bit 4 

 

 

Bit 4  UEC-3-DDC Local push-

AS-3

 

button switch LED, Relay 5

 

 

 

 

 

 

 

 

Clamshell and I/O Module

 

 

 

 

 

 

 

 

Bit 5 

AS-4

 

Bit 5  Relay 6 Clamshell and I/O

 

 

 

Module

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 6 

AR-1 (Opt)

 

Bit 6  Relay 2 (K2), I/O Module

 

 

 

(non-interlocked)

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 7 

AR-2 (Opt)

 

Bit 7  Relay 1 (K1), I/O Module

 

 

 

(non-interlocked)

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 8 

AR-3 (Opt)

 

Bits 8-15  Field Unit Software vs. ID

 

 

 

 

 

 

 

 

Bit 9 

Network Relay

 

 

 

 

 

 

 

 

 

Bits 10-15  Not Used

 

 

 

 

 

 

 

 

 

Value of 16 Digital Inputs

 

Value of 16 Digital Inputs

 

 

 

 

 

 

 

 

Bit 0 

Remote Switch

 

Bit 0  Remote Switch, I/O Module

 

 

 

Input 8

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 1 

Thermal Overload

 

Bit 1  Thermal Overload, I/O

 

 

 

Module Input 9

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 2 

Open Torque Switch

 

Bit 2  Open Torque Switch, I/O

 

 

 

Module Input 10

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 3 

Open Limit Switch

 

Bit 3  Open Limit Switch, I/O

 

 

 

Module Input 11

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 4 

Close Torque Switch

 

Bit 4  Close Torque Switch, I/O

 

 

 

Module Input 12

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 5 

Close Limit Switch

 

Bit 5  Close Limit Switch, I/O

 

 

 

Module Input 13

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 6 

Not Used

 

Bit 6  Aux. Open Input, I/O Module

 

 

 

Input 14

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 7 

Not Used

 

Bit 7  Aux. Close Input, I/O Module

12

Digital Inputs 1

 

Input 15

 

 

 

 

 

 

 

 

 

 

 

Bit 8 

User Input 0, terminal 21

 

Bit 8  User Input 0, I/O Module

 

 

 

Input 0

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 9 

User Input 1, terminal 10

 

Bit 9  User Input 1, I/O Module

 

 

 

Input 1

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 10 

User Input 2, terminal 9

 

Bit 10  User Input 2, I/O Module

 

 

 

Input 2

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 11 

User Input 3, terminal 6

 

Bit 11  User Input 3, I/O Module

 

 

 

Input 3

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 12 

User Input 4, terminal 7

 

Bit 12  User Input 4, I/O Module

 

 

 

Input 4

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 13 

User Input 5, terminal 5

 

Bit 13  User Input 5, I/O Module

 

 

 

Input 5

 

 

 

 

 

 

 

 

 

 

 

 

Bit 14  Opt User Input 6,

 

Bit 14  Input 6, I/O Module Input 6

 

 

 

terminal 23

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 15  Opt User Input 7,

 

Bit 15  Input 7, I/O Module Input 7

 

 

 

terminal 24

 

 

 

 

 

 

 

 

 

 

 

 

Table 3.5 – Field Unit Register Definitions (continued)

Register

Register Name

MX/DDC Meaning

UEC-3-DDC Meaning

Number

 

 

 

 

 

 

 

 

Value of 16 Digital Inputs

 

Value of 16 Digital Inputs

 

 

 

 

 

 

 

 

 

 

 

Bit 0 

Not Used

 

Bit 0  Analog Input 1 lost

 

 

 

 

 

 

 

 

Bit 1 

Not Used

 

Bit 1  Analog Input 2 lost

 

 

 

 

 

 

 

Bit 2  Analog input 1 lost

 

Bit 2  Analog Input 3 lost

 

 

 

 

 

 

 

Bit 3  Analog input 2 lost

 

Bit 3  Analog Input 4 lost

 

 

 

 

 

 

 

Bit 4  Network Channels A/B

 

Bit 4  Network Channels A/B

 

 

 

timed out

 

 

timed out

 

 

 

 

 

 

 

 

 

Bit 5 

Not Used

 

Bit 5 

Reserved

 

 

 

 

 

 

 

 

Bit 6  DDC board present

 

Bit 6 

Reserved

 

 

 

 

 

 

 

 

Bit 7  I/O option board present

 

Bit 7 

Reserved

 

 

 

 

 

 

 

13

Digital Inputs 2

Bit 8 

Not Used

 

Bit 8 

Reserved

 

 

 

 

 

 

 

Bit 9 

Not Used

 

Bit 9 

Reserved

 

 

 

 

 

 

 

 

 

Bit 10 

Not Used

 

Bit 10 

Reserved

 

 

 

 

 

 

 

 

 

Bit 11 

Not Used

 

Bit 11 

Reserved

 

 

 

 

 

 

 

 

Bit 12 

Phase lost

 

Bit 12  Phase lost input, I/O Module

 

 

 

 

Input 18

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 13 

Phase reverse

 

Bit 13  Phase reverse input, I/O

 

 

 

 

Module Input 19

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 14  Opt User Input 8,

 

Bit 14  Input 8, I/O Module Input 16

 

 

 

terminal 25

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 15 

Not Used

 

 

 

 

 

 

 

 

 

 

 

Bit 15  Input 9, I/O Module Input 17

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Value of 16 Bits

 

 

 

 

 

 

 

 

 

 

 

Bit 0  Analog Channel 1 Low

 

 

 

 

 

 

 

 

 

 

 

Bit 1  Analog Channel 2 Low

 

 

 

 

 

 

 

 

 

 

 

Bit 2  Analog Channel 3 Low

 

 

 

 

 

 

 

 

 

 

 

Bit 3  Analog Channel 4 Low

 

 

 

 

 

 

 

 

 

 

 

Bit 4  Analog Channel 1 High

 

 

 

 

 

 

 

 

 

 

 

Bit 5  Analog Channel 2 High

 

 

 

 

 

 

 

Timers and

 

 

 

Bit 6  Analog Channel 3 High

 

 

 

 

 

 

14

Bits 0-15 – Not Used

 

Bit 7  Analog Channel 4 High

Analog Channels

 

 

 

 

 

 

 

 

 

 

 

Bit 8  Open reversal time-out

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 9  Close reversal time-out

 

 

 

 

 

 

 

 

 

 

 

Bit 10  Jammed valve time-out

 

 

 

 

 

 

 

 

 

 

 

Bit 11  Network Channel A time-out

 

 

 

 

 

 

 

 

 

 

 

Bit 12  Network Channel B time-out

 

 

 

 

 

 

 

 

 

 

 

Bit 13  User 1 time-out

 

 

 

 

 

 

 

 

 

 

 

Bit 14  User 2 time-out

 

 

 

 

 

 

 

 

 

 

 

Bit 15  User 3 time-out

 

 

 

 

 

 

 

14

DDC-100 Direct-to-Host Programming Guide

FCD LMAIM4019-00

FCD LMAIM4019-00

DDC-100 Direct-to-Host Programming Guide

15

Loading...
+ 23 hidden pages