CMT-G01 With OPC UA Server And Modbus Gateway

2y ago
36 Views
3 Downloads
618.52 KB
15 Pages
Last View : 13d ago
Last Download : 24d ago
Upload by : Mya Leung
Transcription

cMT-G01 with OPC UA Server and Modbus GatewayWeintek USA, Inc.www.WeintekUSA.com(425) 488-1100Rev. Oct 31 2018cMT-G01 with OPC UA Server and Modbus GatewayIntroduction:Industrial IT Technology has quickly advanced with the integration of plantfloor data, supervisory control demand, ERP, and even new cloud-basedapplications. Integrating legacy and different brands of factory machines hasnever been an easy task since the controllers in a factory use differentcommunication protocols. To facilitate integration of numerous proprietaryprotocols, Weintek has developed the first Gateway protocol converter: cMTG01. The cMT-G01 gateway provides the necessary IIoT connectivity toretrofit existing machines into a single protocol.This document discusses how to utilize the cMT-G01 to build an OPC UAserver, which is a standard protocol for IIoT systems, and allows OPC UAclient to access data.Benefits of cMT-G01 Supports OPC UA for Integration of SCADA or ERP systems Supports MQTT and has built-in broker for publish-subscribemessaging protocol Connectivity to AWS, Azure, and IBM IoT platforms via MQTT Supports MQTT Sparkplug B specification Supports Modbus gateway Supports Protocol conversion Additional Data logger and event detector SQL synchronization capability to MySQL and MS SQL database serverfor data log and event log EasyAccess2.0(Optional)– Remote access factory equipmentPage 1 of 15

cMT-G01 with OPC UA Server and Modbus GatewayEquipment & software:1.2.3.4.HMIArduino boardiR-ETN remote IOcMT-G01Note: In this demonstration, Easybuilder pro version 6.01.02 is used.Wiring diagram:Before configurationThe HMI communicates with the Arduino board via Modbus RTU protocol.The HMI communicates with the iR-ETN remote IO via Modbus TCP protocol.After configurationIn this way, the HMI program is changed because the HMI uses Modbus TCPMaster protocol to query the cMT-G01. The cMT-G01 acts as a ModbusTCPto-ModbusRTU bridge, which is a Modbus gateway. It saves the cost ofpurchasing an extra communication module of the PLC.Page 2 of 15

cMT-G01 with OPC UA Server and Modbus GatewayHardware configuration:I/O ports of cMT-G01 -Software configuration:Launch Easybuilder Pro and select cMT-G01 Gateway.Page 3 of 15

cMT-G01 with OPC UA Server and Modbus GatewayThe popup window will be displayed as shown. Click [New Device] to selectdrivers of the controllers.Add this driver “Modbus TCP/IP” into [Device list]. Enter the IP address of theiR-ETN.Page 4 of 15

cMT-G01 with OPC UA Server and Modbus GatewayAdd this driver “Modbus RTU,RTU over TCP” into [Device list]. Enter thecommunication parameters of COM port.[Device List] includes two drivers to communicate with the iR-ETN and theArduino board. Double [Local HMI] to change the name of the cMT-G01.Page 5 of 15

cMT-G01 with OPC UA Server and Modbus GatewayClick [OK] to close [System Parameter Settings].You can see the three main steps on the main screen to complete this project.Step 1.Add a driver into Device List in the project. (This step is completed)Step 2.Enable OPC UA Server and designate PLC addresses.Step 3.Download this project to cMT-G01.Step2. Click [OPC UA] button on the main screen or go to [IIoT/Energy] » [OPC UA Server] onthe toolbar, and check [Enable] checkbox to enable OPC UA server.Page 6 of 15

cMT-G01 with OPC UA Server and Modbus GatewayClick [Tags] within [IR-ETN remoteIO](Controller name) and then click [New Tag] to addOPC UA tags.For example, add a tag for the output of the iR-ETN.[Name]: Enter a tag name.[Type]: Data type is Bit.[Address]: Enter Modbus function code register number (Decimal).[Type]: data is readable and writable.Click [OK] to exit.Page 7 of 15

cMT-G01 with OPC UA Server and Modbus GatewayClick [Tags] within [Arduino board](Controller name) and then click [New Tag] to addOPC UA tags.For example, add a tag for the analog input of the Arduino board.[Name]: Enter a tag name.[Type]: Data type is Word.[Address]: Enter Modbus function code register number (Decimal).[Type]: data is readable.Click [OK] to exit.The window as shown includes all tags created in the OPC UA server.Page 8 of 15

cMT-G01 with OPC UA Server and Modbus GatewayModbus gateway configuration Click [Settings] button on the main screen or go to [Home] » [System Parameters] on thetoolbar, add this driver “Modbus Server” into [Device list]. Check the checkboxwithin [Modbus TCP/IP Gateway] and go to [Address Mapping Tables].The window “Address Mapping table” will be displayed as shown below. Click [Add] toopen table settings for register mapping.Page 9 of 15

cMT-G01 with OPC UA Server and Modbus Gateway[Address mode]: Data type is Word.[Type]: Select Read/Write.[Modbus address]: Enter Modbus TCP function code register number (Decimal).[Mapped device address]: Enter Modbus RTU function code register number(Decimal).[Table size]: Total memory size. (Unit: words)The Modbus gateway is added to [Device list] as shown.Page 10 of 15

cMT-G01 with OPC UA Server and Modbus GatewayChange the HMI program to read and write Modbus TCP registers. The followingModbus function codes are supported.Modbus Function Code12345616DefinitionRead Coil StatusRead Input StatusRead Holding RegistersRead Input RegistersForce Single CoilPreset Single RegisterPreset Multiple RegistersStep3. Connect the LAN1 port of the cMT-G01 and the PC to a router with an Ethernet cable.Click [Download] button on the main screen or go to [Project] » [Download] on thetoolbar.Find the cMT-G01 and click [Download].Page 11 of 15

cMT-G01 with OPC UA Server and Modbus GatewayYou can change the LAN1 IP address of the cMT-G01 by going to [Search andChange IP]. Disable DHCP and then enter IP address as well as subnet mask accordingto the company/ factory network. Click on [Apply] to finish. The popup window willshow “Successfully updated Ethernet settings.”Change the IP address of the LAN2Connect the LAN1 port of the cMT-G01 and the PC to a router with an Ethernetcable. Open a web browser (IE, Chrome, or Firefox) on a PC, and make sure theIP address of the PC has a same subnet IP. Enter the IP address of cMT-G01. Forexample, 192.168.0.133.Select an identity and enter its password. The default password is 111111.Go to [Network] tab. The IP address of the Ethernet1 is the IP address of LAN1port, and it is changed by the earlier step.Page 12 of 15

cMT-G01 with OPC UA Server and Modbus GatewayClick [Ethernet2] and then enter the IP address as well as mask for thecommunication of the machine network.Page 13 of 15

cMT-G01 with OPC UA Server and Modbus GatewayTesting:Launch the OPC UA client software UAExpert on a PC to monitor OPC UA tags data.You can drag and drop tags configured in the OPC UA server to [Data Access View].Page 14 of 15

cMT-G01 with OPC UA Server and Modbus GatewayThe data will be displayed as shown.Reference Link:Weintek Labs website: http://www.weintek.comFounded in 1996, WEINTEK LABS is a global-leading HMI manufacturerand is dedicated to the development, design, and manufacturing of practical HMIsolutions. WEINTEK LAB’s mission is to provide quality, customizable HMI-solutions thatmeet the needs of all industrial automation requirements while maintaining customersatisfaction by providing “on-demand” customer service. WEINTEK LABS brought theirinnovative technology to the United States in 2016, WEINTEK USA, INC., to providequality and expedient solutions to the North American industrial market.6219 NE 181s Street STE 120Kenmore, WA 98028425-488-1100Page 15 of 15

Click [OPC UA] button on the main screen or go to [IIoT/Energy] » [OPC UA Server] on the toolbar, and check [Enable] checkbox to enable OPC UA server. cMT-G01 with OPC UA Server and Modbus Gateway Page 7 of 15. Click [Tags] within [IR-ETN r

Related Documents:

D. OPC UA using LabVIEW (OPC UA Server OPC UA Clients) E. OPC with Visual Studio, MATLAB or Python. Select one of the following I. Trend OPC DA Data using Visual Studio Measurement Studio II. Get Temperature Data into MATLAB using MATLAB OPC Toolbox III. Get Temperature Data into Python F. OPC Network: Send OPC data between different .

RS232 RS232 9P Female RS232 9P Female Rx 2 8 TXD Tx 3 7 RXD GND 5 5 GND RTS CTS . PLC Connection Guide Diagram 2 cMT Series cMT-SVR / cMT-G01 / cMT-G02 / cMT-HDM / cMT-FHD mTV mTV MT-iE MT8070iE / MT6070iE / MT8100iE / MT8121iE / MT8150iE / MT8071iE / MT6071iE / MT8072iE / MT6072iE / MT8073iE / .

2.2 OPC Scout V10 2.2.1 OPC client for test purposes SIMATIC Net OPC Scout V10 OPC Scout V10 is a standard OPC client that is supplied with SIMATIC NET. OPC Scout V10 can be used as a test tool when commissioning and checking an OPC system. Note For more information about

OMRON Guide to Using CX-Server OPC in Microsoft .Net Page 4 About this Manual This manual describes the CX-Server OPC client application and its ability to interface with OPC servers. It does not provide detailed information concerning OPC itself, or the CX-Server OPC server.The main CX-Server OPC user

6. Wireless router: The cMT-SVR connects with other devices through wires. To connect an iPad or an Android device with cMT-SVR, use a wireless router. The router is not necessary when connecting cMT-iV5. 7. One client device can operate three logged in cMT-SVRs simultaneously. 8. One cMT-SVR can connect with three client devices simultaneously.File Size: 2MBPage Count: 21

If you need a local display, simply connect a cMT-iV5 display to achieve this. cMT Server Basics All cMT Server models offer DIN rail mounting, dual Ethernet, 3 COM ports on 1 physical serial port, and a USB host port. Connecting the cMT Server to a Wi-Fi router will allow any laptop or smart device on that local network running the cMT

The DeltaV OPC Data Access Server provides real-time, read/ write data communications to OPC client applications. For OPC data communications where you can’t afford interruptions, the DeltaV system offers OPC server redundancy to minimize the risk of interruptions. You can add a standby OPC ser

par catégorie alimentaire. A partir des informations disponibles dans les listes d’ingrédients, il est parfois délicat pour un même libellé d’ingrédient de différencier son utilisation en tant qu’additif ou en tant que substance à usage d’enrichissement (exemple : acide ascorbique). Pour ce rapport et pour ces substances, il a été décidé, par convention (choisie), de .