Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01)

Similar documents
YJKP - Logging functionalities

YJKP with Mitsubishi Q series PLC control via Modbus TCP

Application Note. Modbus on CMMP-AS- -M3/M0. Connection and configuration of the motor controller CMMP-AS- -M3/M0 within a Modbus/TCP network.

Servo Press Kit YJKP - Description of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01)

Special SoftMotion settings/homing issues for CPX-CEC-M1-V3

CPX-FB36 in Ethernet/IP Mode

Application Note Commissioning VTEM connected to Beckoff PLC via CPX-FB38 bus node

Application Note. CECC-LK as IO-Link Master Connected to SDAT

Application Note. Control Via Ethernet (CVE) How to Read or Write: -Target Position -Velocity -Actual Position -Save All Objects CMMO-ST

CECC-LK as IO-Link Master connected to Balluff RFID Device and data carriers

Servo press kit YJKP - Host interface

CPX-HART with Rockwell Logix and EtherNet/IP

How to setup Travel to fixed stop with CMMT-AS-PN by using the SINA_POS / telegram 111

Replacement of MS6-SV-1/2-E-ASIS-

Application Note Designer Studio

CMMT-AS-PN controlled by SINAPOS functions block with Siemens S controller

Configuration of CMMT-AS- -EC/PN to run 3rd party motor

Application Note I-Port event/error list

IO-Link parameter description

IO-Link parameter description

IO-Link parameter description

Communication Allen Bradley Logix

Anybus CompactCom 40 Diagnostic Events for EtherNet/IP

Using the WagoAppEtherNetIP_Adapter library with a CompactLogix Controller A500930

efesotomasyon.com - Klockner Moeller - inverter Application Note Simatic S7 Siemens AG 2005, all rights reserved

efesotomasyon.com - Klockner Moeller - inverter User Manual CAN-Monitor

Using the WAGO as Remote I/O with a ControlLogix Ethernet/IP Bridge Module Application note

AOI for MGB-L1B-EI on Allen Bradley ControlLogix

Version 2.0. January For Firmware versions 4.25 and 5.2

Open user communication to 3rd party control system. STEP 7 (TIA Portal), S7-1200/S7-1500, Allen-Bradley. Library description 01/2015

Anybus X-gateway EtherNet/IP

Import SIMATIC variables

Application Note Instructions for exchanging a checkbox CHB-C-X with CHB-C-N

Servopress Kit YJKP. Instructions. Components Interfaces Installation Commissioning [ ]

WebAccess AB LOGIX PLC Ethernet Driver Guide. Advantech WebAccess. - AB LOGIX PLC Ethernet Driver Guide Version: 1.02

Using WAGO Series 750 DeviceNet IO with an A-B ControlLogix 1756-DNB Scanner Application note

Copyright Information. Copyright ThePlcCorner.com

Operating Guide FC Series Add-On Instruction for VLT EtherNet/IP MCA 121

Analog & Digital Output Module Quick Start Guide

Studio 5000 Architect Getting Results Guide

Application note. WAGO-I/O-SYSTEM 750 DALI Multi-Master Module Configuration of a DALI Lighting System via WAGO- I/O-PRO V2.

Application Note: 105U/905U-G-ET1 EtherNet IP & CompactLogix PLC

SIMATIC/SINAMICS. Getting started with SINAMICS V90 PN on S Motion Control. Fundamental safety instructions 1. Introduction

Using WAGO Series 750 DeviceNet IO with an A-B SLC SDN Scanner Application note

Allen-Bradley Micro800 Series

Introduction. Contents (these are links; click to jump to a topic)

Operating a PowerXL DC1/DE1 Drive with a Rockwell PLC on Ethernet/IP

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

Electronic Displays, Inc. EDV111 Series LED Signs Allen Bradley AOI (Add on Instruction) Software Manual

MGB-L1B-EI on Allen Bradley ControlLogix with Gateway in Network

Creating the program. TIA Portal. SIMATIC Creating the program. Loading the block library 1. Deleting program block Main [OB1]

Software WINDY BOY Setup Tool

Manual. Decentralized Drive Control MOVIFIT FDC-SNI Connection to PROFIBUS/DeviceNet with UFF41B Fieldbus Gateway


Logix5000 Controllers Information and Status

Shimadzu LabSolutions Connector Plugin

EtherNET/IP Software Help File

EtherNet/IP - Getting Started User's Manual

435NBX Basic Ladder Logix Setup

AKD Using AKD EtherNet/IP with RSLogix Manual

Addendum to the Operating Instructions

Communicating To Acromag Series 9xxEN-6xxx and XTxxx2-xxx Ethernet Modules In An Allen Bradley ControlLogix System

Drive Technology \ Drive Automation \ System Integration \ Services. MOVITOOLS MotionStudio. Manual. Edition 06/ / EN

Allen-Bradley Replacements

Redundant ethernet communication with WAGO Ethernet-Controller Application note

Version 1.4. January Publication CNIP-1000

Logix5000 Controllers Produced and Consumed Tags

Logix5000 Controllers Nonvolatile Memory Card

Throughout this manual we use notes to make you aware of safety considerations:

Using the WAGO as Remote I/O with an Omron SYSMAC CJ2 Series PLC. Application note. A116700, English Version 1.1.0

Setting up Pinnacle Ethernet IP communication with Allen Bradley PLCs

User Manual. MK6i RFM Module. 1 General. DEALER: Keep this manual. The procedures in this manual MUST be performed by a qualified technician.

Application Note. a HART Tool-routing with Emerson AMS HART over TH LINK PROFIBUS for Asset Management 1.0.0

ABB Low Voltage Drives: Add-On Instruction(s) for Logix5000 Controller Platform

EtherNet /IP. Interface Configuration Quick Start

Instruction Manual. HH610-SW Application Software for Portable & Bench Meters

SMA OneTouch ICS Environmental Monitoring System REMOTE MONITORING GUIDE

Communicating To Acromag Series 9xxEN-6xxx Ethernet Modules In An Allen Bradley CLX5555 Control System

INTRODUCTION...2 GENERAL INFORMATION...3 DEVICE CHARACTERISTICS...3 LINK CHARACTERISTICS...3 DRIVER CHARACTERISTICS...3 CONFORMANCE TESTING...

FUJITSU Cloud IaaS Trusted Public S5 Set & Delete Private IP Address Spaces

L25 - Studio 5000 Logix Designer : Basics Lab. For Classroom Use Only!

Key Panel Library / TIA Portal

Gathering Data from a Site Survey

Zebra Industrial Ethernet Developer Files (Readme v0.2 6/28/17)

Logix5000 Controllers Produced and Consumed Tags

Application Note. Building. Automation WAGO-I/O-PRO V2.3. openvpn with Linux based Devices A500880_en. Version 1.1.1

Display of SINAMICS Fault Messages in WinCC V7.4

GPA Migration Guide


S7-300 Getting Started - Commissioning a CPU 31xC: Closed-loop control

WebAccess Driver Configuration Manual

Addendum to the Operating Instructions

PowerMonitor 5000 Unit Catalog Number Upgrade

FUJITSU Cloud Service S5 Setup and Configuration of the FTP Service under Windows 2008/2012 Server

Display of SINAMICS Error Messages in Runtime Professional


Electronic Keying in Logix5000 Control Systems

ALLEN-BRADLEY DF1 INTEGRATION KIT FOR iocontrol USER S GUIDE

Motion Terminal VTEM. Description. Motion App #02. Proportional directional control valve [ ]

PSoC Creator Quick Start Guide

Transcription:

Application Note Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01) This application note describes how you integrate the host function blocks of the servo press kit YJKP in Allen Bradley (Studio 5000 Logix Designer V26.01). YJKP Supported systems: - Tested with CompactLogix (1769-L24ER-QB1B) - All compatible devices 100160

Title... Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01) Version... 1.10 Document no.... 100160 Original...en Author... Festo Last saved... 17.11.2017 Copyright Notice This documentation is the intellectual property of Festo AG & Co. KG, which also has the exclusive copyright. Any modification of the content, duplication or reprinting of this documentation as well as distribution to third parties can only be made with the express consent of Festo AG & Co. KG. Festo AG & Co KG reserves the right to make modifications to this document in whole or in part. All brand and product names are trademarks or registered trademarks of their respective owners. Legal Notice Hardware, software, operating systems and drivers may only be used for the applications described and only in conjunction with components recommended by Festo AG & Co. KG. Festo AG & Co. KG does not accept any liability for damages arising from the use of any incorrect or incomplete information contained in this documentation or any information missing therefrom. Defects resulting from the improper handling of devices and modules are excluded from the warranty. The data and information specified in this document should not be used for the implementation of safety functions relating to the protection of personnel and machinery. No liability is accepted for claims for damages arising from a failure or functional defect. In other respects, the regulations with regard to liability from the terms and conditions of delivery, payment and use of software of Festo AG & Co. KG, which can be found at www.festo.com and can be supplied on request, shall apply. All data contained in this document do not represent guaranteed specifications, particularly with regard to functionality, condition or quality, in the legal sense. The information in this document serves only as basic information for the implementation of a specific, hypothetical application and is in no way intended as a substitute for the operating instructions of the respective manufacturers and the design and testing of the respective application by the user. The operating instructions for Festo products can be found at www.festo.com/sp. Users of this document (application note) must verify that all functions described here also work correctly in the application. By reading this document and adhering to the specifications contained therein, users are also solely responsible for their own application. (Festo AG & CO. KG, D-73726 Esslingen, 2017) Internet: http://www.festo.com E-Mail: service_international@festo.com

Table of contents 1 Components/Software used... 4 2 Application description... 5 3 Device setup in Studio 5000 (Logix Designer V26.01)... 6 3.1 Adding the controller (CECC-X1-M1) of the YJKP to devices & networks... 6 3.2 Importing the Add-On Instructions... 11 3.3 Set up a function block... 14 Application Note Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01)

Components/Software used 1 Components/Software used Type/Name Version Software/Firmware Date of manufacture Servo press kit YJKP general -- Application software YJKP (GSAY-A4-F0-Z4-1.2.1) V1.2.1 -- Firmware controller (CECC-X) V3.4.6 -- Firmware motor controller (CMMP-AS) V4.0.1501.2.4 -- Allen Bradley (Studio 5000 Logix Designer) V26.01 -- Table 1.1: 1 Components/Software used Seite 4 von 18 Application Note Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01) 1.00

Application description 2 Application description This application note describes how you integrate the host function blocks of the servo press kit YJKP in Allen Bradley (Studio 5000 Logix Designer V26.01). Supported systems: Tested with CompactLogix (1769-L24ER-QB1B) All compatible devices Supported fieldbus: EtherNet/IP Following descriptions are part of the application note: Device setup in Studio 5000 (Logix Designer V26.01) o Adding the controller (CECC-X1-M1) of the YJKP to devices & networks o Importing the Add-On Instructions o Set up a function block Content of the download package: Link to the Application Notes Example Source code Application Note Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01) 1.00 Seite 5 von 18

3 Device setup in Studio 5000 (Logix Designer V26.01) 3.1 Adding the controller (CECC-X1-M1) of the YJKP to devices & networks No. Action 1. Create a new project: Project -> New. Select Logix. Select the controller in use. Enter the Project Name. Select Next. On the next page, (configure the fields if you need and) select Finish. Seite 6 von 18 Application Note Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01) 1.00

2. Select Who Active button highlighted under the menu bar to add the active Allen Bradley controller. 3. Select your Allen Bradley-PLC and select Set Project Path to add the PLC. Next, make sure that at the bottom-left of the window, the Path is same as Path in Project Then, close the Who Active window. Application Note Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01) 1.00 Seite 7 von 18

4. In the Controller Organizer Project Tree, right-click on Ethernet and select New Module. 5. In the search bar, search for Generic Ethernet Module. Select the ETHERNET_MODULE option from the list. Select Create at the bottom of the window. Seite 8 von 18 Application Note Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01) 1.00

6. In the New Module window, set the Name and IP Address of your CECC-X-M1 system and set the Comm. Format and the Connection Parameters as shown in the images below and select OK. Finally, close all the other open windows. Application Note Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01) 1.00 Seite 9 von 18

7. A new Ethernet Module for the CECC-X-M1 should be created as shown below. Table 3-1: Adding the controller (CECC-X1-M1) of the YJKP to devices & networks Seite 10 von 18 Application Note Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01) 1.00

3.2 Importing the Add-On Instructions No. Action 1. Right-click Add-On Instructions in the Controller Organizer tree and select Import Add-On Instructions Application Note Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01) 1.00 Seite 11 von 18

2. Select the following Add-On Instruction export (.L5X) file from the zip folder downloaded from the Support Portal and click OK. Select OK for the next window as well. Seite 12 von 18 Application Note Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01) 1.00

4. Notice that the Add-On Instructions and all the supporting User-defined Data types will be imported into the Controller Organizer tree view under - Add-On Instructions, and Data Types / User-Defined Application Note Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01) 1.00 Seite 13 von 18

3.3 Set up a function block Caution This implementation of the function blocks is only an example! Please implement it according to your own standard! No. Action 1. Create a new function block instance for all the Function Blocks (also referred to as Add-On Instructions) with the name of your choice and assign the data type as shown below. In this example it is a function block with the name FBConnect as an instance of FB_Connect function block and so on for all the other AOIs as well. Create a new variable of the structure ST_SystemDataRef with the name of your choice. In this example the name is stsystemdataref. This data structure contains all data required to communicate with the YJKP and represents one instance of the YJKP. Also, create a new variable of the Type INT with the name of your choice. In this example, the name is ModuleStatus. This variable will be assigned the value of the connection status between the Allen Bradley PLC and the CECC-X-M1 system and will be used for Comm. status check in the Main Task. The ServoPress1_ETHIP:I.Data, ServoPress1_ETHIP:O.Data and ServoPress1_ETHIP:C variables are respectively the Input Data Stream received by the AB PLC, Output Data Stream sent by the AB PLC and Configuration Data stream (not being used) which will be assigned to the FB_MapInputData and FB_MapOutputData Function blocks as will be shown in a few steps. 2. Set the value of the connection timeout on the first rung as shown below. Create a timeout variable of your choice (Source A) and use the MUL instruction to multiply with Source B which in this case is 1000 milliseconds (1 sec) and assign its value to stsystemdataref.stconnectionsettings.ttimeout (Dest). Seite 14 von 18 Application Note Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01) 1.00

3. On the next rung, create the FB_MapInputData instruction by dragging the function block from the Add- On selection onto the rung and assign the FB_MapInputData, stsystemdataref and asiinputdata ( Servo- Press1_ETHIP:I.Data in this example) instances as inputs, as shown below. Note: It is good practice to call FB_MapInputData before all the other Function Block calls. 4. Next, add the FB_Connect function block in the following manner. Use the GSV (Get System Value) instruction to check the status of the connection with the values as shown below. The Instance Name is the name assigned to the Generic Ethernet Module. Use the EQU (Equals) instruction to check if the connection with the Generic Ethernet Module is established (16#4000) and use that to set the value of stsystemdataref.xstatusofconnection. Create an alternate rung around the StatusOfConnection check block with NOP (No Operation) in order to call the FB_Connect function block even when connection is not established. Otherwise, FB_Connect can also be called on the next rung independently to avoid the NOP instruction. Create the FB_Connect instruction by dragging the function block from the Add-On selection onto the rung and assign the FB_Connect and stsystemdataref instances as inputs. Application Note Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01) 1.00 Seite 15 von 18

5. Create instances of asidatatobewritten and asireaddata of type SINT[76] (Array of SINT length 76). To create the FB_ReadWriteObject instruction, drag the function block from the Add-On selection onto the next rung and assign the FB_ ReadWriteObject, stsystemdataref, asidatatobewritten and asiread- Data instances as inputs, as shown below. 6. To create the FB_ Manual instruction, on the next rung, drag the function block from the Add-On selection onto the rung and assign the FB_Manual and stsystemdataref instances as inputs, as shown below. Seite 16 von 18 Application Note Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01) 1.00

7. To create the FB_PressControl instruction, on the next rung, drag the function block from the Add-On selection onto the rung and assign the FB_PressControl and stsystemdataref instances as inputs, as shown below. 8. To create the FB_Status instruction, on the next rung, drag the function block from the Add-On selection onto the rung and assign the FB_Status and stsystemdataref instances as inputs, as shown below. Application Note Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01) 1.00 Seite 17 von 18

9. To create the FB_SystemSettings instruction, on the next rung, drag the function block from the Add-On selection onto the rung and assign the FB_SystemSettings and stsystemdataref instances as inputs, as shown below. 10. On the next rung, create the FB_MapOutputData instruction by dragging the function block from the Add-On selection onto the rung and assign the FB_MapOutputData, stsystemdataref and asioutput- Data ( ServoPress1_ETHIP:O.Data in this example) instances as inputs, as shown below. Note: It is good practice to call FB_MapOutputData after all the other Function Block calls. Table 3-2: Set up a function block (Allen Bradley Studio 5000) Seite 18 von 18 Application Note Servo Press Kit YJKP - Integration of host function blocks in Allen Bradley (Studio 5000 Logix Designer V26.01) 1.00