Modbus Communications

HC900 Training R4.4 – Part 3

Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc.

Slide 11

Modbus Communications HC900 data communications • For Serial Communications – Modbus RTU • For Ethernet Communications – Modbus TCP (Modbus RTU using TCP/IP framing)

Serial

Ethernet

HC900 Training R4.4 – Part 3

Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc.

Slide 12

6

Modbus Communications Addressing
• 3rd party HMI/SCADA Modbus RTU drivers should support 6 digit Modbus addressing • Modbus addressing of data is typically defined by its “memory” type, the address (decimal or hexadecimal) for the parameter, and the data type • Address examples: Parameter
Loop1 PV Loop1 AM State User-defined Tag1

Memory Type
Holding Register Holding Register Holding Register

Address
400065 400251 445057

Data Type # of Registers
Floating Pt Integer 16 Integer 16 2 1 1

Memory Type
4=Holding Register 3=Input Register (AIs) 1=Digital Inputs (DIs) 0=Digital Outputs (DOs)

445057
Modbus Decimal Address (Range of 1 to 65535 in decimal or 0 to 0xFFFE in hexadecimal)

HC900 Training R4.4 – Part 3

Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc.

Slide 13

Modbus Addressing – Holding Registers
• The HC900 uses Floating Point, 32 Bit Modbus “Holding Registers” for Read/Write Access of Block, Signal Tag & Variable data • Available 1000 user-defined register Modbus map array for Signal Tags and Variables that enables conversion to integer data type (45057-46056) • Supports Word Swap selection for transmission of floating point data (requires two 16-bit registers to send) to match HMI Modbus driver format

Default

• HC900 Communications Manual (51-52-25-111) defines all Modbus addresses

HC900 Training R4.4 – Part 3

Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc.

Slide 14

7

Accessing Modbus Addresses

Alternate user-defined address (integer 16)

HC Designer Reports list all Modbus addresses for function blocks

HC900 Training R4.4 – Part 3

Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc.

Slide 15

Modbus Master / Slave Communications

HC900 Training R4.4 – Part 3

Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc.

Slide 16

8

Serial Modbus Connection
Modbus Master Highlights
• Serial and Ethernet Modbus master connectivity • Supports concurrent serial and Ethernet connections • Only one master serial port, other serial port can be slave • Up to 32 slave devices per network • Up to 1024 data points (all devices) per network • ~1+ second update
Base Radio

Third party Devices, PLCs

OR………. Wireless Transmitters Modbus Slave Actuators Modbus Slave Controllers

Serial RS-485

Ethernet (E1 or E2)

X-Series Paperless Recorders

UDC2500/3200/3500

HC900 Training R4.4 – Part 3

Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc.

Slide 17

Serial Modbus Connection
Modbus Slave Highlights
• Either / both serial ports may be slaves • Custom Modbus address support for 3rd Party HMIs • Supports PC applications via RS-232 or RS-485 • Supports PC access via Modem (extended time-out) • Supports three Control Stations per controller via Ethernet HC Designer and/or 3rd Party Applications (SCADA) via RS-232 Modem

Modem
Each port Configurable for RS-232 or RS-485

HC Designer and/or 3rd Party Applications

Connect to one or both serial ports

Honeywell or other Controllers (DCS/PLC)

HC900 Training R4.4 – Part 3

Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc.

Slide 18

9

Serial Modbus Master / Slave Setup
Use HC Designer Utilities tab to assign HC900’s RS-232 / RS-485 serial ports as either Modbus Master or Slave

• Must have controller connected • Changes are in controller and are not part of configuration

HC900 Training R4.4 – Part 3

Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc.

Slide 19

Serial Modbus Master / Slave Setup
• Both ports can be Slave ports. Only one port can be a Master port • RS-232/RS-485 selection on CPU module (dip switches) • S1 port defaults to ELN Protocol when Run-Prog Switch is in Prog position Serial port selection tabs • Slave type: Multi-drop, point-to-point or Modem (RS-232) • Slave address: 1-247 • Double register format:
FP B – Big Endian (default) 4,3,2,1 FP LB – Little Endian, Byte Swap 2,1,4,3 FP BB – Big Endian, Byte Swap 3,4,1,2 FP L - Little Endian 1,2,3,4

• Port Enable – Enabled, Disabled • Baud Rate: 9.6 to 115.2 KB • Parity: odd, even, none • Stop bits: 1 or 2
HC900 Training R4.4 – Part 3 Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc. Slide 20

10

PC Serial Port Setup
Use Utilities Tab in HC Designer
Select PC Com Port settings to match settings of HC900 serial port: • ELN Protocol, RS-232, 115.2K bps • Modbus protocol for modem connection, RS-232/RS-485, 115.2K bps

HC900 Training R4.4 – Part 3

Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc.

Slide 21

Modbus Master Interface - Serial
Use Modbus Slave Function Blocks for Modbus Master Interface with: Controllers, Recorders, or 3rd party PLCs via HC900’s Serial Ports Write
Example –Write to DPR180/250 Com Channels

Expansion block

Read
Slide 22

HC900 Training R4.4 – Part 3

Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc.

11

Data Writes to X-Series Recorder
Modbus TCP Master Application
Ethernet

• Use Modbus / TCP Slave Block and Expansion blocks. • Write up to 96 (SX) data points (pens), Read all pen values • Need to purchase “credits” for extra pens • Modbus Protocol selection: Modbus-X • X-Series setup selections for Comm Channel Inputs assigned to Pens: • Maths type …. Full Maths • Edit Maths …. CV1 (1st Comm input), CV2, CV3, etc.

HC900 Training R4.4 – Part 3

Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc.

Slide 23

Data Writes to X-Series Recorder Pens

Comm. Channel 1 = 1880 hex, Float 32 Comm. Channel 2 = 1882 hex, Float 32 Comm. Channel 3 = 1984 hex, Float 32… (2 Registers per point)
Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc.

HC900 Training R4.4 – Part 3

Slide 24

12

Interface to XYR5000 Wireless Transmitters Serial Modbus Master Application
Serial Modbus

Base Station

• Use Modbus Slave Block and Expansion blocks

• Supports serial interface to multiple Base Radios • Each Base Radio supports up to 100 Wireless Transmitters • Dedicated Function Blocks for XYR5000 Base Radio & Transmitters

HC900 Training R4.4 – Part 3

Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc.

Slide 25

Interface to XYR5000 Wireless Transmitters

Modbus Address must match Base Station Dev ID

Base Station Modbus Baud Rate & Parity must match HC900 Serial Port Base Station Modbus Map selection = Regmode

Node ID# must match Transmitter RF ID
HC900 Training R4.4 – Part 3 Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc. Slide 26

13

Interface to XYR6000 Wireless Transmitters Modbus/TCP Master Application

Wireless Builder Software

Modbus/TCP over Ethernet

XYR6000 Wireless Transmitter Data to HC900 Controllers via Modbus TCP Master • Process Monitoring and Alarming • Totalize and compute summaries • Provide data to supervisory systems

HC900 Controller

HC900 Training R4.4 – Part 3

Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc.

Slide 27

Modbus TCP Master Lab

HC900 Training R4.4 – Part 3

Honeywell Confidential and Proprietary Copyright © 2013 Honeywell International Inc.

Slide 28

14

Master your semester with Scribd & The New York Times

Special offer for students: Only $4.99/month.

Master your semester with Scribd & The New York Times

Cancel anytime.