Connecting UniOP as Modbus/TCP Server

Similar documents
Connecting UniOP as a Modbus Slave

Modbus TCP Server Driver for JMobile

Connecting UniOP to Fatek Controllers with Facon Protocol

Connecting UniOP to Unidrive SP with Modbus CMP Protocol

Connecting UniOP to Omron PLCs with the FINS Protocol

Connecting UniOP to Galil/Yaskawa controllers

Connecting UniOP to Beckhoff ADS Ethernet

Connecting UniOP Using Generic Modbus RTU

Connecting UniOP to Moeller Easy800

Connecting UniOP to CoDeSys Controllers via Ethernet

Getting started with UniOP and CoDeSys integrated controller

Connecting UniOP to Modbus/TCP

Getting started with JMobile Suite

Connecting UniOP to Datalogic Barcode Readers

Contents 1. Introduction

Getting Started with UniOP B Series Panels

Newsletter. Communicate and Stay in Control. In This Issue

Ethernet Connectivity for UniOP

ABB Modbus RTU Driver for JMobile

UniOP epad03 and epad04

UniOP CP01R-04, CP05R-04 and CP01F-02

Modbus TCP Driver for JMobile

Control Techniques Unidrive - Modbus CMP Ethernet Driver for JMobile

Profibus DP Driver for JMobile

Compact HMI devices with 9 function keys, numerical keypad and 20 characters display.

Compact HMI devices with 5 function keys, numerical keypad and 20 characters display.

Mitsubishi FX Driver for JMobile

The UniDataExchanger is a tool that allows an easier handling of the file transfer to and from UniOP operator panels. Contents

Mitsubishi FX Ethernet Driver for JMobile

List of Technical Notes

Conformance Test Policy for the Modbus/TCP Conformance Test Laboratory. Version 2.0. The University of Michigan Modbus/TCP Conformance Test Laboratory

ROC Plus Communication Driver for JMobile

19.Configure HMI as a MODBUS Server

UniOP epad30, epad32. Tech-note PN# tn171-3.doc - 03/10/ Ver Highlights

Using Ethernet Port Isolation on the 2500P-ECC1 Ethernet Communications Coprocessor

Control with UniOP. Tech-note PN# tn137-2.doc - 29/07/ Ver Contents

Lufkin Modbus Serial Driver Help Kepware Technologies

Alstom Redundant Ethernet Driver Help Kepware Technologies

CANopen HMI Communication Driver for JMobile

Modbus TCP/IP Ethernet Driver Help Kepware Technologies

CTI 2500P-ECC1 Communications Coprocessor User Manual Version 1.6

Conformance Test Policy for the Modbus/TCP Conformance Test Laboratory. Version 1.1. The University of Michigan Modbus/TCP Conformance Test Laboratory

Modbus RTU Serial Driver Help 2010 Kepware Technologies

Updating Systems Components in UniOP Series 400 Products

General MODBUS TCP Master Driver

Set HMI as a MODBUS Server

Modbus RTU Serial Driver Help 2009 Kepware Technologies

Revision 1.2. July 24, COM Protocol Manual. for MDC and ADC N 11th St - San Jose CA

This document is for information purposes only and is subject to change without notice.

Panasonic FP Serial Driver for JMobile

UniOP Command Summary

TECH-NOTE. The Keyboard Macro Editor. The Keyboard Macro Editor Dialog Box

Modicon Modbus Driver

CODESYS V2.3 Ethernet Driver for JMobile

DIVUS OPTIMA Modbus Module - Manual. 1. Modbus Module Manual. Version 1.0 REV

PRT-CTRL Protege Integrated System Controller ModBUS RTU Register Definition Monitoring Applications

QuickStart Guide. Configuring a RedLion HMI to communicate with an MPiec Controller via MODBUS/TCP using Crimson 3

Connecting UniOP to Profibus DP TI

JMobile Suite User Manual

Modbus Unsolicited Serial Driver PTC Inc. All Rights Reserved.

Omron FINS Ethernet Driver for JMobile

EZ-ETHERNET APPLICATION GUIDE

Application Note 4: X-Series Recorder OPC Access

Using Modbus TCP with Brainboxes products

DeviceMaster UP Modbus Controller to Controller Communication

Title: Can I use Ethernet to read and write values to my HMI?

P2 Configuration Guide

CTI 2572-B / 2500C-2572-B ETHERNET TCP/IP MODULE INSTALLATION AND OPERATION GUIDE. Version 2.5

DL3500-DH+/MODBUS COMMUNICATION CONTROLLER APPLICATION NOTE

DeviceMaster UP Modbus Router Shared Memory Controller to Controller Communication

JMobile V2.6 SP1 Release Notes

How to configure an Anybus Modbus-TCP slave module with Unity Pro L

Honeywell HC900 Ethernet Driver Help Kepware Technologies

Note: the wiring of the dead-man buttons has been changed since October 2001.

Omron NJ Ethernet Driver Help Kepware Technologies

Title: How Do I Use Keypads in EZware- 500?

How to Configure MODBUS TCP/IP in Proficy HMI/SCADA CIMPLICITY V1.1

AnyBus -X Modbus Plus Slave

FCM-MTCP. Software User's Manual. Field Communication Module. Modbus/TCP and Modbus/UDP slave

Project Upgrade Checklist v3.5 GE CIMPLICITY

cmt-g01 with OPC UA Server and Modbus Gateway

Omron NJ Ethernet Driver Kepware, Inc.

Cutler-Hammer ELC Serial Driver Help Kepware Technologies

Connecting UniOP to Simatic S7 Profibus

Simatic S7 Ethernet driver for JMobile

Yaskawa MP Series Ethernet Driver PTC Inc. All Rights Reserved.

UDA2182 Communications User Guide

This document is for information purposes only and is subject to change without notice.

Using an EXOR HMI with an SMLC

Conformance Test Policy for the Modbus/TCP Conformance Test Laboratory. Version 1.0. The University of Michigan Modbus/TCP Conformance Test Laboratory

Operating guide. OPC server for ECL Comfort 310. Table of Contents

MBX Network Browser Help 2010 Kepware Technologies

Modbus Ethernet Driver PTC Inc. All Rights Reserved.

Modbus ASCII Serial Device Driver Help 2009 Kepware Technologies

Modbus/TCP is supported on some controllers. See QCI-AN028 Modbus TCP.

AN-POV-003 Using the radio button and check-box objects

Modbus Hans-Petter Halvorsen

Advantech WebAccess Device Driver Guide. ASI Controls LinkOPC Server Device Driver Guide

Experion LX Safety Manager Integration Guide

W600/W900 Modbus. Instruction Manual

Transcription:

Connecting UniOP as Modbus/TCP Server This Technical Note describes the UniOP implementation of the Modbus/TCP Server protocol. Using this communication driver, multiple UniOP HMI panels acting as Servers can be connected to a Modbus/TCP network. A subset of the standard Modbus function codes has been implemented to allow for an easy and efficient information flow between the Clients on the network and the UniOP Servers. Important: this Technical Note applies to Modbus/TCP communication driver identified by the name Modbus/TCP SRV and included in the Designer files D32Uplc203.DLL. This communication driver requires an operator panel of hardware type 0045 or newer with firmware release 5.30 or higher and equipped with a communication module type SCM11with firmware release 2.01G or SCM11-C with firmware release 4.01G. Contents 1 Introduction...3 2 Principle of Operation...4 3 UniOP Programming...5 Appendix A. Communication Error Codes...7 Appendix B. Requirements...8 Appendix C. Implementation Details...9 Connecting UniOP as Modbus/TCP Server 1

Tn210 Ver. 1.01 2005 Sitek S.p.A. Verona, Italy Subject to change without notice The information contained in this document is provided for informational purposes only. While efforts were made to verify the accuracy of the information contained in this documentation, it is provided as is without warranty of any kind. www.exor-rd.com Connecting UniOP as Modbus/TCP Server 2

1 Introduction The Modbus/TCP SRV communication driver lets you connect UniOP as a Server in a Modbus/TCP network. It is possible for Modbus/TCP Clients to connect then to multiple UniOP HMI panels acting as Servers. The information exchange will use standard Modbus messages over TCP/IP. This approach will also offer an interesting way to connect UniOP HMI panels to SCADA systems through the universally supported Modbus/TCP communication protocol. Connecting UniOP as Modbus/TCP Server 3

2 Principle of Operation This communication driver will implement a Modbus/TCP Server unit in UniOP. A subset of the complete range of Modbus Function Codes will be supported. The available Function Codes will allow the transfer of data between Clients on the TCP network and the Server. The diagram in Figure 1 shows the system architecture. Note that UniOP is actually simulating the communication interface of a PLC: it has two data types (Coils and Registers) that are respectively Boolean and 16 bit integers. UniOP will always access data in its internal memory. Data can be transferred to and from the Modbus Client only on the initiative of the Client itself. Modbus/TCP Host Modbus Client Modbus/TCP Network Modbus Server Modbus Server Modbus Server Registers Coils Registers Coils Registers Coils Figure 1 System Architecture Connecting UniOP as Modbus/TCP Server 4

3 UniOP Programming To configure UniOP for operation as a Server in a Modbus TCP network, follow the steps listed in this chapter. 1) Choose the communication driver Modbus/TCP SRV from the list in the Select Controller dialog box. The Controller Setup button can then be pressed to display the Modbus/TCP SRV Controller Setup dialog box as shown in Figure 2. Figure 2 Controller Setup dialog box 2) By default, the Modbus TCP protocol uses port 502 for communication with the nodes in the network. Unless your network uses a different port you should leave the Port setting to the default value of 502 otherwise set it to the value expected by your Modbus TCP network. 3) The Controller Setup dialog box allows you to select between two different flavours of Modbus/TCP. You can select the flavour most appropriate for your needs. The Generic Modbus/TCP Offset 0 model type implements a Holding Register range of between 40000 and 41098 and an Output Coils range of between 0 and 9998. The Generic Modbus/TCP Offset 1 model type, on the other hand, implements a Holding Register range of between 40001 and 41099 and an Output Coils range of between 1 and 9999. Please note that the address range used in the Modbus frames will always be respectively between 0 and 1098 for the Holding Registers and between 0 an 9998 for Coils. 4) UniOP is a Server in a TCP network and will exchange data with one or more Clients in the network. Every UniOP in the network must be assigned its own IP address. This can be set in the Panel Setup dialog box. This dialog box is displayed by selecting the Project menu item and by then selecting the Panel Setup option. Selecting the External Devices tab allows you to enter the IP address of the UniOP panel as shown below Connecting UniOP as Modbus/TCP Server 5

Figure 3 Panel Setup dialog box 5) The RDA (Reserved Data Area), mailbox and alarms can be freely positioned in the UniOP Register area. 6) Dynamic data fields (variables) can be defined in the conventional way using the Data Field Definition dialog box (see figure below). Note that referencing a coil or register will always result in accessing the UniOP internal memory. Data can be transferred over the Modbus TCP link only on the initiative of the Modbus Client. Figure 4 Data Field Definition dialog box Connecting UniOP as Modbus/TCP Server 6

Appendix A. Communication Error Codes UniOP is a Server station in the Modbus TCP network. The current implementation of the protocol will not report any communication error code in the System Menu page. Connecting UniOP as Modbus/TCP Server 7

Appendix B. Requirements The following requirements apply to this communication driver: Designer and Firmware Designer File Panel firmware version Communication Modules SCM11 SCM11-C D32Uplc203.dll 5.40 or higher 2.01G or higher 4.01G or higher Connecting UniOP as Modbus/TCP Server 8

Appendix C. Implementation Details This Modbus TCP Server implementation supports only a subset of the standard Modbus Function Codes. Only the Function Codes necessary for the data exchange between UniOP and a Modbus TCP Client have been implemented. The supported Function Codes are listed in the table below. Code Function Description 01 Read Coil Status Reads multiple bits in the UniOP Coil area 02 Read Input Status Reads multiple bits in the UniOP Coil area 03 Read Holding Registers Read multiple UniOP Registers 03 Read Input Registers Read multiple UniOP Registers 05 Force Single Coil Forces a single UniOP Coil to either ON or OFF 06 Preset Single Register Presets a value in a UniOP Register 15 Force Multiple Coils Forces multiple UniOP Coils to either ON or OFF 16 Preset Multiple Registers Presets value in multiple UniOP Registers UniOP will return the Exception Code 01 (Illegal Function) if the Function Code received in the query is not supported. The amount of memory available in UniOP is as follows: Data Type Type Range Coils Bit 0 9998 Registers Word 0 1098 UniOP will return the Exception Code 02 (Illegal Data Address) if the Data Address received in the query exceeds the predefined data ranges. Please note that for the Generic Modbus/TCP Offset 1 and Generic Modbus/TCP Offset 0 model types the Read Coil Status and Read Input Status function codes both access the same Coil memory area in the UniOP memory. Also, the Read Holding Registers and Read Input Registers function codes both access the same Register area in the UniOP memory. Please note that a single UniOP Modbus TCP Server can only support a maximum of 3 concurrent connections. This means that up to 3 Clients could be connected to a UniOP Modbus TCP Server at the same time. However, a 4 th Client, should it attempt to connect while the other 3 Clients are connected, will be unable to do so. Connecting UniOP as Modbus/TCP Server 9