Connecting UniOP as a Modbus Slave

Similar documents
Connecting UniOP as Modbus/TCP Server

Connecting UniOP Using Generic Modbus RTU

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 Moeller Easy800

Connecting UniOP to Omron PLCs with the FINS Protocol

Connecting UniOP to Galil/Yaskawa controllers

Connecting UniOP to Beckhoff ADS Ethernet

ABB Modbus RTU Driver for JMobile

Connecting UniOP to CoDeSys Controllers via Ethernet

Getting started with JMobile Suite

Profibus DP Driver for JMobile

Panasonic FP Serial Driver for JMobile

Connecting UniOP to Datalogic Barcode Readers

Connecting UniOP to Modbus/TCP

Getting started with UniOP and CoDeSys integrated controller

Modbus TCP Driver for JMobile

CANopen HMI Communication Driver for JMobile

Contents 1. Introduction

Ethernet Connectivity for UniOP

Control Techniques Unidrive - Modbus CMP Ethernet Driver for JMobile

Getting Started with UniOP B Series Panels

ROC Plus Communication Driver for JMobile

CTI 2573-MOD and CTI 2573-TCM2 SERIAL DEVICE INTERFACE ADAPTER INSTALLATION AND OPERATION GUIDE Version 2.4

Chapter 1. Introduction. Additional Documentation

UniOP epad03 and epad04

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

Mitsubishi FX Ethernet Driver for JMobile

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

PoolPak SWHP Series ECCIII Modbus RTU BAS Interface DOCUMENT #: SVW05-ECCIIIMODBUS

Modbus Hans-Petter Halvorsen

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

This command can be used for reading the current state of one or several digital inputs, according to the table below.

UniOP Command Summary

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

Newsletter. Communicate and Stay in Control. In This Issue

Modbus RTU/TCP Installation and Programming Guide PC3400 Particle Counter

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

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

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

Modbus Unsolicited Serial Driver PTC Inc. All Rights Reserved.

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

Write Message to Trendview recorder via Modbus. Dan Weise, Lesman Instrument Co rev2a

INTELLIS. Modbus Direct Network Monitor

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

CODESYS V2.3 Ethernet Driver for JMobile

Updating Systems Components in UniOP Series 400 Products

User Guide Supplement Modbus TM Serial Data Communications Option IM/C100 MOD_6. /8 DIN Process Indicators and Controllers C100, C150, C160 and V100

VERIS H8035 and H8036

DL3500-DH+/MODBUS COMMUNICATION CONTROLLER APPLICATION NOTE

Modbus ASCII Serial Device Driver Help 2009 Kepware Technologies

Operating Guide MODBUS (RTU) Communications Option IM/L150 MOD_2. Level Indicator L150 and L160

Golander Peristaltic Pump MODBUS Communication Instruction

Modbus Ethernet Driver PTC Inc. All Rights Reserved.

Document Name: User Manual for SC10MK, Modbus RTU to Modbus TCP Converter

IntelliSense Application Note 1

Modbus on K45 asense. Table of contents:

Appendix B: IMPACC and the Modbus Protocol

DiaLog Elite. Modbus RTU User Guide. Publish Date: January 1, 2005 Document Version 1.2

Modbus Remote Communication Protocol for REM 54_. Technical Description

PC180 MODBUS COMMUNICATION MANUAL INJECTION MANAGEMENT SYSTEM

ABB LVP&S Training AC500 to EMAX Modbus RTU ABB Automation Technologies

Modbus Plus Driver PTC Inc. All Rights Reserved.

Omron FINS Ethernet Driver for JMobile

Cutler-Hammer ELC Serial Driver Help Kepware Technologies

JMobile V2.6 SP1 Release Notes

Lufkin Modbus Serial Driver Help Kepware Technologies

This command can be used for reading the current value of one or several input channels, according to the table below.

Connecting UniOP to Profibus DP TI

User Guide IM/C250 MOD_3. Modbus (RTU) Communications Option C250 and V250

DL4000-DMX DF1 Full Duplex to Modbus (Master or Slave) Application Note

Mitsubishi FX Driver for JMobile

CO General Specifications GS48D62Z00-00E-N GENERAL. ProSafe-COM extended communication system

C Heat Trace Controller

VersaChart MODBUS RTU Communication Protocol Partlow-West Company 2 Campion Road New Hartford NY 13413

IQ3/XNC Modbus Master

PM130 Powermeters Reference Guide Modbus Communications Protocol

SC2004MBS 20x4 Characters MODBUS RTU Slave LCD

OPERATOR INTERFACE PRODUCTS APPLICATION NOTE

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

VISY-Command. Technical Documentation. with Modbus Protocol. Edition: Version: 1 Art. no.:

Connecting UniOP to Simatic S7 MPI

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

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

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

MU110-6U. Analog output module 6 channel. User guide

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

Gateway MODBUS-to-Opentherm MB-OTG Technical manual. Revision 1 SETECNA. Rel. Date 1 14/09/2016. Page: 1 di 10. Rev /09/2016

INSTRUCTION MANUAL RVT communication How to use RS485 USB Ethernet RVT connections

Industrial 1-port RS422/485 Modbus Gateway

Softstarters. Type PSTX Fieldbus communication, Fieldbus Plug Modbus RTU. 1SFC132092M0201 June SFC132092M0201 1

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

S-series Serial Interface

For more information Contact with details of the application.

Modbus TCP/IP Ethernet Driver Help Kepware Technologies

ABB Drives. User s Manual. Modbus Adapter Module RMBA-01

Modbus on SenseAir S8

DeviceMaster UP Modbus Controller to Controller Communication

CREATING PANEL APPLICATIONS

Transcription:

Connecting UniOP as a Modbus Slave This Technical Note describes the UniOP implementation of the Modbus RTU slave protocol. Using this communication driver, multiple UniOP HMI panels can be connected to a Modbus master. A subset of the standard Modbus function codes has been implemented to allow for an easy and efficient information flow between the master and the slaves. Sitek S.p.A. Tn128 Ver. 1.04

Copyright 2007 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. Third-party brands and names are the property of their respective owners. www.exor-rd.com Connecting UniOP as a Modbus Slave 2

Contents 1 Introduction...4 2 Principle of Operation...5 3 UniOP Programming...6 3.1 Node Override...7 Connecting UniOP as a Modbus Slave 3

1 Introduction The Modbus Slave communication driver lets you connect UniOP as a slave in a Modbus RTU network. It is possible to connect multiple UniOP HMI panels to one Modbus master controller. The information exchange will use standard Modbus messages. This approach will also offer an interesting way to connect UniOP HMI panels to SCADA systems through the universally supported Modbus RTU communication protocol. Connecting UniOP as a Modbus Slave 4

2 Principle of Operation This communication driver will implement a Modbus RTU slave 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 the master and the slave. The diagram in figure 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 master only on initiative of the master itself. Modbus Master Modbus Network UniOP Registers UniOP Registers Coils Coils Figure 1 System Architecture Connecting UniOP as a Modbus Slave 5

3 UniOP Programming To configure UniOP for operation as a slave in a Modbus network follow the steps listed in this chapter. 1) Choose the communication driver Modbus Slave from the list in the Change Controller Driver dialog box. 2) UniOP is a slave in the network and will exchange data with a single master controller. Every UniOP in the network must be assigned its own Slave ID. PLC Communication parameters must be set according to the values programmed in the master controller. Figure 2 Controller Setup dialog box 3) By default the driver will show address offsets in the Modicon Mode and the starting address offset for registers and coils will be 1. Checking the Disable Modicon Mode check box, the driver will shift address offsets on position and the starting address offset will become 0. 4) When the Retain Data check box is marked the data into the first 500 Holding Registers and into all the Coils of the UniOP internal database will be retained at power cycle in RAM memory with battery back-up. 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 link only on initiative of the master controller. Connecting UniOP as a Modbus Slave 6

Figure 3 Data Field Definition dialog box 3.1 Node Override The UniOP ID address defined in Controller Setup can be changed at run-time using the special Data Type called Node Override. Note: Using the Node Override feature requires Modbus Slave driver version 5.07 4.03 or above and firmware version V5.00 or above Figure 4 shows the Modbus Slave Define Field dialog box when the special Node Number Override data type has been selected. Node Number Override is an internal UniOP variable that allows changing the settings of the UniOP ID parameter specified at programming time in Controller Setup. Node Number Override can be placed in any page of the project and the UniOP ID can be changed with a simple data entry operation on this variable. Once the user changes the UniOP ID at run-time it will persist after the power cycle. Changes to Node Number Override take effect immediately. To restore the original project settings at run-time, the Node Number Override variable must be set to 0. Connecting UniOP as a Modbus Slave 7

Figure 4 Node Override Connecting UniOP as a Modbus Slave 8

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. 01 Request not accepted Memory range error 07 General communication error Should never happen, internal software error. Connecting UniOP as a Modbus Slave 9

Appendix B. Implementation Details This Modbus RTU slave implementation supports only a subset of the standard Modbus Function Codes. Only the Function Codes necessary for the data exchange between UniOP and the Modbus master 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 03 Read Holding 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 08 Loopback Diagnostic Test Only sub function 00 (Return Query Data) is supported 15 Force Multiple Coils Forces multiple UniOP Coils to either ON or OFF 16 Preset Multiple Registers Presets value in multiple UniOP Registers 17 Report Slave ID Returns some diagnostic information of the controller present at the slave address UniOP will return the Exception Code 01 (Illegal Function) if the Function Code received in the query is not supported. UniOP will return the Exception Code 03 (Illegal Data Value) if a sub function other than 00 is specified for Function 08. The amount of memory available in UniOP is as follows: Data Type Type Range Coils Bit 0 2047 Registers Word 0 2047 UniOP will return the Exception Code 02 (Illegal Data Address) if the Data Address received in the query exceeds the predefined data ranges. Connecting UniOP as a Modbus Slave 10

Appendix C. Technical Data and Connection Information Connect with baud rates values between 9600 and 38400 bauds. UniOP supports connection with RS-232, RS-422 (4 wires) and RS-485. Connecting UniOP as a Modbus Slave 11