Using NI LabVIEW with iologik E2210 servers

Similar documents
Using NI LabVIEW with iologik E2210 servers

2013 Moxa Inc Released on Sep 15, 2013

How to Upgrade or Recover the Firmware of the UC-7400 Series Embedded Computers

EtherNet/IP Configuration for a Moxa MGate 5105-MB-EIP and an Allen-Bradley CompactLogix L32E. Copyright 2013 Moxa Inc Released on July 15, 2013

MGate EIP 3000 Series to connect RSLinx with the. Allen-Bradley SLC 500/Micrologix family

How to Build an IoT Application with Moxa's ThingsPro and AWS IoT Service

How to Upload Device Data to a Remote Database Using the Log Upload Function

1. System Topology Required Equipment and Components Hardware Equipment Software Equipment... 6

How to Build a Real-Time IIoT Application with Moxa's ThingsPro and Cirrus Link's Sparkplug

Documentation EtherCAT Sniffer Library for LabVIEW 1.0

1. System Topology Required Equipment and Components PcVue SCADA Modbus Slave MGate 5109 Setting...

One Gateway That Can Do It All

MX-AOPC UA Server User s Manual

ThingsPro Software User s Manual

based on a previously created custom model an entirely new model

MX-AOPC UA Server User s Manual

General MODBUS TCP Master Driver

Appendix B: IMPACC and the Modbus Protocol

Interfacing Acromag Ethernet I/O Modules to an ABB AC500 PLC with Modbus TCP/IP

WHITE PAPER. How to Select a Cellular RTU for Water and Wastewater Applications. Charles Chen Product Manager Moxa Inc.

Connecting the iologik 2000 to a SolarWinds NPM

MODBUS APPLICATION PROTOCOL SPECIFICATION V1.1a CONTENTS

Remote Monitoring and Alarm Solution

Using a RESTful API to Connect to Remote I/Os

Configuring LabVIEW for Communications with Acromag Busworks Modbus I/O Modules via an OPC Server

Modbus Hans-Petter Halvorsen

ThingsPro Software User s Manual

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

ThingsPro Software User s Manual

Methods for Embedding Video Streams in SCADA Systems

How to Use ThingsPro Gateway to Publish Processed Edge Data to the AWS IoT Cloud. 1 Background Requirements Overview...

TxA SoftControl - FnIO-S NA-9173 / NA-9473 Modbus RTU KI

Connecting UniOP to Modbus/TCP

Application Note Modbus/TCP

iologik E1261W-T User s Manual

Manual LabVIEW Data Converter Xml 1.0 Library

Documentation EtherCAT Library for LabVIEW 2.9

Lesson 1 Introduction to LabVIEW. TOPICS LabVIEW Environment Front Panel Block Diagram Dataflow Programming LabVIEW Help and Manuals Debugging a VI

MODBUS APPLICATION PROTOCOL SPECIFICATION V1.1b3 CONTENTS

Getting Started with the Google Cloud SDK on ThingsPro 2.0 to Publish Modbus Data and Subscribe to Cloud Services

How to Configure the MGate 5114 with IEC SCADA. 1 System Topology Protocol Simulators... 4

iologik E1200 Series User s Manual

MODBUS APPLICATION PROTOCOL SPECIFICATION V1.1b3 CONTENTS

How to Use the TIA Portal to Set a Siemens PLC and the MGate 5103

Table of Contents. i-vu Open Link

iologik R1200 Series User s Manual

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

PHY 351/651 LABORATORY 1 Introduction to LabVIEW

Modbus Remote Communication Protocol for REM 54_. Technical Description

Communications guide. Line Distance Protection System * F1* GE Digital Energy. Title page

Choosing a Multiport Serial Board for Serial Communication

Documentation EtherCAT Framework 1.2

iologik R1200 Series User s Manual

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

iologik E2212 User s Manual

Documentation EtherCAT Slave PC LabVIEW 1.4

InstrumentationTools.com

AUTARKIC PROCESS MANAGEMENT

iologik E2240 User s Manual

3 Tips for Boosting DNC Performance

Using Modbus TCP with Brainboxes products

Configuring LabVIEW 2009 to Communicate with Acromag Busworks and Etherstax Modbus I/O Modules via an OPC Server

DeltaV Virtual Ethernet I/O Card

LabVIEW Core 1. What You Need To Get Started. File Locations. The course installer places the course files in the following location: ni.

Chipkin Chariot Quick Start Guide

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

Modicon Modbus Driver

HMS Anybus configuration setup

A36D/TPSD DNP 3.0 & Modbus SCADA INTERFACE

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

iologik 4000 Series User s Manual

ThingsPro Version 2 User s Manual

BACnet MS/TP Protocol for LabVIEW. User Manual

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

iologik 4000 Series User s Manual

UEIModbus User Manual 2.1

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

iologik R1200 Series User s Manual

750/760 COMMUNICATIONS GUIDE. Digital Energy Multilin. Feeder Management Relay

MODBUS Protocol for MiCOM P30 Series

Modbus RTU/TCP Installation and Programming Guide PC3400 Particle Counter

Vernier SensorDAQ User s Manual

Modbus TCP/IP Option Instruction Manual

VAPOR PRO COMMUNICATIONS

ICC. Modbus RTU Slave Driver Manual INDUSTRIAL CONTROL COMMUNICATIONS, INC Industrial Control Communications, Inc.

DeviceMaster UP Modbus Router Shared Memory Controller to Controller Communication

Instruction Manual. FLOW-BUS LabVIEW Driver

MIC-2 MKII Profibus module user s manual

GE Intelligent Platforms

CAN-Transceiver Data Register Map MODBUS Slave RTU

Configuring RAD-900-IFS with GW MODBUS TCP/RTU for Modbus TCP Communication

iologik E4200 User s Manual

DATEXEL LLC. Introducing DEV 9K Version2 with converting four Modbus Flow meters to 4-20 ma. Start-up.

ZBRN2 Modbus Serial Line Communication

Copyright 2012 Pulse Systems, Inc. Page 1 of 29

How to make a LabVIEW CIN for Mac OS X using Xcode

ni.com/training Quizzes LabVIEW Core 1 ni.com/training Courses Skills learned: LabVIEW environment Certifications Skills tested: LabVIEW environment

ENG-7680: SCADA Laboratory Experiments

Electronics II Physics 3620 / 6620

DL3500-DH-485/MODBUS COMMUNICATION CONTROLLER APPLICATION NOTE

Transcription:

Using Alex Chen, Senior Engineer, MOXA Technical Support Dept. In this Technical Note, we cover the following topics: 1. Obtaining Modbus addresses from the iologik E2210 configuration file 2. Configuring NI LabVIEW for the iologik E2210 1. Obtaining Modbus addresses from the iologik E2210 configuration file 1.1. It is possible to obtain the Modbus address of each I/O channel on the iologik E2210 by exporting the system configuration. This information may be required when developing a Modbus application. Run ioadmin by clicking Start Program Files iologik Utility ioadmin. In the left panel, right click on the iologik E2210 whose address table you wish to export, and then select Export System Config to save the configuration file. Copyright 2008 Moxa Inc. Released on February 9, 2007 About MOXA Moxa manufactures one of the world s leading brands of device networking solutions. Products include serial boards, USB-to-serial Hubs, media converters, device servers, embedded computers, Ethernet I/O servers, terminal servers, Modbus gateways, industrial switches, and Ethernet-to-fiber converters. Our products are key components of many networking applications, including industrial automation, manufacturing, POS, and medical treatment facilities. How to Contact MOXA Tel: 1-714-528-6777 Fax: 1-714-528-6778 Web: www.moxa.com E-mail:info@moxa.com This document was produced by the MOXA Technical Writing Center (TWC). Please send your comments or suggestions about this or other MOXA documents to twc@moxa.com.

1.2. The exported system configuration will appear as follows. This table can be used to retrieve the iologik E2210 system, I/O configuration, and Modbus address table. Use the information in the configuration file to determine each channel s Modbus address. The second section of the file contains information on each channel s configuration. In the example, we can obtain the following information about digital input channels 00 and 01 and digital output channels 00 and 01: Channel No. Configuration DI00 DI DI00_FILTER=100, (50.00ms) DI01 DI DI01_FILTER=100, (50.00ms) DO00 DO DO00_PWN=0, (Off), DO00_SAFE=0, (Off) DO01 DO DO01_PWN=0, (Off), DO00_SAFE=0, (Off) Copyright 2008 Moxa Inc. Page 2 of 10

The third section of the configuration file contains the Modbus address for each channel, under Modbus reference: [3. Modbus address table] ------------------------- CHANNEL NO. I/O TYPE MODBUS REFERENCE MODBUS ADDRESS (DEC, HEX) DI00 Input 10001 0000, 0x0000 DI01 Input 10002 0001, 0x0001 DO00 Output 00001 0000, 0x0000 DO01 Output 00002 0001, 0x0001 1.3. The iologik E2210 supports Modbus function codes as defined by the Modbus protocol. Each data type has a specific address range. A quick overview of the address types and function codes can be found in the following table. For more detailed information on Modbus address mapping, please refer to the User s Manual. I/O Address Data Type Common Type Range Name Event 30001 to Read Only analog Counter 39999 Registers inputs Digital Input Pulse Output Digital Output 10001 to 19999 40001 to 49999 00001 to 09999 Read Only Coils Read/Write Registers Read/Write Coils binary inputs analog values, variables, registers bits, binary values, flags Read/Write Behavior 16-bit quantity, provided by an I/O system, read-only single bit, provided by an I/O system, read-only 16-bit quantity, alterable by an application program, read-write single bit, alterable by an application program, read-write Function Codes 04=Read Input Register 02=Read Discrete Inputs 03=Read Holding Registers 06 = Write Single Register 16 = Write Multiple Registers 01=Read Coil 05 = Write Single Coil 15 = Write Multiple Coils In the previous example, the value of digital input channel 00 would be read by referencing Modbus address 10001 and function code 02. To read/write digital output channel 00, you would reference Modbus address 00001 and function codes 01 and 05. Copyright 2008 Moxa Inc. Page 3 of 10

2. Configuring NI LabVIEW for the iologik E2210 2.1. The LabVIEW Modbus library implements the Modbus protocol in software and offers both master and slave functionality. Using the Modbus library, Programmable Automation Controllers (PACs) can communicate with iologik E2210 servers. You must first download the Modbus library from the NI web site. (http://zone.ni.com/devzone/cda/epd/p/id/4756) 2.2. After downloading Modbus library, run the installation program. 2.3. Start NI LabVIEW under Start All Programs National Instruments LabVIEW 8.2. Copyright 2008 Moxa Inc. Page 4 of 10

2.4. Select VI from Template from the main screen. 2.5. Go to User Browse... to select a file to open. Find and open NI Modbus.lib, which should be located in C:\Program Files\National Instruments\LabVIEW 8.2\vi.lib\. Copyright 2008 Moxa Inc. Page 5 of 10

2.6. You will be prompted to select a template. Select MB Ethernet Example Master.vi. This example will be used to query and control the iologik E2210 server s DI and DO channels. 2.7. When the file opens, the Front Panel and Block Diagram will be displayed. Copyright 2008 Moxa Inc. Page 6 of 10

2.8. The iologik E2210 has 8 DO channels and 12 DI channels. In the Front Panel window, click and drag the Coils to Write box until 8 channels are showing. Click and drag the Slave Discrete Inputs box until 12 channels are showing. Copyright 2008 Moxa Inc. Page 7 of 10

2.9. In the Block Diagram, find Label 0. Under Write Multiple Coils, change the quantity from 4 to 8. 2.10. Find Label 1. Under Write Multiple Registers, change the quantity from 4 to 8. Copyright 2008 Moxa Inc. Page 8 of 10

2.11. Find Label 2. Under Read Discrete Inputs, change the quantity from 4 to 12. 2.12. Find Label 3. Under Read Input Registers, change the quantity from 4 to 12. Copyright 2008 Moxa Inc. Page 9 of 10

2.13. Save the configuration through File Save All. After the configuration is saved, enter the iologik E2210 s IP address (default = 192.168.127.254) in the Remote IP Address field. Press the Run button to execute this VI. 2.14. In the Front Panel, the Coils to Write buttons can be manipulated to control DO values. You also can monitor DI status through the Slave Discrete Inputs lights. If you monitor I/O status with the ioadmin utility, you should be able verify that the results match. Copyright 2008 Moxa Inc. Page 10 of 10