Connecting UniOP to Modbus/TCP

Similar documents
Connecting UniOP Using Generic Modbus RTU

Modbus TCP Driver for JMobile

Connecting UniOP as Modbus/TCP Server

Connecting UniOP as a Modbus Slave

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

General MODBUS TCP Master Driver

Table of Contents. i-vu Open Link

Connecting UniOP to Beckhoff ADS Ethernet

Modbus/TCP NETIO M2M API protocols docs

GP-PRO/PBIII for Windows Device/PLC CONNECTION MANUAL ADDITIONAL MANUAL. Hioki E.E. Corporation Controller Smart Site

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

1. MODBUS / TCP SERVER CONFIGURATION

Device/PLC Connection Manuals

EZ-ETHERNET APPLICATION GUIDE

P2 Configuration Guide

ABB Modbus RTU Driver for JMobile

Modbus TCP Server Driver for JMobile

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

DeviceMaster UP Modbus Controller to Controller Communication

Connecting UniOP to CoDeSys Controllers via Ethernet

Please refer to application note AN00129 for further details on HCP2 configuration in ABB motion control products.

Connecting UniOP to Simatic S7 Profibus

Motortronics VirtualSCADA VS2-MT Communication Gateway VS2-MT User Manual Revision

Operation Manual First Edition

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

Dialog Box Displaying the VPN Connection Status.

eztcp Technical Documents Internet Switch Caution: Specifications of this document may be changed without prior notice for improvement

Any device, including routers and hosts, is running an implementation of IP address Host

Connecting UniOP to Profibus DP TI

MODBUS Network Communication

Modicon Modbus Driver

Connecting UniOP to Simatic S7 MPI

Description of options. user s manual. DEIF A/S Frisenborgvej 33 DK-7800 Skive Tel.: Fax:

Instruction Manual. Save These Instructions. Centrifugal Compressor Control System. Model Xe-145F Modbus. Instruction Manual

Connecting UniOP to Omron PLCs with the FINS Protocol

Industrial-Automation System HIMatrix. MODBUS Master/Slave. Manual

FA-M3 Ethernet (TCP) Driver

IPM-01 / IPM-01H MODBUS TCP/RTU Bridge User Guide

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

GE MDS, LLC. NETio Series. Protocol Communications Supplement. March 2013 Part No A01, Rev. C

USER MANUAL Z-KEY MODBUS ETHERNET SERIAL GATEWAY AND SERIAL DEVICE SERVER. Via Austria, PADOVA ITALY

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

2 Preparation. 2.1 Items to Check Connecting PC with GP Setting PC Network Setting GP Network...

Connecting UniOP to K-M Profibus DP

Serial MBX Driver Help Serial MBX Driver for Modbus Networks

Overview. Table of contents

Control Techniques Unidrive - Modbus CMP Ethernet Driver for JMobile

ACS Stepper _10_Modbus LINEAR SOLUTIONS MADE EASY

Connecting UniOP to Unidrive SP with Modbus CMP Protocol

Du line. Dupline Field- and Installationbus Dupline Ethernet Modbus/TCP Gateway Type G G Type Selection

Just enough TCP/IP. Protocol Overview. Connection Types in TCP/IP. Control Mechanisms. Borrowed from my ITS475/575 class the ITL

QUCM Limitorque Controller

Industrial 1-port RS422/485 Modbus Gateway IMG-110T

ECAN-240. (Modbus TCP to 2-port CAN Bus Gateway User manual) ECAN-240 Modbus TCP to 2-port CAN Bus Gateway User Manual, Version 1.0.

Installation and Programming Manual

How-To. Modbus-TCP communication between CelciuX and NJ. History

IntesisBox Modbus Server - BACnet/IP Client

YJKP with Mitsubishi Q series PLC control via Modbus TCP

Alstom Redundant Ethernet Driver Help Kepware Technologies

Connecting UniOP to the ABB 07KT97 Controllers

cmt-g01 with OPC UA Server and Modbus Gateway

Cutler-Hammer Ethernet Products Modicon Quantum PLC Connectivity Application Note

Modbus TCP Client Ethernet Modbus TCP Client Modbus TCP Server Ethernet Modbus TCP Server 5

RS232+LAN INTERFACE USER MANUAL

Connecting UniOP to Moeller Easy800

Magelis XBT-G Modbus (RTU) driver. eng

Modbus Remote Communication Protocol for REM 54_. Technical Description

Connecting UniOP to Datalogic Barcode Readers

DEFAULT IP ADDRESS

Ethernet MBX Driver Help Ethernet MBX Driver for Modbus TCP Networks

Serial to Ethernet Converter

SE-330 SERIES (NEW REVISION) MODBUS/TCP INTERFACE

Understanding timeout settings in Digi One IAP. February

2 Preparation. 2.1 Items to Check Connecting PC with GP Setting PC Network Setting GP Network

Industrial 2-port RS422/485 Modbus Gateway IMG-120T

ICC. Modbus/TCP Client Driver Manual INDUSTRIAL CONTROL COMMUNICATIONS, INC Industrial Control Communications, Inc.

CONTROLLER INFORMATION SHEET

Getting Started with Modbus TCP/IP for AC Tech Drives

Lufkin Modbus Serial Driver Help Kepware Technologies

Chapter 5: Communications 5 1 SR55 Communications Overview 5 2

Smart3G pn5732p Ethernet PLC. User Guide

Host Controller Systems. Instruction Manual

Golander Peristaltic Pump MODBUS Communication Instruction

MOD-MUX MODBUS TCP I/O PRODUCTS

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

WebAccess Driver Configuration Manual

FNL Modbus TCP Interface

SIXNET EtherTRAK Driver PTC Inc. All Rights Reserved.

DTBR-E Ethernet Communication. Distributor. User s Manual

HC900 Hybrid Controller When you need more than just discrete control

DeviceMaster UP Modbus Router Shared Memory Controller to Controller Communication

R6-NE1 BEFORE USE... POINTS OF CAUTION INSTRUCTION MANUAL ETHERNET INTERFACE MODULE MODEL. (Modbus/TCP, for 32-point analog signals)

1. What type of network cable is used between a terminal and a console port? cross-over straight-through rollover patch cable 2.

ACE PLUS CORP. APCON100 series Operation Manual RS-232 to Ethernet Converter

DATRAN XL4 RTU Modbus Interface

TECHNICAL NOTE TNOI38

CONTROLLER INFORMATION SHEET

19.Configure HMI as a MODBUS Server

CHAPTER 7 ADVANCED ADMINISTRATION PC

Using Modbus TCP with Brainboxes products

Transcription:

Connecting UniOP to Modbus/TCP This Technical Note contains the information needed to connect UniOP to control devices using the Modbus/TCP protocol over Ethernet. Contents 1. Introduction... 1 1.1 Communication Media... 1 2. Setting up the Device for Communication... 2 3. Setting up UniOP... 2 3.1 Controller Setup... 2 3.2 Panel Setup... 4 4. Modbus/TCP Data Types... 5 5. Converting Projects... 5 5.1 Converting Serial Modbus Projects to Modbus/TCP projects... 6 5.2 Converting Modbus/TCP projects to Serial Modbus projects... 6 Appendix A. Communication Error Codes... 7 Appendix B. Implementation Details... 8 Appendix C. Requirements and Compatibility... 9 1. Introduction The Modbus/TCP protocol is included in the Designer file UPLC160.DLL. UniOP operator panels can be connected to an Ethernet TCP/IP network using the Modbus/TCP communication protocol. The optional SCM11 communication module is required to communicate over the 10 Mbit Ethernet using the TCP/IP protocol. The ETAD01 adapter is required to connect to the Ethernet using standard UTP patch cable. 1.1 Communication Media The supported Ethernet physical layer is 10BASE-T. The SCM11 module requires the ETAD01 adapter to convert the 9-pin connector of the AUX port to the standard Ethernet 10BASE-T RJ45 connector. The adapter is delivered with the communication module. Page 1

2. Setting up the Device for Communication Various Modbus/TCP-capable devices can be connected to the UniOP operator panel. To set-up your Modbus/TCP device please refer to the documentation you received with the device. UniOP identifies Modbus/TCP devices using their IP addresses. You should take note of these addresses as you assign them because you will need them later in the set-up phase of the user interface application. Different physical media, gateways, routers and hubs can be used in the communication network. Also, other devices can independently make simultaneous use of the network. However, it is important to ensure that the traffic generated by these devices does not degrade the communication speed (round-trip time) to an unacceptable level. Too slow communication between the UniOP and the Modbus/TCP device may result in low display update rate. The UniOP implementation of the protocol operates as a Modbus/TCP client only. The UniOP Modbus/TCP protocol uses the standard port number 502 as the destination port. UniOP Modbus/TCP protocol supports the standard commonly referred as Ethernet II. 3. Setting up UniOP To create a UniOP application for Modbus over Ethernet, select the driver Modbus/TCP from the list of available communication drivers in the Change Controller Driver dialog box. 3.1 Controller Setup Figure 1 below shows the "Controller Setup..." dialog box for the Modbus/TCP protocol. Page 2

Figure 1 - Controller Setup dialog box The IP address identifies the Modbus/TCP device on the network. The Unit Identifier is rarely used and in most cases can be left zero. The value of the Unit Identifier is simply copied into the Unit Identifier field of the Modbus/TCP communication frame. Usually it is used when communicating over Ethernet-to-Serial bridges and is then representing the Slave ID. The Disable Modicon Mode checkbox allows specifying whenever the addressing mode should follow the original Modicon standard, or a more general approach where the address for the variables starts from index zero. If Modicon Mode is enabled, the legal range for each data type is: 1...65536. If Modicon Mode is disabled, the legal range for each data type is: 0...65535. Please note that the permissible addressing range does not mean that the controller connected to the panel is actually containing that amount of variables. One of two PLC models can be chosen. Selecting the Generic ModbusTCP PLC model will indicate to UniOP that it is allowed to access multiple data items at once resulting in greater display refresh ratio. Selecting the Generic ModbusTCP - no data blocks will force the UniOP to access single data item only per communication session. This will, of course, slow down the display refresh ratio, but can be useful when communicating to devices that have only basic Modbus functionality implemented. Check appendix B for more details. The Time-out parameter defines the time inserted by the protocol between two retries of the same message. It is expressed in milliseconds. The Port parameter allows to change the default port number used by the Modbus TCP driver; it could be useful whenever the communication passes through Routers or Internet gateways where the default port number is already in use. Two radio buttons are available to specify what Modbus Function will be used for write operations to the Holding Registers data type. The user can select between the function 06 (preset single register) and function 16 (preset multiple registers). Page 3

If the Modbus function 06 is selected, the protocol will always use function 06 to write to the controller, even to write multiple consecutive registers. If the Modbus function 16 is selected, the protocol will always use function 16 to write to the controller, even for a single register write request and the Byte Count parameter of the query is set to two. Using function 16 may result in higher communication performance By default the Modbus Function 16 is used and should be disabled only for those controller that to dot support it. The protocol allows the connection to multiple Modbus/TCP devices connected to one UniOP panel. In that case, the Access Multiple Drives option has to be used. The dialog box will change and will appear as shown below in Figure 2. Figure 2 - Controller Setup Dialog Box for multiple controllers By Pressing down the Add button you may add new Modbus/TCP devices to the network and enter their IP address. UniOP can communicate with several Modbus/TCP devices. 3.2 Panel Setup The operator panel must have an IP address to connect to Ethernet. The IP address of the panel must be entered in Panel Setup dialog box in the tab External Devices. Enter the IP address in the Ethernet board field as shown in Figure 3 below. Page 4

Figure 3 4. Modbus/TCP Data Types The following standard Modbus data types can be accessed using the UniOP implementation of the Modbus/TCP protocol: Data type Input bits Output coils Holding registers Input registers Access mode read only read/write read/write read only Up to 65535 variables of each data type can be addressed. 5. Converting Projects The Modbus/TCP is compatible with several other Modbus protocols and projects can be easily converted among them. However, as the Modbus/TCP is an Ethernet-based protocol, some special steps have to be followed when converting from or to a serial Modbus driver. Page 5

5.1 Converting Serial Modbus Projects to Modbus/TCP projects 1. Modify Slave ID s in the project configured for serial Modbus and make sure that they all follow the increasing sequence 1,2,3...n, where n is the number of slaves used in the project. 2. Convert the project to Modbus/TCP. 3. Open the Controller Setup dialog box and create the PLC network including n nodes with unique IP addresses. The driver will link the first Modbus/TCP node to all PLC references previously linked to the PLC node with Slave ID number 1 and so on. 5.2 Converting Modbus/TCP projects to Serial Modbus projects 1. Convert the project to the serial Modbus driver. 2. Open the Controller Setup dialog box and create the PLC network with as many slave nodes as there were before the conversion (n). Set Slave ID numbers in the increasing sequence 1,2,3...n. 3. The first IP address in the list is converted to Slave ID 1, the second IP address in the list is converted to Slave ID 2, and so on. 4. Return to Controller Setup and adjust Slave ID s according to the actual configuration of the serial Modbus network. Page 6

Appendix A. Communication Error Codes Current communication status is displayed in the System Menu of the UniOP. A message and a numeric error code describe the error status. The message reports the current communication status. The number shows the code of the current communication error or, if the communication is correct, the code of the last error encountered. When the error code 0 is shown, it means there have been no communication errors since this system start-up. Code Description Notes 00 No error There are no communication errors and there have been no errors since start-up. 05 Time out (receiving) No response received from the controller within the timeout period (2 sec). 06 Response error Received frame is shorter than expected 07 General communication error The panel hardware and firmware does not support TCP/IP. The Modbus/TCP Controller returned some exception. See the Modbus/TCP specification for description of exception. 09 Time out (sending) The protocol could not send data for a long time (6 sec). Page 7

Appendix B. Implementation Details This Modbus/TCP implementation supports only a subset of the standard Modbus/TCP Function Codes. 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 Read the ON/OFF status of the discrete inputs (1x reference) in the slave 03 Read Holding Registers Read multiple Registers 04 Read Input Registers Reads the binary contents of input registers (3x reference) in the slave 05 Force Single Coil Forces a single Coil to either ON or OFF 06 Preset Single Register* Presets a value in a Register 16 Preset Multiple Registers* Presets value in multiple Registers * When the Generic ModbusTCP PLC model is selected in the Controller Setup (see chapter 3.1), function code 16 (preset multiple registers) will always be used for writing Holding Registers, even if there is no need to write more than a single Holding Register. Instead, when the Generic ModbusTCP no data blocks PLC model is selected, function 06 (preset single register) will be always used for writing to Holding Registers data type. Page 8

Appendix C. Requirements and Compatibility This communication driver is included in the Designer DLL file UPLC160.DLL. The initial release level is 3.00 for the communication driver and 5.00 for the DLL (both version numbers can be seen in the Change Controller Driver dialog box of the Designer software). A communication module of type SCM11 is required. The UniOP panel must have hardware type -0045 or -0050; firmware version number 4.42 or higher is required to support operation with the SCM11 module. Page 9