RcWare SoftPLC Modbus server mapping editor User manual



Similar documents
RcWare SoftPLC OPC server. Setup guide

Modbus and ION Technology

The Answer to the 14 Most Frequently Asked Modbus Questions

IGSS. Interactive Graphical SCADA System. Quick Start Guide

Modbus and ION Technology

USER GUIDE. Ethernet Configuration Guide (Lantronix) P/N: Rev 6

1 Application Description Objective Goals... 3

User Manual. Thermo Scientific Orion

Configuring Allen-Brandly ControlLogix PLC with Moxa MGate 5105-MB-EIP. 1 Application Description Objective Goals...

ENTBUS PLUS SOFTWARE FOR ENERGY MONITORING AND RECORDING INSTALLATION AND OPERATING MANUAL

How to use KEPServerEX OPC Server (Kepware) with iologik 4000 (Modbus TCP/IP NA-4010 and Modbus Serial NA-4020/NA-4021)

Using the AnyBus -X Gateway to Communicate between a DVT camera and a Profibus Master

Palomar College Dial-up Remote Access

TECHNICAL NOTE TNOI32

Using Logix5000 Controllers as Masters or Slaves on Modbus

28 What s New in IGSS V9. Speaker Notes INSIGHT AND OVERVIEW

To perform Ethernet setup and communication verification, first perform RS232 setup and communication verification:

Beckhoff TwinCAT. Configuring the TwinCAT I/O System

PowerLogic ION Enterprise 5.6

SA-9600 Surface Area Software Manual

Modbus Communications for PanelView Terminals

Workshop 7 PC Software - Tracker

ScanWin Installation and Windows 7-64 bit operating system

TECHNICAL NOTE TNOI34

You must have at least Editor access to your own mail database to run archiving.

LP1000N. Software Manual PLU Management Label Editor. Date: 22-NOV Support Model. Version

Connecting the DG-102S VoIP Gateway to your network

Adding a Modbus TCP Device to the Network. Setting Up Your Network

FC5A Modbus Communication Training

WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide

Model 288B Charge Plate Graphing Software Operators Guide

Softstarters. Type PSTX Fieldbus communication, Built-in Modbus RTU. 1SFC132089M0201 April SFC132089M0201 1

ACCESS 9340 and 9360 Meter Ethernet Communications Card ETHER

Modbus TCP / DALI converter

Master-Touch and ValuMass. Modbus Communications. INSTRUCTION MANUAL (Rev. 2.1)

Additional Setup Instructions for Modbus: RTU, ASCII, TCP, Omni & Enron

Configuration of Kepware OPC Server in PanelMate Configuration Editor

Service & Support. How can you establish a connection between a S PLC and SIMATIC NET OPC? S PLC, SIMATIC NET OPC.

BECKHOFF. Application Notes. BC9000: Getting Started Guide. For additional documentation, please visit.

PowerLogic ION Enterprise 6.0

mypro Installation and Handling Manual Version: 7

MS830 / MS833 Barcode Reader v1.0 9-December-2014

Modbus ASCII Driver Kepware, Inc.

Tutorial: Configuring GOOSE in MiCOM S1 Studio 1. Requirements

Allen Bradley PLC connection procedure (RSLogix 500 Version 3.1.9, RSLinx Version 2.1)

Transferring Scans from your Dolphin into Destiny

GE Sensing. SiCalPro. Monitor and control software. User manual - K0452

How to Create User-Defined Fields and Tables

Part Number Revision A, January Monitoring System Rack Configuration and Utilities Guide

PROCESS AUTOMATION PLANNING AND INTEGRATION INFORMATION LB8106* Integration in Siemens SIMATIC PCS 7

Lenovo IdeaCentre Q180 Series

FrontDesk Installation And Configuration

Moxa Device Manager 2.3 User s Manual

Agilent System Protocol Test Release Note

Multi Client (Integration)

E-Map Application CHAPTER. The E-Map Editor

User s Manual. Version January EVS SNMP Monitoring

How To Set Up A Modbus Cda On A Pc Or Maca (Powerline) With A Powerline (Powergen) And A Powergen (Powerbee) (Powernet) (Operating System) (Control Microsci

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

Important Notes for WinConnect Server VS Software Installation:

How to use Citect (SCADA) with iologik 4000 (Modbus TCP/IP NA-4010 and Modbus Serial NA-4020/NA-4021)

Technical Note A007 Modbus Gateway Vantage Pro2 25/09/2009 Rev. A 1 de 7

EVENT LOG MANAGEMENT...

BASLER ACE QUICK INSTALLATION GUIDE

A L ERT. Quick Start With

Different Ways of Connecting to. 3DLevelScanner II. A.P.M Automation Solutions LTD. Version 3.0

Service & Support. How can you establish a connection between an S PLC and SIMATIC NET OPC? S PLC, SIMATIC NET OPC.

How to Configure the Workflow Service and Design the Workflow Process Templates

Point-Of-Sale (POS) Application

ODBC Client Driver Help Kepware, Inc.

Installing PowerLink on Windows 7 64-bit

Administrator s Guide to deploying Engagement across multiple computers in a network using Microsoft Active Directory

Connecting System Platform to TOP Server. Using the SuiteLink DI Object

ONBASE OUTLOOK CLIENT GUIDE for 2010 and 2013

Centurion C4 Transfer Guide using C4 File Transfer Utility

EZ-View Network Communications Guide

USB Driver Installation for Windows XP

Viewing and Troubleshooting Perfmon Logs

Installation and Operation Manual Portable Device Manager, Windows version

INDUSTRIAL AUTOMATION Interactive Graphical SCADA System INSIGHT AND OVERVIEW. IGSS Online Training. Exercise 8: Creating Templates

Using KEPServerEX OPC Server (Kepware)with the iologik E2210

Using the VEX Cortex with ROBOTC

DbSchema Tutorial with Introduction in SQL Databases

OPERATION MANUAL. MV-410RGB Layout Editor. Version 2.1- higher

Virtual Integrated Design Getting started with RS232 Hex Com Tool v6.0

SOS SO S O n O lin n e lin e Bac Ba kup cku ck p u USER MANUAL

DASYLab Techniques. Saving DASYLab data to an ASCII (text) readable file. Updated to reflect changes in DASYLab 13

PowerLogic ION7550 / ION7650

Kepware Technologies KEPServerEX Client Connectivity Guide for GE's Proficy ifix

ACU-1000 Manual Addendum Replacement of CPM-2 with CPM-4

About This Guide SolarEdge Configuration Tool Software Guide. About This Guide

OLAP Cube Manual deployment and Error resolution with limited licenses and Config keys

Technical White Paper

Connecting and Setting Up Your Laptop Computer

Connecting your Omega/BetaPAT PLUS to a PC via a USB

Modbus TCP/IP / Modicon Ethernet Device Driver Guide

SMS Alarm Messenger. Setup Software Guide. SMSPro_Setup. Revision [Version 2.2]

Print Audit 6 - SQL Server 2005 Express Edition

Introduction. There are several bits of information that must be moved:

Manual. Danfoss Central Station Communications Software Version 3

Transcription:

RcWare SoftPLC Modbus server mapping editor User manual

1 Contents 1 Contents... 2 2 Why SoftPLC as a Modbus server... 3 3 Installation and setup of the Modbus mapping editor... 4 4 Creating and editing the project... 6 4.1 Import of the variables... 6 4.2 Settings... 7 4.3 Defining variables... 8 4.4 Saving the project... 10 4.5 Opening a saved project... 10 4.6 Loading the configuration file into the runtime... 10 5 Testing and troubleshooting... 11 RcWare SoftPLC Modbus mapping editor 2

2 Why SoftPLC as a Modbus server Modbus is an old, yet widely used industrial serial communication standard, created by Modicon in 1979, see e.g. http://www.modbus.org/specs.php. Although SoftPLC runtimes usually communicate as Modbus masters, i.e. read data from the slave I/O modules, sometimes it might be useful to share the process data to a 3 rd party PLC or SCADA using the Modbus protocol. The SoftPLC runtime then acts as a Modbus server (slave), waiting for requests from a client (master). The standard used is Modbus RTU (binary data). Communication parameters are 1200...38400 bit/s (configurable), N, 8, 1. Modbus functions used to access and write data: Analog values Read: Write: F03 Read holding register or F04 Read input registers F06 Preset single register or F16 Preset multiple registers Digital values Read: Write: F01 Read coil status or F02 Read input status F05 Force single coil or F15 Force multiple coil The data are sent in Hi Lo order, e.g. 0x1234: first byte sent is 0x12, second byte is 0x34. Topology of the Modbus communication Both IPCT (or another PC-based hardware) and MiniPLC can be used as a Modbus server. Check if you have correct port types enough to fit your application; e.g. more IPCT Modbus servers at one bus need a RS485 bus and therefore a M011 converter to each IPCT. RcWare SoftPLC Modbus mapping editor 3

Another possible topology with more Modbus servers at one bus 3 Installation and setup of the Modbus mapping editor Install the Modbus mapping editor using the Common SoftPLC installer. For older installations, the following procedure applies: Run the ESG.SoftPLC.ModbusMappingEditor.Install.msi installer file. Click Next. RcWare SoftPLC Modbus mapping editor 4

Specify another installation folder if desired or just click Next. Click Next to start the installation. Close the installer. RcWare SoftPLC Modbus mapping editor 5

4 Creating and editing the project 4.1 Import of the variables As a prerequisite, a SoftPLC project must be engineered. Its variables will be shared over the Modbus server which runs as part of the SoftPLC runtime. Then run Programs RcWare SoftPLC Modbus Server Mapping Editor. The program window opens. First, the SoftPLC project variables must be read: Select Connection Add connection, Obtain data from SoftPLC project: SoftPLC project. RcWare SoftPLC Modbus mapping editor 6

Click Select file and select your.splcproj file. Then click Retrieve. A window indicates how many variables have been added / updated to the project, similar to the dialogue in Touchscreen Editor. The variables also appear in the variable tree at the left pane of the program window: Rename the DefaultConnection to any suitable name if necessary by right-clicking on the connection name and selecting Rename Connection in the context menu. 4.2 Settings 4.2.1 Devices Channel: See the General settings tab where channels are defined. Select a channel (defining COM port parameters) where this device, or Modbus node, should be active. Server address: set the Modbus server (slave) address here in range of 1 to 256. Typically it is 1, if there are more Modbus servers at one bus, each of them must have different server address. Server name: A readable name, used for your reference. Not mandatory. Update period: How often the Modbus server should refresh valuesfrom the SoftPLC runtime. Element count: How many registers are processed at once. Leave default values here. RcWare SoftPLC Modbus mapping editor 7

4.2.2 Channels See the General settings tab. Set the COM port of the target device which should act as a Modbus server. It must be different from any of the ports used for I/O communication, M-Bus integration etc. For IPCT, it will typically be COM2; for IPLC301, it will be COM1 (RS232) or COM2 (RS232/RS485). Set the communication speed (1200...38400 bps) as agreed with the 3 rd party device supplier. The other communication parameters are No parity, 8 bits, 1 stop bit by default. Save retrieved variables as well: if checked, the imported variables are also stored as part of the.mmc file. This increases the size of the file, but the variables do not have to be imported each time the project is open. Uncheck for larger MiniPLC projects as MiniPLC has limited storage space. 4.3 Defining variables 4.3.1 Digital variables The first tab is a table for editing digital (boolean) variables. Select a boolean variable in the left pane and click it. The variable is marked by a hand icon. RcWare SoftPLC Modbus mapping editor 8

Then drag and drop the variable to the desired line in the Bools definition table. Its address appears in the Variable column. (NB. the connection has been renamed from DefaultConnection to BA.) Select the requested variable type: Coil or Input. In this version there is no difference between a value defined as coil or as input, both of them are accessible with the same functions (F01, F02, F05, F15). The choice is for future extensions. It is recommend to select Coil here as coils can be written, too. The Address column gives the Modbus register address to read from. Together with the variable name and type, it will be part of the documentation you will provide to the 3 rd party developer. There are up to 65535 addresses (2 bytes) in the Modbus definition, however, only 1 to 2048 address fields can be mapped in the Modbus Mapping Editor. Example of the Modbus table: Digital variables: Modbus register Read / Write Description Note 1 R Unit status (On/Off) 0 = Off, 1 = On 2 R Alarm status 0 = OK, 1 = Alarm 3 R/W Enable unit 0 = Off, 1 = On 4 R/W Night Mode 0 = Day, 1 = Night... 4.3.2 Analogue variables The analogue variables are communicated as short integers (16 bit). Double type variables are converted into integers automatically. Click a variable you want to map to the Modbus table. The variable is marked by a hand icon. Then drag and drop it to the desired Modbus address row. Select variable type: Input register Holding register. In this version there is no difference between a value defined as holding register or as input register, both of them are accessible with the same functions (F03, F04, F06, F16). The choice is for future extensions. It is recommend to select Holding register here as holding registers can be written, too. To increase resolution for analogue variables, they may be transformed before conversion. For example temperatures are usually multiplied by ten, 21.5 C giving an RcWare SoftPLC Modbus mapping editor 9

integer of 215 (also called HVAC integer). Select the appropriate transformation factor in the Transformation column if necessary. If the Transformation factor is set to None, the decimal part of the double type variable is rounded (163.5 -> 164). Example of the Modbus table: Analogue variables: Modbus register Read / Write Description Note 1 R Unit mode 0 = Off, 1 = St1, 2 = St2, 3 = Night 2 R/W Temp. setpoint x10, e.g. 216 is 21.6 C 3 R Room temp. x10, e.g. 216 is 21.6 C 4 R Run hours Total unit run hours... 4.3.3 Changing and deleting variables 4.4 Saving the project To change the variable in the table, simply drag and drop another variable to the Modbus table row. To delete the variable from the Modbus table, focus the row and click the Detach variables button. To save the project to the.mmc file, select File Save or Ctrl-S and enter the name of your project. 4.5 Opening a saved project A saved project can be opened for further processing in the File Open menu or by pressing the Ctrl-O keys. Remember that if the Save retrieved values... option in the General settings menu has been unchecked before saving, it is necessary to re-import the variables to be able to add some. 4.6 Loading the configuration file into the runtime 4.6.1 SoftPLC Windows runtime 4.6.2 MiniPLC Copy the.mmc file to the folder where Modbus server is installed. In the Platform config dialogue define the path and file name in the Modbus server settings item: RcWare SoftPLC Modbus mapping editor 10

Then focus the MiniPLC concerned and click Upload modbus server definition. Remember to reboot the device to start the Modbus server. 5 Testing and troubleshooting For testing, use a Modbus client you are familiar with on the other end of the line, e.g. Modbus tester at www.modbus.pl, or RcWare Vision. No data are send or received - Check cabling and port health (e.g. using two Hyperterminals against each other). - Check if comm speed and other physical parameters are set at both ends. Some characters are received, but they are not interpreted as valid Modbus responses - Check if comm speed and other physical parameters are set at both ends - Check Modbus client settings: define more datapoint in the RcWare Vision with different Hi-Lo parameters, data types, answer lengths etc. One of them should fit then. Data are interpreted as valid Modbus telegrams, but values are not correct - Check the Modbus listing against the Modbus protocol description. - Check Modbus client settings: define more datapoint in the RcWare Vision with different Hi-Lo parameters, data types, answer lengths etc. One of them should fit then. Example: Modbus Mapping Editor: Analogue value, address 3, Holding register, Transformation: None RcWare Vision Modbus parameter settings: RcWare SoftPLC Modbus mapping editor 11

NB. the Base telegram address parameter is 4 (and not 3), as the RcWare Vision decreases the address by one. RcWare SoftPLC Modbus mapping editor 12