Connecting UniOP to Galil/Yaskawa controllers

Similar documents
Connecting UniOP to Fatek Controllers with Facon Protocol

Connecting UniOP to Omron PLCs with the FINS Protocol

Connecting UniOP as Modbus/TCP Server

Connecting UniOP to Unidrive SP with Modbus CMP Protocol

Connecting UniOP as a Modbus Slave

Connecting UniOP to CoDeSys Controllers via Ethernet

Connecting UniOP to Beckhoff ADS Ethernet

Connecting UniOP Using Generic Modbus RTU

Connecting UniOP to Moeller Easy800

Using UniOP HMI panels with Galil controllers

Getting started with UniOP and CoDeSys integrated controller

Connecting UniOP to Datalogic Barcode Readers

Getting Started with UniOP B Series Panels

Getting started with JMobile Suite

Contents 1. Introduction

UniOP epad03 and epad04

UniOP CP01R-04, CP05R-04 and CP01F-02

Panasonic FP Serial Driver for JMobile

Ethernet Connectivity for UniOP

Compact HMI devices with 9 function keys, numerical keypad and 20 characters display.

Compact HMI devices with 5 function keys, numerical keypad and 20 characters display.

The UniDataExchanger is a tool that allows an easier handling of the file transfer to and from UniOP operator panels. Contents

Newsletter. Communicate and Stay in Control. In This Issue

TECH-NOTE. The Keyboard Macro Editor. The Keyboard Macro Editor Dialog Box

UniOP epad30, epad32. Tech-note PN# tn171-3.doc - 03/10/ Ver Highlights

List of Technical Notes

Mitsubishi FX Ethernet Driver for JMobile

Connecting UniOP to Simatic S7 MPI

Profibus DP Driver for JMobile

ABB Modbus RTU Driver for JMobile

UniOP Command Summary

Note: the wiring of the dead-man buttons has been changed since October 2001.

JMobile Suite User Manual

Modbus TCP Server Driver for JMobile

Omron FINS Ethernet Driver for JMobile

Mitsubishi FX Driver for JMobile

Connecting UniOP to Profibus DP TI

Updating Systems Components in UniOP Series 400 Products

Designer Modem Communication US Robotics Sportster Modems

CANopen HMI Communication Driver for JMobile

Connecting UniOP to Modbus/TCP

CODESYS V2.3 Ethernet Driver for JMobile

Control Techniques Unidrive - Modbus CMP Ethernet Driver for JMobile

Connecting UniOP to Simatic S7 Profibus

Control with UniOP. Tech-note PN# tn137-2.doc - 29/07/ Ver Contents

CREATING PANEL APPLICATIONS

Modbus TCP for the Dynaview III. Porcine Associates 244 O'Connor Street Menlo Park, CA

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

UNIT 7A Data Representation: Numbers and Text. Digital Data

Application Note #4427

Modbus RTU/TCP Installation and Programming Guide PC3400 Particle Counter

ROC Plus Communication Driver for JMobile

JMobile V2.0 HF1 Release Notes

Connecting UniOP to K-M Profibus DP

epalm10 Product Manual

A Guide to Understanding GEM - SECS - HSMS

Recipe Editor. Figure 26.1

WizISP Program User Guide for W7100

Metrologics, LLC. Modbus Client Application User s Manual

New Features in Designer 5.05/UniOP 4.20

Software Version:EasyBuilder Pro V

EasyBuilder Pro V Added Combo Button object to HMI models: ie, emt, and XE.

DirectNET Host. Communications Programs. In This Chapter...

installation manual SALES AND ADMINISTRATION (toll free)

Windows CE 4.2 for the etop Workstations - User's Manual

D8000 SERIES QUICK START GUIDE

Datalogic and the Datalogic logo are registered trademarks of Datalogic S.p.A. in many countries, including the U.S.A. and the E.U.

JMobile V2.6 SP1 Release Notes

GSE Scale Systems M660 CUSTOM TRANSMIT

Modbus TCP Driver for JMobile

plc numbers Encoded values; BCD and ASCII Error detection; parity, gray code and checksums

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

ZM-71SE Additional Instructions

Example 1: Read N7:1, N7:2, N7:3 into IntegersRead[] table, offset for starting index is 2. Fig.1 Source data, MicroLogix 1500.

This document contains excepts from the MS-DMT User Guide for MARS

Simatic S7 Ethernet driver for JMobile

Configuration DCE TAC-I

Evaluation Kit & Driver User s Guide

EasyBuilder Pro V screen and editing the project with the Work Space window open.

KNX TP/IP Communication Driver for JMobile

Channelizer for IP and COM

BT Link Manual BT Link Manual Patient Monitor Central System Ver /16/2017 Bionet America, Inc.

The monthly news, C&N

User's Manual Ethernet Interface

Learning Log Title: CHAPTER 3: PORTIONS AND INTEGERS. Date: Lesson: Chapter 3: Portions and Integers

AMS COCKPIT USERS GUIDE. AMS Cockpit Version 1.1 USERS GUIDE

How to Create a Beamex MC5 Support Device with COMPASS for Pressure

Using the HCA Server as a bridge from Alexa to the world

Guide to Eason 2000 Family With Galil Motion Controllers: PC104-13A or PC10413B-I Internal or Stand-Alone External

Application Note #2437

2D BARCODE SCANNER CA-SC-20200B

CODESYS V3 Ethernet Driver for JMobile

Control Characters used in DirectNET

Unsigned Binary Integers

Unsigned Binary Integers

Flex Series User Guide

To login using ViewX: 1. From the File menu, select the Log On option. 2. In the Username field, enter the username Eng. 3. Click the OK button.

JNIOR Support Tool Release Notes

Pass-Through Function

Revision 1.2. July 24, COM Protocol Manual. for MDC and ADC N 11th St - San Jose CA

Transcription:

Connecting UniOP to Galil/Yaskawa controllers This Technical Note contains the information needed to connect UniOP operator panels to Galil s DMC series controllers and Yaskawa s SCM series controllers, using the serial communication protocol. The Galil/Yaskawa driver is associated to the Designer file D32UPLC082.DLL. Contents 1 Introduction...3 2 Controller Setup...3 3 Data Fields and Command Macros...3 4 RDA, Alarms and Mailbox...4 Connecting UniOP to Galil/Yaskawa controllers 1

Tn084 Ver. 1.00 2004 Sitek S.p.A. Verona, Italy Subject to change without notice The information contained in this document is provided for informational purposes only. While efforts were made to verify the accuracy of the information contained in this documentation, it is provided as is without warranty of any kind. www.exor-rd.com Connecting UniOP to Galil/Yaskawa controllers 2

1 Introduction To create a Designer project for connection to one of Galil or Yaskawa controllers, select the driver Galil/Yaskawa from the list of available communication drivers in the Configure Controller dialog box. Note: In the case the Galil/Yaskawa driver does not appear in the list, make sure the D32UPLC082.DLL file is present in the Designer installation folder and then press the Refresh button. Connection to the controller is made via either a CA37 cable on the main communication port, or cable CA36 that includes hardware handshaking, necessary with the newer controllers with a USB or Ethernet port. 2 Controller Setup Communications should be set to 19200 baud, no parity, one stop bit, and echo on. To turn echo on in the controller, send the command EO1 then BN to save the controller parameters. In the controller setup window, a selection is available for the use of hardware handshaking in the driver. CA36 has to be used when the use RTS/CTS is selected. Older project files and connections to a controller using the CA37 with no handshaking will work without any modification as the default controller setup is not using the RTS/CTS control signal. Please see figure below: Figure 1 3 Data Fields and Command Macros Using the Galil/Yaskawa driver, the user is able to monitor and modify variables and arrays, as well as send commands to the controller. Connecting UniOP to Galil/Yaskawa controllers 3

However, there are some restrictions placed on variables and arrays. For the panel to be able to monitor and modify variables, the name of the variable must be defined as Vnnn (where nnn is a three digit number). For example, V001 is a valid variable name, whereas V1 is not valid. The Vnnn variable can be used in the controller program to change parameters, as well as to change program flow. Arrays are used in a similar manner and can be dimensioned using a DM statement in the motion control program. They must be defined as UNIOP[zzzz], where zzzz can be any number ranging from 0 to 4999. Variables and arrays in the controller can have data in the form x.y (where x is ten digits and y is four digits). UniOP will only operate on the integer range and disregard the fractional part of the form. The Send Command macro in the Keyboard Macro Editor can be used to program keys or touchcells to issue commands to the motion controller. Refer to the controller manuals for valid command strings. Please see picture below: Figure 2 4 RDA, Alarms and Mailbox Variables and UniOP array are the only available data types for the RDA, alarms and the Interlock mailbox. The interlock mailbox when used with with 32bit based controllers like the DMC/SMC models needs to be referenced to a Word. The structure of the mailbox is word oriented and will require some special data manipulation in the controller to work correctly. Basically the mailbox structure is as below: Offset 0 - Status word 1 - Command/Response word 2 - Parameter 0 3 - Parameter 1 4 - Parameter 2. It will be necessary in the controller to combine the Status word and the Command/Response word, then Parameter 0 and Parameter 1 Connecting UniOP to Galil/Yaskawa controllers 4

For further information on using the interlock mailbox and a description of the Function codes and parameters, please refer to Designer help. To enable the Mailbox, in Designer, go to Projects, Interlock Mailbox and click on reference. Please see figure below: Figure 3 Make sure to select Word as the data format and Word 0 for the reference. Since the Variables in the controller are defined as 32bit Integers, the Command/Status word of the mailbox will be the first 16 bits of V050, the function/response code being the last or most significant 16 bits. Up to twenty 16-bit words can be used by the mailbox, so in the controller, the user should pre-define and set aside 10 variables, such as "V050" through "V059" or UniOP[0] through UniOP[9]. As an example, let use the mailbox to download a recipe, with the mailbox reference being V050. For a recipe download, the Command code is 2, with Parameter 0 as the page number for the recipe and Parameter 1 the recipe set number. To execute the download, a value of 1 needs to be placed in the Status word. To download recipe set 4 on page 7, we need to input a value of 262151 (hex 40007) in V051 (4 shifted 16 bits to the left, plus 7. In binary: 100 0000 0000 0000 0111) And the value of 131073 in V050 (hex 20001) (2 shifted 16 bits to the left, plus 1. In binary: 10 0000 0000 0000 0001) Note: To set a hex value in the SCM3010, you would use the "$" symbol. Example: "V050=$40007" If the mailbox executes correctly, a value of 4 will be returned in V050. If not, a list of error codes is available in the manual for each command. Connecting UniOP to Galil/Yaskawa controllers 5

Appendix A. Communication Error Codes Current communication status is displayed in the System Menu of the UniOP. A message and a numeric error code describe the error status. The message reports the current communication status. The number shows the code of the current communication error or, if the communication is correct, the code of the last error encountered. When the error code 0 is shown, it means there have been no communication errors since this system start-up. Code Description Notes 00 No error There are no communication errors and there have been no errors since start-up. 04 Negative ACK NAK returned by the controller. 05 Time out No response received form the controller within the timeout period. 06 Response error Unexpected/unrecognized response from the controller 07 General communication error General unknown communication error. 11 Line Error Parity error or similar Connecting UniOP to Galil/Yaskawa controllers 6