APPLICATION NOTE MODBUS TCP COMMUNICATION HIMA H41q/H51q ↔ Emerson Process Management DeltaV HIMA Paul Hildebrandt GmbH + Co KG Industrial Automation
Important Notes All HIMA products mentioned in this manual are protected under HIMA trademark. Unless not explicitily noted, this may apply for other referenced manufacturers and their respective products. All technical statements and data in this manual have been worked out very carefully, and effective checks and inspections have been applied. This manual may however contain flaws or typesetting errors.
Table of Contents 1. Introduction ................................................................................................................................... 1 2. Described Configuration .............................................................................................................. 2 2.1. Detailed System Layout ......................................................................................................... 2 2.2. Configuration of H41q/H51q Hard- and Software ...........
Modbus TCP Communication HIMA H41q/H51q ↔ Emerson DeltaV 1. Introduction There is an increasing need for fast and voluminous data transmission between HIMA Safety PESs and different DCSs. Modbus TCP is a protocol which can fulfil this need. Modbus TCP communication combines the proven reliability of the Modbus protocol with the flexibility and speed of Ethernet networks. The well known Modbus Telegrams are coded into TCP packages and can than be communicated via Ethernet.
Modbus TCP Communication HIMA H41q/H51q ↔ Emerson DeltaV 2. Described Configuration 2.1. Detailed System Layout The detailed hardware layout on which this Application Note is based is shown in Figure 2.1. Figure 2.
Modbus TCP Communication HIMA H41q/H51q ↔ Emerson DeltaV Setting Bus Station Number (BSN): The Bus Station Number is the address under which the safety PESs are addressed when serial communication via RS-485 is used. This address should be the same like the numbers ending the resource name in ELOP II from which the IP-Address is generated (see chapter 2.2.2 for details). There is one DIP-switch on each H41q/H51q CPU (e.g.
Modbus TCP Communication HIMA H41q/H51q ↔ Emerson DeltaV Definition of the H41q/H51q´s IP Address: The IP address of an H41q/H51q safety PES is defined through its resource name in ELOP II and consists of two subsequent addresses in network 192.168.0.x. The resource name must have eight alphanumeric characters and mustn’t contain any spaces. For IP addressing the last two characters must be numbers.
Modbus TCP Communication HIMA H41q/H51q ↔ Emerson DeltaV Note 1: Variables defined as Import/Export use separate addresses for reading and for writing, according to Modbus conventions. Thus an Import/Export variable reserves twice as much memory space as an equivalent Export or Import variable. Import/Export addresses must be projected in both (read and write) memory areas. Boolean variables can be made an event by checking the Event check box beneath the “Event handling” tab.
Modbus TCP Communication HIMA H41q/H51q ↔ Emerson DeltaV The configuration of the VIM is carried out with Mynah’s “VIMNet Explorer” which is not necessary for operation of the VIMs and can therefore be installed on a separate computer which needn’t be permanently connected to the communication network.
Modbus TCP Communication HIMA H41q/H51q ↔ Emerson DeltaV Figure 2.6: VIM Device Properties Note 5: HIMA’s ethernet communication module F 8627X replies until firmware revision 4.14 with device address 255, regardless of its actual device address being set via DIP switches to the CPU. The DeltaV Modbus master should therefore be configured for this address because it would otherwise not accept protocols with this reply address. 6. Have a look at the area “Decommissioned VIMs” in VIMNet Explorer.
Modbus TCP Communication HIMA H41q/H51q ↔ Emerson DeltaV Figure 2.7: DeltaV Serial Port Properties The “Retry Count” is recommended to be set to 3 so that delays in request processing on the slave side do not provoke communication disruptions. The “Message Timeout” could be set to slower values like the used 2000 ms but should be set to times well above the PESs cycle time.
Modbus TCP Communication HIMA H41q/H51q ↔ Emerson DeltaV As an example the dataset configuration for output of real values is shown in Figure 2.8. Using the output read back option on the general tab requires definition the corresponding variables in the H41q/H51q PES as “Import/Export”. The dataset is assigned a dataset tag with which it can be browsed out of the application logic of the DeltaV control modules.
Modbus TCP Communication HIMA H41q/H51q ↔ Emerson DeltaV These blocks can be imported as needed via the bulk import feature of DeltaV and than be copied together in one control module for import and one control module for export of binary data. 2.4. Validation of Modbus TCP Communication The Modbus TCP communication between the H41q/H51q PES and the DeltaV DCS is supervised through the VIM Modbus TCP Master.
Modbus TCP Communication HIMA H41q/H51q ↔ Emerson DeltaV 4. Recommended Literature [1] HIMA Programmable Systems “The H41q and H51q System Families, Catalogue” HIMA GmbH + Co. KG Bruehl, Germany, 2007 [2] HIMA Programmable Systems “The H41q and H51q System Families Datasheets for Central Modules F 8650X, F 8651X, F 8652X, F 8653X” HIMA GmbH + Co. KG Bruehl, Germany, 2007 [3] HIMA Programmable Systems “The H41q and H51q System Families Datasheet for Module F 8627X” HIMA GmbH + Co.
Modbus TCP Communication HIMA H41q/H51q ↔ Emerson DeltaV 5. Document Revision and Release History Revison: Contents / Changes: 12 Release Date: 1.00 Initial Release with redundant Modbus TCP connection between HIMA F 8627X (SW: V4.14) and Mynah VIM (SW: V3.6.3). 2007-02-13 1.01 Minor improvements of graphically faulty embedded pictures.
HIMA Paul Hildebrandt GmbH + Co KG Industrial Automation PO-Box 1261 68777 Brühl, Germany Phone: +49 (6202) 709-0 Fax: +49 (6202) 709-107 Email: info@hima.com Internet: www.hima.com © by HIMA Paul Hildebrandt GmbH + Co KG HIMA ...