QuickStart Guide. Configuring a RedLion HMI to communicate with an MPiec Controller via MODBUS/TCP using Crimson 3

Similar documents
Product Application Note. Configuring Visu+ software on a TP series Phoenix HMI to Communicate with an MPiec controller over MODBUS TCP

Application Note. MPiec Controllers Communicating Serially with VFDs

Product Application Note. MPiec: Configuring DigiOne IAP for Serial Ethernet MODBUS communication. Applicable Product: MPiec

Product Application Note. MP2000iec Address Mapping between a Phoenix MII BK unit and an MP2000iec controller. Applicable Product: MP2000iec

Application Note. Configuring a Phoenix Bus Coupler to communicate Modbus/TCP with an MPiec Controller

MPiec Web User Interface

MotionWorks IEC Hardware

Application Note. Adding an MPiec Controller as an EtherNet/IP Adapter to Allen Bradley CompactLogixL32E. Applicable Product: MPiec, CompactLogix5332E

Application Note. Adding an MPiec Controller as an EtherNet/IP Adapter to Allen Bradley ControlLogix 5555

Product Demo Instructions. MP2600iec Demo Instructions: v03. Applicable Product: MP2600iec with MotionWorks IEC Pro

Application Note. ESI File Usage. Applicable Products: Yaskawa SERVOPACKs with CANopen over EtherCAT

Release Notes for MotionWorks IEC

Release Notes for MotionWorks IEC Release a

PLCopen Part 4 Coordinated Motion

CONTROLLER INFORMATION SHEET

Yaskawa MP Series Ethernet Driver PTC Inc. All Rights Reserved.

Release Notes for MPiec controller firmware

Release Notes for MP2000iec controller firmware

Product Application Note

Release Notes for MP2000iec controller firmware

User Manual APAX-5520KW. Software Manual

Technical Note. Setting up the Red Lion Crimson Software for Modbus TCP Communication to Tolomatic's ACS Drive. Contents

Global Programming Standard

MPiec Machine Controllers

Welcome to Yaskawa America s Training Café Express

Title: How to control SigmaLogic7 Modbus with Siemens PLC. Product(s): SigmaLogic7 Modbus, Siemens Simatic S7-1200

Release Notes for MotionWorks IEC

PRODUCT RANGE. Goodwin Electronics: Tel: Web: I/O I/O SW1 PORT BATTERY CPU I/O. DC24V 10Base-T DC 0V POWER

Technical Manual. Linear Flying Shear Application Solution Package. for MPiec Controllers

Release Notes for MotionWorks IEC

Connecting UniOP as Modbus/TCP Server

Motion Control Products Application note MotiFlex e180 PROFINET configuration AN

GW-7662 (Modbus RTU Slave) How to Communicate with Modbus master? Example for SIMATIC TIA portal

Release Notes for MotionWorks IEC

Certification Test CT.MP3200iec.01.eLM.HardwareOverview.CertificationTest

DeviceMaster UP Modbus Controller to Controller Communication

MotionWorks IEC SOFTWARE GLOBAL PROGRAMMING STANDARD

User Manual APAX-5520KW APAX-5620KW APAX-5522KW. Software Manual

YASKAWA DMD Product Overview SLIDE 1

EasyBuilder Pro V This model is a gateway device; therefore, it is not possible to generate a

Connecting UniOP to the ABB 07KT97 Controllers

(B) Execute SMS TCP MODBUS Interface Application

Yaskawa America. EtherCAT Road Show October, 2011

19.Configure HMI as a MODBUS Server

Q: How to use TouchPAD as Modbus TCP Slave?

Modbus User Manual APPLIED MOTION PRODUCTS, INC. Modbus is a registered trademark of Schneider Electric, licensed to the Modbus Organization, Inc.

Connecting UniOP to Modbus/TCP

MP2300S iec and MP2310 iec DE ES FR IT. MP2300S iec & MP YASKAWA iec and MP2310

TECHNICAL NOTE MOTION PRODUCT AND ENGINEERING GROUP

Using an EXOR HMI with an SMLC

TECHNICAL NOTE TNOI30

TECHNICAL NOTE TNOI36

Kollmorgen. Kollmorgen Automation Suite

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

Technical Note. NS300/500 Master Ladder Example. NS300 and NS500 Application Modules

GE Intelligent Platforms

Yaskawa Electric America, Inc., July 2008

Internet Switch (EZI-10)

SI-EN3 and SI-EN3/V EtherNet/IP Option Product Demonstration Unit Technical Manual

TECHNICAL NOTE MOTION APPLICATION ENGINEERING GROUP

Allen-Bradley Micro800 Series

Example of use. MB_RTU_MaSl_AXL. for the PC Worx control system

DeviceMaster UP Modbus Router Shared Memory Controller to Controller Communication

DeltaV Virtual Ethernet I/O Card

APPLICATION NOTE MOTION PRODUCT AND ENGINEERING GROUP

APPLICATION NOTES. Advanced Graphical Interface - AGI Internal PLC (CODESYS V3) SHENDONG

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

EasyBuilder 8000 Version Build 2013/05/ Virtual com port and USB download drivers support Windows 7 64bit

Title: Can I use Ethernet to read and write values to my HMI?

Weintek HMI to Control Techniques M400 AC Drive via Modbus TCP/IP Ethernet Module

Set HMI as a MODBUS Server

Platinum Maestro Multi Axis Control. The Ultimate Machine Motion Controller

AN Use Beckhoff TwinCAT System Manager to configure EtherCAT masters for control of ABB MicroFlex e150 servo drives

Servo press kit YJKP - Host interface

cmt-g01 with OPC UA Server and Modbus Gateway

P USB 2.0 (Type B) Port - Programming - Online monitoring

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

TECHNICAL NOTE TNOI38

Modbus TCP Server Driver for JMobile

Courtesy of CMA/Flodyne/Hydradyne Motion Control Hydraulic Pneumatic Electrical Mechanical (800)

FlexiSoft Software Release Note

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

PCs, PLCs and PACs August 2012 Market Intelligence Report

In this tutorial, we are going to demonstrate how to connect the Weintek ip series HMI device with UniPi controller running Mervis.

cmt3090 and Remote I/O Quick Start Guide

*** If you have a Quick Designer project skip this section ***

Everything s possible. Modbus Communication. Reference Manual. DigiFlex Performance Servo Drives. MNCMMBRF-02

X Series Application Note 34 Using Acromag 967 Modbus/TCP module as Remote I-O with the X-Series Recorder

Control Techniques Unidrive - Modbus CMP Ethernet Driver for JMobile

ACS Stepper _10_Modbus LINEAR SOLUTIONS MADE EASY

Machine Controller. Hardware Manual. Type: MP2300Siec, MP2310iec

Modbus/TCP NETIO M2M API protocols docs

General MODBUS TCP Master Driver

Connecting UniOP as a Modbus Slave

TB267 (Rev2) - CNC11 Yaskawa Sigma5 Precision Mode Setup

ENGI-7680 Laboratory Experiments

EtherCAT Product Family

APPLICATION NOTE. Title: SigmaLogic Example Code Example Manual. 1. Application Overview. Revision 2 February 21, 2018 Page 1 of 31

Service & Support. MODBUS/TCP Communication over Integrated PROFINET Interface of S7-300 and S7-400 CPU. Modbus/TCP PN CPU.

YJKP with Mitsubishi Q series PLC control via Modbus TCP

Transcription:

Technical Note QuickStart Guide Configuring a RedLion HMI to communicate with an MPiec Controller via MODBUS/TCP using Crimson 3 Doc#: AN.MPiec.05 Copyright Yaskawa Electric America 2013 September 26, 2013 September 26, 2013 Page 1 of 13

Table of Contents Products Used... 3 Configuration Procedure... 3 HMI variables... 8 MotionWorks IEC variable declaration... 12 Execution... 13 September 26, 2013 Page 2 of 13

Products Used Motion Controller HMI Servo Yaskawa MP2300Siec controller RedLion G310 Yaskawa Sigma-5 Series Servopack and motor Software Yaskawa MotionWorks IEC, Red Lion Crimson 3.0 Configuration Procedure I. Set the IP addresses of the HMI, controller, and PC. In the test set up, the IP addresses were: MPiec Controller: 192.168.1.1 G3 HMI: 192.168.1.20 PC: 192.168.1.3 The default IP address on the MPiec controller is 192.168.1.1 unless changed by the user. Figure 2: Set the IP address of controller II. To set the IP address of the RedLion G310, click on the communications tab on the opening screen of Crimson 3.0. September 26, 2013 Page 3 of 13

Figure3: Setting the HMI IP address Click on Network and set the IP address of the HMI as shown in Figure 3. Click on Protocol 1. Click to select a driver. Select Yaskawa as the manufacturer as shown in Figure 4. September 26, 2013 Page 4 of 13

Figure 4: Selecting a Yaskawa driver Select Yaskawa TCP/IP MP2000iec driver. Figure 5: Communication Protocol This will create the slave configuration for protocol 1. When double clicking on the slave device created, the IP address of the slave in this communication process can be specified. (Figure 6). September 26, 2013 Page 5 of 13

Figure 6: IP address of slave specified III. Figure 7a shows the Modbus memory map, and how it relates to the Global Variables in MotionWorks IEC. Note that function codes 01 and 03 return data that was sent to the controller from the master and do not reflect data from the Global Variables in the application program. The Modbus data memory is copied to the Global Variables at the task update rate. Modbus coil 0 equates to the Global Variable at %IX24560. 128 coils are available. Modbus register 40000 equates to the Global Variable at %IW28672. 1024 registers are available. Modbus input 10000 equates to the Global Variable at %QX24560. 128 inputs are available. Modbus register 30000 equates to the Global Variable at %QW28672. 1024 registers are available. September 26, 2013 Page 6 of 13

Figure 7a: Modbus mapping As shown in Figure 7a, the input and output memory are in a different location even though they have the same numerical addressing. IV. Launch the MotionWorks IEC Hardware Configuration. Go Online with the MPiec controller. Select Modbus TCP and configure the controller as a Modbus slave. Save this configuration and reboot the controller. These steps will activate the Modbus communication driver on the MPiec controller. September 26, 2013 Page 7 of 13

Figure 7b: Enabling the MPiec controller as a Modbus TCP slave (server) V. The MotionWorks IEC Global Variables worksheet will now include Modbus TCP groups which must be populated by the user. These memory areas are generic: no variables are automatically created, the user must decide on the arrangement and type of data to populate within the communications memory region. Figure 8: Variable groups created in template HMI variables Create output bits/words on the HMI. 1. Servo Enable (bit) 2. Jog Speed Create input bits/words on the HMI. 1. Servo Status 2. Actual Position September 26, 2013 Page 8 of 13

The variable tags have been defined in the data tags tab in the RedLion Crimson 3 project. Figure 9: Data tags When creating a new tag, the user can specify the data type of the tag. The user can also map the tag and specify the register that the tag is associated with. For example, the tag ServoEnable is mapped to a location in PLC1, which is the MPiec controller. When clicking the edit button, the Modbus register and data type can be seen as shown in Figure 10. This bit will be mapped to the first bit under Function Code (FC) 5. Access to this tag is set as Write Only as this variable is used for writing to the MPiec controller. The Velocity tag mapping is shown in Figure 11. The Modbus register used for the word is 40001, however, this Modbus location does not have to be specified when the Yaskawa MP2000iec driver is used for communication. Figure 12 illustrates the mapping of the servo status from the controller to the HMI panel. Figure 13 illustrates the MPiec controller outputting a REAL variable displayed at the HMI. September 26, 2013 Page 9 of 13

Figure 10: Mapping bit (FC: 5) Figure 11: Mapping word (FC: 16) September 26, 2013 Page 10 of 13

Figure 12: Bit Mapping (FC: 2) Figure 13: Word mapping (FC: 4) September 26, 2013 Page 11 of 13

The user interface on the HMI screen is as shown in Figure 14. Figure 14: HMI user interface screen shot MotionWorks IEC variable declaration Figure 15: Variables in the MPiec controller The global variable list with Modbus data is shown in Figure 15. The last two groups corresponding to function codes 05 and 16 are the input variables written from the HMI to the MPiec controller. The groups under function codes 02 and 04 transfer variables from the MPiec controller to the HMI. They are denoted by %QX and %QB. Table 1 shows the variable mapping of this sample project. Table 1: variable mapping EnableServo %IX24560.0 IX24560_0 ServoEnable Speed %ID28672 IW24576 Velocity ServoPowerStatus %QX24560.0 QX24560_0 ServoEnabled ActualPosition %QD28672 QW24576 Position September 26, 2013 Page 12 of 13

Execution Communication between the Red Lion HMI and the MPiec controller will commence when the projects start running on both devices. September 26, 2013 Page 13 of 13