Sunteți pe pagina 1din 80

Unity Pro 4.

0
984 to Unity Converter User manual
07/2008 eng

33003538.04

www.schneider-electric.com

Table of Contents

Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Part I Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 9


Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Chapter 1

Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Overview of the Converter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installation and Authorization of the Converter . . . . . . . . . . . . . . . . . . . . . . . . . . Conversion with the Conversion Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 12 13 14

Chapter 2 Chapter 3

Converting Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Process of Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

Converting Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Converting a File in Unity Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Trouble Shooting after Converting a File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

Part II Converted Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23


Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

Chapter 4

Converted Data in General. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25


Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Network Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Constants, Symbols, Networks, Segments and Comments . . . . . . . . . . . . . . . . State RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Network Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Equation Networks ProWORX32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Not Converted Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 26 29 30 32 34 35 36

Chapter 5

Data Relation and Comment Generation . . . . . . . . . . . . . . . . . 37


Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Data Relation in ProWORX32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Data Relation in Unity Pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Mapping of Data Relations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

Chapter 6

Converted Coils, Contacts, Links and Function Blocks . . . . 45


Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Converting Rules and Conversion Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Converted Coils, Contacts and Links. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Converted Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Not Converted Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

Part III Execution Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53


Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53

Chapter 7

Differences in the Execution Order . . . . . . . . . . . . . . . . . . . . . 55


Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Specific Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Example: Include 984 Execution Corrections, not set . . . . . . . . . . . . . . . . . . . . . 57 Example: Include 984 Execution Corrections, set . . . . . . . . . . . . . . . . . . . . . . . . 59

Appendices
Appendix A

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61

Conversion of Compact and Momentum to Unity Pro . . . . . . 63


At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Compact Modules to Unity Pro Premium Modules . . . . . . . . . . . . . . . . . . . . . . . 64 Compact Modules to Unity Pro Modicon M340 Modules . . . . . . . . . . . . . . . . . . . 69 Momentum Modules to Unity Pro Modicon M340 Modules . . . . . . . . . . . . . . . . . 73

Index

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

Safety Information

Important Information
NOTICE Read these instructions carefully, and look at the equipment to become familiar with the device before trying to install, operate, or maintain it. The following special messages may appear throughout this documentation or on the equipment to warn of potential hazards or to call attention to information that clarifies or simplifies a procedure.
The addition of this symbol to a Danger or Warning safety label indicates that an electrical hazard exists, which will result in personal injury if the instructions are not followed. This is the safety alert symbol. It is used to alert you to potential personal injury hazards. Obey all safety messages that follow this symbol to avoid possible injury or death.

DANGER
DANGER indicates an imminently hazardous situation, which, if not avoided, will result in death or serious injury.

WARNING
WARNING indicates a potentially hazardous situation, which, if not avoided, can result in death, serious injury, or equipment damage.

CAUTION
CAUTION indicates a potentially hazardous situation, which, if not avoided, can result in injury or equipment damage.

33003538 07/2008

Safety Information

PLEASE NOTE

Electrical equipment should be installed, operated, serviced, and maintained only by qualified personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this material. 2008 Schneider Electric. All Rights Reserved.

33003538 07/2008

About the Book

At a Glance
Document Scope This document describes the functionality and performance scope of the 984 to Unity Converter. This document is valid for Unity Pro starting from Version 4.0. Validity Note The data and illustrations found in this document are not binding. We reserve the right to modify our products in line with our policy of continuous product development. The information in this document is subject to change without notice and should not be construed as a commitment by Schneider Electric.

Related Documents

Title of Documentation Unity Pro Software Reference Manual Unity Pro Enhanced LL984 Block Library

Reference Number 33003745

You can download these technical publications and other technical information from our website at www.telemecanique.com

33003538 07/2008

About the Book

Product Related Warnings

Schneider Electric assumes no responsibility for any errors that may appear in this document. If you have any suggestions for improvements or amendments or have found errors in this publication, please notify us. No part of this document may be reproduced in any form or by any means, electronic or mechanical, including photocopying, without express written permission of Schneider Electric. All pertinent state, regional, and local safety regulations must be observed when installing and using this product. For reasons of safety and to ensure compliance with documented system data, only the manufacturer should perform repairs to components. When controllers are used for applications with technical safety requirements, please follow the relevant instructions. Failure to use Schneider Electric software or approved software with our hardware products may result in injury, harm, or improper operating results. Failure to observe this product related warning can result in injury or equipment damage.

User Comments

We welcome your comments about this document. You can reach us by e-mail at techpub@schneider-electric.com

33003538 07/2008

Functional Description

I
Overview
General This part comprises an overview of the installation and the functional range of the converter. This part contains the following chapters:
Chapter 1 2 3 Chapter Name Introduction Converting Process Converting Procedure Page 11 17 19

What's in this Part?

33003538 07/2008

Functional Description

10

33003538 07/2008

Introduction

1
Overview
General If installed, this converter component is an integrated part of Unity Pro. It is used to convert ProWORX32 projects to Unity Pro. Modsoft and Concept (also mixed IEC LL984) projects can be converted, too, but restrictions may apply. In such a case convert to a ProWORX32 project first. What's in this Chapter? This chapter contains the following topics:
Topic Overview of the Converter Installation and Authorization of the Converter Conversion with the Conversion Wizard Page 12 13 14

33003538 07/2008

11

Introduction

Overview of the Converter


General The converter is used to convert ProWORX32 projects to Unity Pro. Coils, contacts, links and function blocks are replaced by the respective objects provided by Unity Pro. Subsequently Unity Pro source code is generated according to the IEC LD format. Versions The converter will work with the following versions: ProWORX32 V1.11, V1.1, V2.x Modsoft 2.61 (conversion may be limited) Concept V2.6 (conversion may be limited) Unity Pro automatically launches the converter after the file to be converted has been selected. To handle the special formats of Modsoft, ProWORX32 and Concept the converter is embedded in an appropriate framework of the Unity Pro architecture. By opening the respective project files (*.env, *.pwx, *.asc) the converter is launched out of this framework. The converter checks whether the project files are valid and show the suitable file formats. Error Handling If it is not possible to convert certain objects they will be replaced by dummy EFBs with comments which include detailed error messages. Error messages will be logged on the report file and will be displayed on the message window during the analysis time. The user is able to go to the error spot of the network by double clicking the error message line in the message window. Conversion Wizard Please refer to Conversion with the Conversion Wizard, p. 14.

Starting the Converter

12

33003538 07/2008

Introduction

Installation and Authorization of the Converter


General The converter has to be installed as an additional software component of Unity Pro. After the installation the converter is an integrated part of Unity Pro. Installation
Step 1 2 Action Start the setup.exe. Enter Name and Company. Result: The converter software is installed.

Authorization

It is not possible to use the converter in demo mode. Before using the converter has to be authorized.
If there is... no authorization on your PC yet. Then ... during installation you are asked to request an authorization from Schneider Electric. You can leave the authorization wizard with Cancel. each time you try to start the converter, you will be asked for authorization. If you do not authorize, the conversion is canceled. you are allowed to transfer the license from the other PC.

no authorization on your PC yet.

already an authorization on another PC.

For instructions how to authorize, please refer to the separately provided install document. Unity Pro Service Pack After installation of a Unity Pro service pack you must reinstall the converter.

33003538 07/2008

13

Introduction

Conversion with the Conversion Wizard


Application Conversion as a Whole Partial Application Conversion To convert an application as a whole, while keeping the same PLC family, and selection of application parts or remapping of I/O objects is not needed, use the LL984 to Unity Converter directly via the Unity Pro menu File Open. To convert an application partially and/or the PLC family must be changed or remapping of I/O objects is needed, use the conversion wizard via the Unity Pro menu Tools Convert Partially. For detailed information, please refer to the Operating Modes Manual -> Conversion Wizard. Conversion Wizard The conversion wizard is an integrated part of Unity Pro. You can use it to convert applications, exported out of legacy applications (ProWORX, Concept, Modsoft) to Unity Pro. convert legacy applications partially or as a whole. remap I/O objects (channels, variables etc.) during conversion by means of the wizard. adapt concurrently the hardware configuration of the new application in Unity Pro. modify the amount of used memory in the CPU. The conversion wizard is available if you have chosen to install a converter (e.g. LL984 to Unity Converter) during the setup of Unity Pro.

14

33003538 07/2008

Introduction

General Procedure

General procedure to convert a legacy application to Unit Pro


Step 1 2 Action Export your application out of your legacy programming system (e.g. as an ASC file out of Concept). Create a new application in Unity Pro selecting a CPU with enough memory and the I/O access capabilities needed. Optionally you can configure the I/O modules expected to be needed but you can modify the hardware configuration even later (see step 6). Launch the conversion wizard in Unity Pro via Tools Convert Partially. Result: The conversion wizard asks you to select the exported legacy source file. Select the exported legacy source file. Result: The converter analyzes the source file and displays the result in the 3 tabs of the conversion wizard. Select the parts of the application (or the complete application) to be converted in the Structure tab. Remap the I/O objects for getting them compliant with the new hardware configuration. Concurrently you can modify the hardware configuration of the new application in Unity Pro. Note: To save a backup file of your intermediate I/O mapping you can use the Save button. With Load you can reload your latest saved intermediate I/O mapping. After finishing all your selections and manual modifications click OK. Result: The converter applies the defined remapping to the selected parts of the source file and imports the results into the opened Unity Pro Application. Continue working on the opened application, save it or export as an XEF file.

5 6

Conversion Wizard Documentation

For detailed information on the conversion wizard, please refer to the Operating Modes Manual -> Conversion Wizard.

33003538 07/2008

15

Introduction

16

33003538 07/2008

Converting Process

2
Process of Conversion
General Unity Pro automatically launches the converter after the file to be converted has been selected. The converter checks the selected file for validity and suitable formats. Subsequently Unity Pro source code is generated according to the IEC LD format.

33003538 07/2008

17

Converting Process

Presentation

Presentation of the converting process:


Modsoft project ProWORX project Concept ASCII file

Unity
984 Converter Analysing the files Converting the Unity compatible objects Replacing the misssing objects by dummy EFBs Generating Unity source code

Unity LL984 library

Error messages

Unity project

Stages of the conversion:


Stage 1 2 3 4 Description In Unity Pro the file to be converted (ProWORX32, Modsoft, Concept) is selected. Through this the converter is launched automatically. The selected file is checked for validity and suitable formats by the converter. Coils, contacts, links and function blocks are replaced by the respective objects provided by Unity Pro. If it is not possible to convert certain objects they will be replaced by dummy EFBs with comments which include detailed error messages. Error messages will be logged on the report file and will be displayed on the message window during the analysis time. The user is able to jump to the error spot of the network by double clicking the error message line in the message window. Subsequently Unity Pro source code is generated according to the IEC LD format and is shown in the Unity Pro main window.

Dummy EFBs

Further information you will find under Dummy DFBs, p. 52.

18

33003538 07/2008

Converting Procedure

3
Introduction
Overview What's in this Chapter? This chapter comprises information on the procedure of conversion. This chapter contains the following topics:
Topic Converting a File in Unity Pro Trouble Shooting after Converting a File Page 20 21

33003538 07/2008

19

Converting Procedure

Converting a File in Unity Pro


General Unity Pro automatically launches the converter after the file to be converted has been selected. The file to be converted can be selected by the menu File Open. Export of a Concept Project Concept projects have to be exported into a text file (ASCII file). After that it is possible to open this file in Unity Pro. The converter will be launched automatically. Modsoft (*.env) and ProWORX32 (*.pwx) projects can be opened directly. Converting a File Proceed as follows to convert a file to Unity Pro:
Step 1 2 3 4 5 Action Open the dialog box for selecting a file by clicking File Open. Select the respective file type. Select the source file that should be converted. Confirm with the Open button. The converting process will be started and a progress bar is showing the proceeding of the conversion.

Cancel the Conversion

The conversion can be canceled by clicking the Cancel button in the progress dialog box.

20

33003538 07/2008

Converting Procedure

Trouble Shooting after Converting a File


General If it is not possible to convert certain objects the converter will replaced them by dummy EFBs with comments which include detailed error messages. Error messages will be logged on the report file and will be displayed on the message window during the analysis time. By double clicking the error message line in the message window the user is able to jump to the error spot of the network and correct the errors step by step. Analyze Project To ensure that the project contains no more errors after trouble shooting, select the menu command Build Analyze Project.

Trouble Shooting

33003538 07/2008

21

Converting Procedure

22

33003538 07/2008

Converted Data

II
Overview
General This part comprises information on the data that is converted out of ProWORX32, Modsoft and Concept projects to Unity Pro. This part contains the following chapters:
Chapter 4 5 6 Chapter Name Converted Data in General Data Relation and Comment Generation Converted Coils, Contacts, Links and Function Blocks Page 25 37 45

What's in this Part?

33003538 07/2008

23

Converted Data

24

33003538 07/2008

Converted Data in General

4
Overview
General This chapter comprises information on the data that is converted out of ProWORX32, Modsoft and Concept projects to Unity Pro and on objects that can not be converted or will be replaced by the respective objects provided by Unity Pro. This chapter contains the following topics:
Topic Configuration Network Structure Constants, Symbols, Networks, Segments and Comments State RAM Network Dimensions Equation Networks ProWORX32 Not Converted Objects Page 26 29 30 32 34 35 36

What's in this Chapter?

33003538 07/2008

25

Converted Data in General

Configuration
Modsoft Configuration Section Modsoft is a DOS-based PLC programming tool using the LL984 language. The Modsoft configuration section comprises the following elements: PLC name Model name (PLC type) System memory size Extended memory size ASCII message table I/O port information Drop heads Segment schedules Special functions Loadable instructions Comments

26

33003538 07/2008

Converted Data in General

ProWORX32 Configuration

ProWORX32 is unlike Modsoft a Microsoft Windows-based PLC programming tool using the LL984 language. The ProWORX32 configuration comprises the following: PLC configuration Quantum 984 -785E (converted to Quantum) Compact (converted to Modicon M340 or Premium) Momentum (converted to Modicon M340) For the conversion of Compact and Momentum modules to Unity Pro modules please refer to the Appendix Conversion of Compact and Momentum to Unity Pro, p. 63. Traffic Cop 800 series 200 series DCP series (not converted) Momentum Communication Configuration Extensions Data Protect (not converted) Peer Cop S980 Addresses (not converted) Quantum Hot Standby Profibus (not converted) TCI/IP SY/MAX I/O Scanner Quantum Security (not converted)

Note: Please observe that the list items above highlighted as (not converted) will not be converted from ProWORX32 to Unity Pro.

33003538 07/2008

27

Converted Data in General

Concept Projects

A Concept project first has to be exported into a text file (ASCII file). If such a Concept file contains LL984 sections and the user tries to open that file in Unity Pro, the converter will be launched automatically. All error messages will be logged on the report file and will be displayed on the message window during the analysis time.By double clicking the error message line in the message window the user is able to jump to the error spot of the network and correct the errors step by step. Example of a LL984 section in an ASCII file: CP_SEC "_ 1" SECTK_F_SECTION LANG_LL SVB: FALSE ID: 1 CODE_IND: 1 TEXT: LL_NET 1 NAME: " " SONDAT: 0 TEXT: LL_NOD COL,ROW:1,1 OPCOD: 8 VERT:1 REF: 219:_100012 TEXT: LL_NOD COL,ROW:1,3 OPCOD: 8 VERT:1 REF: 219:_000107 TEXT: LL_NOD COL,ROW:1,4 OPCOD: 8 VERT:0 REF: 219:_000108 TEXT: LL_NOD COL,ROW:1,5 OPCOD: 9 VERT:1 REF: 219:_000051 TEXT: LL_NOD COL,ROW:2,1 OPCOD: 16 VERT:0 REF: 9:15 TEXT: LL_NOD COL,ROW:2,2 OPCOD: 21 VERT:0 REF: 219:_400001 TEXT: LL_NOD COL,ROW:2,3 OPCOD: 8 VERT:0 REF: 219:_000051 TEXT: LL_NOD COL,ROW:2,5 OPCOD: 16 VERT:0 REF: 9:10 TEXT: LL_NOD COL,ROW:2,6 OPCOD: 21 VERT:0 REF: 219:_400002 TEXT: LL_NOD COL,ROW:3,5 OPCOD: 12 VERT:0 REF: 219:_000107 TEXT: LL_NET 2 NAME:"SHUTDOWN ALARM CONTROL" SONDAT:0 TEXT: LL_NOD COL,ROW:1,1 OPCOD: 9 VERT:1 REF: 219:_000145 TEXT: LL_NOD COL,ROW:1,5 OPCOD: 9 VERT:1 REF: 219:_000109 TEXT: LL_NOD COL,ROW:2,1 OPCOD: 17 VERT:0 REF: 219:_400229 TEXT: LL_REG 0:148 NID:11 COL,ROW: 1,3 LNG: 1 TRUE "OPEN" EC_UNKNOWN_DT_ID LL_INS "BLKM" NID: 12 COL,ROW: 1,3 LL_INS "BLKM" NID: 12 COL,ROW: 2,3 LL_INS "BLKM" NID: 12 COL,ROW: 3,3 LL_INS "BLKM" NID: 12 COL,ROW: 5,3 LL_INS "CLSD" NID: 1 COL,ROW: 1,5 LL_INS "CLSD" NID: 2 COL,ROW: 1,5 LL_INS "CLSD" NID: 2 COL,ROW: 1,1

28

33003538 07/2008

Converted Data in General

Network Structure
General Presentation ProWORX32, Modsoft and Concept use the same network structure. Presentation of the network structure: Segment

Network

Instructions / Functions Register Assignments Comments

Equation Network Equation in Text (Register Assignments) Comments

33003538 07/2008

29

Converted Data in General

Constants, Symbols, Networks, Segments and Comments


General ProWORX32, Modsoft and Concept define constants, symbols, networks, segments and comments. The ProWORX32, Modsoft and Concept formats are converted into Unity Pro formats as follows:
Modsoft Format constant symbol (e.g. #00002) symbol symbol descriptor 1 or 10 networks network comment segment segment comment Unity Pro Format constant variable name variable comment section section comment functional module functional module comment

Formats in Unity Pro

Note: For each segment (functional module), the first network (section) is associated to segment oriented I/O-transfer (segment scheduling) and the segment comment.

Networks per Section

This option serves for separation of ProWORX32, Modsoft and Concept LL984 segments into smaller units. The separation of segments into smaller units does not take place, if a jump is present in the segment and its target has not yet been reached (see also Ignore Jumps When Separating, p. 31). In this case separation becomes active again after the jump target. Before starting the converting process in Unity Pro the Networks per Section option can be set via Tools Options. You can select a value of 1 to 10 networks per section. Note: To put only 1 network into one section improves the performance of the respective project when editing.

30

33003538 07/2008

Converted Data in General

Ignore Jumps When Separating

Before starting the converting process in Unity Pro the Ignore jumps when separating option can be set via Tools Options. A section may contain jumps to labels. A jump is located inside the section. The converter takes jumps inside the section into account since it is not allowed to have a jump from one section to another. Depending on how the jump is validated inside the section (active or not), the automatic splitting at network bounds is inhibited (active). The feature of recognizing jump scopes can be suppressed by the Ignore jumps when separating checkbox. When this checkbox is enabled, automatic section splitting always takes place at all jumps. Therefore many error messages concerning jump targets will be generated at analyze time that have to be resolved manually. See also Networks per Section, p. 30).

Paging Between Sections

According to the network mapping to sections in Unity Pro, an easy navigation function between sections is established, to provide similar behavior as in ProWORX32 with its network paging commands. Ctrl + Alt + PgUp = display previous network Ctrl + Alt + PgDown = display following network

Symbols Instead of Direct Address

This option applies to contacts and coils that have a state RAM address in LL984, which no symbol is defined for. Before starting the converting process in Unity Pro the Symbols Instead of Direct Address option can be set via Tools Options. If it is set, the converter replaces the direct address, which is derived from the state RAM address, by a generated symbol. Please also refer to Max. Symbol Length, p. 48. For detailed information on how symbols (variable names) are invented see Mapping of Data Relations, p. 41.

33003538 07/2008

31

Converted Data in General

State RAM
General The organization of data memory in the Quantum family is not changed in Unity Pro. For the Compact and the Momentum families topological addresses are generated. In order to provide a unified view of data memory, the state RAM areas are mapped using the notation used in IEC 61131. As a second step the data in these areas that correspond to data from I/O modules have an additional, topological address that can be used to access the data. Notation The new notation for state RAM maps directly onto the traditional state RAM notation:
Traditional 0xxxx 1xxxx 3xxxx 4xxxx New %M or %Q %I %IW %MW or %QW Data Storage output coils (bit output) input coils (bit input) input words output words

Example:
Traditional notation of the first output coil: New notation: 00001 %M1

32

33003538 07/2008

Converted Data in General

Forced Outputs (%M)

WARNING
RISK OF UNINTENDED EQUIPMENT OPERATION Do not rely on memory protect switch. The behavior of forced outputs (%M) between ProWORX32/Modsoft/Concept and Unity Pro has changed. With ProWORX32/Modsoft/Concept you cannot force outputs with the Quantum CPU memory protect switch in position "On". With Unity Pro you can force outputs with the Quantum CPU memory protect switch in position "On". Failure to follow these instructions can result in death, serious injury, or equipment damage.

WARNING
RISK OF UNINTENDED EQUIPMENT OPERATION Reforce outputs after a cold start. The behavior of forced outputs (%M) between ProWORX32/Modsoft/Concept and Unity Pro has changed. With ProWORX32/Modsoft/Concept forced outputs keep their state after a cold start. With Unity Pro forced outputs lose their state after a cold start. Failure to follow these instructions can result in death, serious injury, or equipment damage.

33003538 07/2008

33

Converted Data in General

Network Dimensions
LL984 format IEC LD format The LL984 network dimensions are 11 columns by 7 rows. While converting a LL984 network into an IEC LD network columns and rows are added. Amongst others this is done to create extra space for variables that are shown in additional rows of the function blocks.

34

33003538 07/2008

Converted Data in General

Equation Networks ProWORX32


ProWORX32 Equation Network Example of an equation network in ProWORX32:
1 2 3 4 5 6 7 8 9 10 11

40701=40702U+COS(40703UL)*#8.000135F+SI
1 05432 2 0 00602 < 00603 = 00604 > 00605 E 00606

Network Converted to Unity Pro


%M5432

The converted network is shown in Unity Pro as follows:

MW701:=REAL_TO_INT(UINT_TO_REAL(MW702)+COS(UDINT_TO_REAL(MW7

%M606

33003538 07/2008

COMPARE MW701>0

%M605

COMPARE MW701=0

%M604

COMPARE MW701<0

OPERATE MW701:=REAL_TO_INT(UINT_TO_REAL(...

%M602

%M603

35

Converted Data in General

Not Converted Objects


Loadables Loadables will be replaced by dummy EFBs with comments which include detailed error messages. Loadables are e.g. EUCA, MBUS, PEER etc. EXE Loadables ULEX and XMIT are EXE loadables. They will not be converted, but will be supported as part of the new high end PLC Unity Executive Runtime. ULEX is required for Quantum expert I/O modules and is implemented in Unity firmware. XMIT function block will be supported as an EFB. ASCII Messages 6x Range ASCII messages will not be converted. 6x range (register in expanded memory) will not be converted.

36

33003538 07/2008

Data Relation and Comment Generation

Overview
General This chapter comprises information on data relation in ProWORX32 and Unity Pro, mapping of data relations and the comment generation. This chapter contains the following topics:
Topic Data Relation in ProWORX32 Data Relation in Unity Pro Mapping of Data Relations Page 38 40 41

What's in this Chapter?

33003538 07/2008

37

Data Relation and Comment Generation

Data Relation in ProWORX32


General The ProWORX32 user interface shows mainly 2 relations between variables and text: state RAM Reference to non-unique Descriptors, a Short Comment, a Long Comment and an ISA Symbol state RAM Reference to a Description, and to a unique Symbol different from the ISA symbol The first relation associates a state RAM Reference to non-unique Descriptors, a Short Comment, a Long Comment and an ISA Symbol.
Nxt_demo Edit Descriptors Reference 00209 Belt #2 Reverse Time Out Summary Traffic Cop Short Comments This coil controls the length of time that belt #2 will run in reverse to unload a part. There is no sensor to indicate completion of unload.

First Relation

Long Comments Page Title Edit

Trailing

Leading ISA Symbol

The Long Comment and the ISA Symbol are mainly unused and are ignored in conversion.

38

33003538 07/2008

Data Relation and Comment Generation

Second Relation

The second relation associates a state RAM Reference to a Description, and to a unique Symbol different from the previously mentioned ISA symbol, allowing many non-alphanumeric characters.
Nxt_demo 0xxxx Reference 000203 000205 000209 000210 Edit 1xxxx Symbol BELT_2&4_MOVEMENT BELT_1&2_MOVEMENT BELT_#2_REVERSE BELT_#4_REVERSE Summary 3xxxx 4xxxx HMI N N N N Traffic Cop Filter Description Belt 2&4MovementPointer Belt 1&2MovementPointer Belt #2Reverse Time out Belt #4Reverse time out Symbol

Symbols, if present, can be required to appear in Ladder Logic instead of references. Descriptors can appear in an extended Ladder Logic presentation.

33003538 07/2008

39

Data Relation and Comment Generation

Data Relation in Unity Pro


General Unity Pro relates in its Data Editor direct addresses, unique symbols with a restricted character set, comments and data types. Direct addresses have a default data type. Type checking is strongly done in programs. If a variable with a direct address needs to have a data type different from the default type, a declaration must be given at minimum with symbol, direct address, and data type. Data Types The data types in converted LL984 programs are determined by the block library and the requirement to clearly show overlaps of memory areas, and to avoid access to non- declared memory areas. The blocks work with unsigned-integer arrays of different sizes, as predefined by the 984 ladder logic blocks.

Direct Addresses

40

33003538 07/2008

Data Relation and Comment Generation

Mapping of Data Relations


General A variable in ProWORX32 can have different properties: Reference Symbol Description (concatenation of Descriptors) Short Comment Long Comment ISA Symbol Depending on the variable properties defined in ProWORX32, the mapping of data relations is done in different ways. Note: Long Comment and ISA Symbol are ignored during conversion.

Different Cases

The following combinations of variable properties, defined in ProWORX32, are considered during conversion.
Property Reference Symbol Description Short Comment Case 1 X X Case 2 X X X Case 3 X X Case 4 X X Case 5 X X X Case 6 X X X X

Flat or Topological Addresses Correction of Symbols (Variable Names)

Depending on the target platform and the respective option set under Tools Options Conversion Settings a flat or a topological address is generated during conversion. Symbols (variable names) are corrected during conversion to conform Unity Pro rules. Not allowed characters ("#", "$", "&", " ", ...) are replaced by underscore (_). If 2 underscores result in sequence only 1 underscore is inserted instead. An underscore at the end is eliminated. Therefore it can occur that symbols (variable names) are no more unique. They must be corrected by the user (see Trouble Shooting after Converting a File, p. 21).

33003538 07/2008

41

Data Relation and Comment Generation

Max.Symbol Length

Before starting the converting process in Unity Pro the Max.Symbol Length can be set via Tools Options Conversion Settings. Example: You set the Max.Symbol Length to 17 characters. You need 10 characters for the appended part of the variable name (A16UIMW150), see Case 3 below. The amount of characters taken from the beginning of the description will be 7 characters (DESCRIP) Result: DESCRIPA16UIMW150

Case 1
ProWORX32 Reference (e.g. 000209) Symbol converted to -> -> Unity Pro flat or topological Address Variable Name 1

1 Symbols (variable names) are corrected to conform Unity Pro rules. Case 2
ProWORX32 Reference (e.g. 000209) Symbol Description converted to -> -> -> Unity Pro flat or topological Address Variable Name 1 Comment

1 Symbols (variable names) are corrected to conform Unity Pro rules.

42

33003538 07/2008

Data Relation and Comment Generation

Case 3
ProWORX32 Reference (e.g. 000150) see below Description converted to -> -> -> Unity Pro flat or topological Address Variable Name Comment

The Variable Name is invented from the Description by taking a selectable amount of characters from the beginning of the description cleaning them from not allowed characters appending the array length, if not equal to 1 (e.g. A16) a 2-letter type code (e.g. UI) a 2-letter memory code (e.g. MW) the reduced reference (e.g. 150) Example: DESCRIPTIONA16UIMW150 Case 4
ProWORX32 Reference (e.g. 000150) see below Short Comment converted to -> -> -> Unity Pro flat or topological Address Variable Name Comment

The Variable Name is invented from the Short Comment by taking a selectable amount of characters from the beginning of the short comment cleaning them from not allowed characters appending the array length, if not equal to 1 (e.g. A16) a 2-letter type code (e.g. UI) a 2-letter memory code (e.g. MW) the reduced reference (e.g. 150) Example: SHORTCOMMA16UIMW150

33003538 07/2008

43

Data Relation and Comment Generation

Case 5
ProWORX32 Reference (e.g. 000150) see below Short Comment converted to -> -> -> Unity Pro flat or topological Address Variable Name Comment

The Variable Name is invented from the Description by taking a selectable amount of characters from the beginning of the description cleaning them from not allowed characters appending the array length, if not equal to 1 (e.g. A16) a 2-letter type code (e.g. UI) a 2-letter memory code (e.g. MW) the reduced reference (e.g. 150) Example: DESCRIPTIONA16UIMW150 Case 6
ProWORX32 Reference (e.g. 000209) Symbol Description Short Comment converted to -> -> -> -> Unity Pro flat or topological Address Variable Name 1 is ignored Comment

1 Symbols (variable names) are corrected to conform Unity Pro rules.

44

33003538 07/2008

Converted Coils, Contacts, Links and Function Blocks

Overview
General This chapter comprises information on the coils, contacts, links and function blocks that are converted out of ProWORX32, Modsoft and Concept projects to Unity Pro and on objects that can not be converted or will be replaced by the respective objects provided by Unity Pro. This chapter contains the following topics:
Topic Converting Rules and Conversion Settings Converted Coils, Contacts and Links Converted Function Blocks Not Converted Function Blocks Page 46 50 51 52

What's in this Chapter?

33003538 07/2008

45

Converted Coils, Contacts, Links and Function blocks

Converting Rules and Conversion Settings


Placing Objects and Links To achieve a proper presentation of the converted LL984 sections in Unity Pro, the following rules are applied. Rules for object placing: The distance between two objects must be at least one cell. When two function blocks are connected, the minimum distance must equal the number of cells of the first function blocks width. The cells in Unity are smaller. If an function block partially occupies another cell, an additional cell is required for the function block. If an object (contact or coils) has a vertical link (OR Link), this vertical link will be located at the end of the cell of the object. An additional cell is required if: a vertical link (OR Link) with an INPUT function block exists the source function block has output variables the target function block has input variables A coil may not be directly connected to the left bus bar. Rules for the conversion of function block links: Function block links between variables/constants and function blocks will be ignored. In these cases, Unity will automatically create a link. Purely horizontal function block links between objects that are not function blocks will be replaced with horizontal links with multiple segments. When two OR objects are connected, a horizontal link is first connected to the right side of the source OR object. An function block link will then be created between this horizontal link and the target object. This occurs because the two OR objects would otherwise be combined during the import into Unity. Each point of the left bus bar can only be occupied by one link. Suppress Schedule Sometimes the schedules of ProWORX32, Modsoft and Concept I/O drops can not be converted without errors (Invalid RIO drop). Before starting the converting process in Unity Pro the check box Suppress Schedule can be set via Tools Options to suppress the association of I/O drops (Remote I/O) to sections. This can be done to avoid analyze errors in Unity Pro.

46

33003538 07/2008

Converted Coils, Contacts, Links and Function blocks

Suppress Graphs

With ProWORX32, Modsoft and Concept comment networks can be edited using links to compose large characters in a graphical way. Unity Pro does not accept such networks, which contain only links. Before starting the converting process in Unity Pro the check box Suppress Graphs can be set via Tools Options to erase all these networks during conversion. This can be done to avoid analyze errors in Unity Pro.

Attach Coils to Open Ends

Using LL984 programming it is not mandatory to terminate a contact network with a coil. In Unity Pro it is mandatory to terminate a contact network with a coil. Before starting the converting process in Unity Pro the check box Attach Coils to Open Ends can be set via Tools Options. If this check box is set coils without assigned variables will be positioned at the open ends automatically. This is done to avoid analyze errors in Unity Pro.

Include 984 Execution Corrections Unpowered LD Objects to Left Power Rail

For this option please refer to the chapter Differences in the Execution Order, p. 55.

Using LL984 programming it is allowed to position LD objects (contacts, links) freely in the networks (not connected to the left power rail). In Unity Pro this would cause analyze errors. Before starting the converting process in Unity Pro the check box Unpowered LD Objects to Left Power Rail can be set via Tools Options. If this check box is set unpowered LD objects will be connected to the left power rail automatically.

Blockwidth

The graphical width of blocks can be adjusted to satisfy graphical design needs. Before starting the converting process in Unity Pro the Blockwidth can be set to values from 10 to 15 via Tools Options.

33003538 07/2008

47

Converted Coils, Contacts, Links and Function blocks

Max. Symbol Length

ProWORX32 LL984 allows to define non-unique descriptors to document contact and coil meaning. Concept LL984 like Unity Pro uses unique symbols instead. The converter constructs unique symbols from ProWORX32 descriptors by condensing them and appending type and address shortcuts. Before starting the converting process in Unity Pro the Max. Symbol Length can be set via Tools Options. A value of 0 means that no descriptor part is used for the symbol and only the type and address shortcut appears as the unique symbol. Please also refer to Symbols Instead of Direct Address, p. 31.

Further Conversion Settings

For further conversion settings please refer to Constants, Symbols, Networks, Segments and Comments, p. 30.

48

33003538 07/2008

Converted Coils, Contacts, Links and Function blocks

Objects to recognize transitions

The different ways of handling ladder diagram (LD) objects in Concept (calling an function block) and in Unity Pro (system call) makes the use of State RAM variables (0x/1x register) necessary. Because of the requirement that several write accesses to the 0x/1x register are possible during a cyclical sweep, there can be differing Online behavior between Concept and Unity Pro. The objects affected are: Positive transition-sensing contact Negative transition-sensing contact In Concept the "Old Value" to recognize a transition will only be updated once per cycle. In Unity Pro the "Old Value" will be updated during every write access. Example:

%QX1 %QX2 P %QX1 %QX2 P

%QX2

inc( %MW1 ) %QX2

inc( %MW2 )

Concept: Switch %QX1 from 0 -> 1 and the value of %MW1 and %MW2 increase. Unity Pro: Switch %QX1 from 0 -> 1 and only the value of %MW1 increases. Note: Use objects to recognize transitions with a certain variable only once per cycle.

33003538 07/2008

(
49

Converted Coils, Contacts, Links and Function blocks

Converted Coils, Contacts and Links


General All coils, contacts and links are converted to Unity Pro technically one-to-one. Note: Please note the different execution order of transition-sensing objects in Concept and Unity Pro as described under Objects to recognize transitions, p. 49.

Converted Coils, Contacts and Links

The following coils, contacts and links are converted to Unity Pro: Normal coil Normally open contact Normally closed contact Positive transition-sensing contact Negative transition-sensing contact Horizontal short Vertical short

Note: Retentive coils are converted to normal coils.

50

33003538 07/2008

Converted Coils, Contacts, Links and Function blocks

Converted Function Blocks


General All function blocks listed in the Unity Pro Enhanced LL984 Block Library are converted to Unity Pro one-to-one. Information on function blocks that can not be converted you will find under Not Converted Function Blocks, p. 52. Suffixes The converter automatically translates the LL984 register types (0x, 4x) to suffixes attached to the original block names. Example for the BLKM block: LL_BLKM_BB LL_BLKM_BI LL_BLKM_IB LL_BLKM_II Meaning of the suffixes:
Suffix _BB _IB _BI _II _B _I First Parameter 0x 4x 0x 4x constant or register constant or register Second Parameter 0x 0x 4x 4x 0x 4x

For further information please refer to the respective block description in the Unity Pro Enhanced LL984 Block Library manual.

33003538 07/2008

51

Converted Coils, Contacts, Links and Function blocks

Not Converted Function Blocks


General All function blocks listed in the Unity Pro Enhanced LL984 Block Library are converted to Unity Pro one-to-one. Function blocks that can not be converted will be replaced by dummy DFBs with comments which include detailed error messages. Error messages will be logged on the report file and will be displayed on the message window during the analysis time. By double clicking the error message line in the message window the user is able to jump to the error spot of the network and correct the errors step by step. Dummy DFBs A dummy DFB provides the following informations: The name of a dummy DFB is composed out of "LL_" and the "original name" of the LL984 function block. Example: "LL_INSTRUCTION05". All original parameters are listed. An error message is displayed in the section: ConvError(Empty DFB to be filled by user) Examples The following table lists function blocks that are not provided by Unity Pro.
LL984 Function Blocks (LOADABLE) CHS EUCA MBUS PEER MAP3 MRTM HLTH

52

33003538 07/2008

Execution Order

III
Overview
General This part comprises information on the problem that the IEC LD execution order in Unity Pro may differ from the execution order of the original LL984 section in ProWORX32, Modsoft or Concept. This part contains the following chapters:
Chapter 7 Chapter Name Differences in the Execution Order Page 55

What's in this Part?

33003538 07/2008

53

Execution Order

54

33003538 07/2008

Differences in the Execution Order

7
Overview
General This chapter comprises information on the problem that the IEC LD execution order in Unity Pro may differ from the execution order of the original LL984 section in ProWORX32, Modsoft or Concept. This fact has to be taken into account while converting a ProWORX32, Modsoft or Concept project to Unity Pro. What's in this Chapter? This chapter contains the following topics:
Topic Specific Characteristics Example: Include 984 Execution Corrections, not set Example: Include 984 Execution Corrections, set Page 56 57 59

33003538 07/2008

55

Differences in the Execution Order

Specific Characteristics
General The LL984 execution order is different from the execution order in IEC LD. The execution order in LL984 is column-by-column. The execution order in IEC LD is row-by-row but with the qualification that no element of a network will be evaluated until the states of all of its inputs have been evaluated (according to IEC 61131). Example of execution order in IEC LD:

1 2 4 3

Execution Corrections

Before starting the converting process in Unity Pro the check box Include 984 Execution Corrections can be set via Tools Options. If this is done the converter modifies the section so that the result in Unity Pro is the same as in ProWORX32, Modsoft or Concept. See Example: Include 984 Execution Corrections, set, p. 59. If the check box is not set there may be differences in the result of the respective sections. See Example: Include 984 Execution Corrections, not set, p. 57.

Error Message

If the check box Include 984 Execution Corrections is not set, an error message will be logged on the report file and will be displayed on the message window during the analysis time. This error message reminds the user that the execution order may be changed.

Function Blocks, Execution Order

If the check box Include 984 Execution Corrections is set, the converter modifies the section so that the execution order of function blocks in Unity Pro will be the same as in the original LL984 section. This is done by linking the EN and ENO parameters of the single function blocks.

Scanning Time

It can not be guaranteed that the scanning time of the converted section is the same as of the original section. May be there will be a longer scanning time.

56

(
33003538 07/2008

Differences in the Execution Order

Example: Include 984 Execution Corrections, not set


Different Execution Order If the check box Include 984 Execution Corrections is not set before starting the converting process in Unity Pro via Tools Options, there may be differences in the result of the respective sections. It may happen that references (coils/contact) are evaluated only when they have changed their state. LL984 Network Example network from a LL984 project:

F1 F3 F4 F5 3764_QNT Seg. 1 #5 N002 Retour en Manu/Rarm. Auto P ( 000192 000143 000141 000144 000144 100055 000138 000137 000144

P
000192 000144 100055 000137 000144 000143

000138 000141 000144

The normal coil (#000144) is referenced by the normal open contacts in the 2nd and the 5th row and the normal coil (#000144) gets executed at the end. This is the correct order in LL984.

33003538 07/2008

LL984 Execution Order

The execution order in LL984 is column-by column:

57

Differences in the Execution Order

IEC LD Execution Order

The execution order in IEC LD is row by row but with the qualification that no element of a network will be evaluated until the states of all of its inputs have been evaluated: P

000192 000143 000144 000141 000144 100055 000137

000144 000138

The normal coil (#000144) gets executed before the referenced normal open contact in the 5th row is evaluated. Note: The execution order has been changed and the result of the converted IEC LD section will be different from the result of the original LL984 section.

58

33003538 07/2008

Differences in the Execution Order

Example: Include 984 Execution Corrections, set


Set the Check Box If the check box Include 984 Execution Corrections is set before starting the converting process in Unity Pro via Tools Options, the converter modifies the section so that the result in Unity Pro is the same as in ProWORX32, Modsoft or Concept. Example network from a LL984 project:

LL984 Network

F1 F3 F4 F5 3764_QNT Seg. 1 #5 N002 Retour en Manu/Rarm. Auto P ( 000192 000143 000141 000144 000144 100055 000138 000137 000144

P
000192 000144 100055 000137 000144 000143

000138 000141 000144

The normal coil (#000144) is referenced by the normal open contacts in the 2nd and the 5th row and the normal coil (#000144) gets executed at the end. This is the correct order in LL984.

33003538 07/2008

LL984 Execution Order

The execution order in LL984 is column-by column:

59

Differences in the Execution Order

Modified Network

The converter modifies the section by adding auxiliary coils and contacts with the prefix _d_:

%M144 %I55 %M137 _d_M144 %M144 _d_M144 %M138

P
%M192 %M143 %M144 %M141

%M144

%I55

%M137

_d_144 %M138

%M144 _d_M144

So the contact _d_M144 receives the value of the previous execution cycle as it is with the LL984 execution order. Note: The execution order is maintained but the result of the converted section will be the same as the result of the original LL984 section.

60

33003538 07/2008

IEC LD Execution Order

The execution order in IEC LD is now:

( (

%M192 P

%M143

%M141

%M144

Appendices

Introduction
Overview What's in this Appendix? This section contains the appendices. The appendix contains the following chapters:
Chapter A Chapter Name Conversion of Compact and Momentum to Unity Pro Page 63

33003538 07/2008

61

Appendices

62

33003538 07/2008

Conversion of Compact and Momentum to Unity Pro

At a Glance
Overview This chapter includes information on the conversion of Compact and Momentum modules to Unity Pro modules. This chapter contains the following topics:
Topic Compact Modules to Unity Pro Premium Modules Compact Modules to Unity Pro Modicon M340 Modules Momentum Modules to Unity Pro Modicon M340 Modules Page 64 69 73

What's in this Chapter?

33003538 07/2008

63

Conversion of Compact and Momentum to Unity Pro

Compact Modules to Unity Pro Premium Modules


Overview Compact modules can either be converted to Unity Pro Premium or Modicon M340 modules depending on the conversion settings. To define that Compact applications will be converted to Unity Pro Premium applications, open the Conversion Settings tab via Tools Options in Unity Pro and activate the Map Compact to Premium check box before converting. If you select conversion to Unity Pro Premium modules, the Compact modules are converted as listed in the table below. If the check box is not activated, Concept Compact applications are converted to Modicon M340 applications (see Compact Modules to Unity Pro Modicon M340 Modules, p. 69). Manual Corrections

Note: The 984 to Unity Converter converts as far as possible the modules when equivalencies are existing. It is mandatory to check the result according to the process needs. The settings of the hardware modules (parameters) are not converted but set to default values and must be entered for each module in Unity Pro. Channel objects are converted as far as possible. Nevertheless, the program may have to be adapted according to the different behavior with the original module.

64

33003538 07/2008

Conversion of Compact and Momentum to Unity Pro

Modules

For modules not listed below, no equivalence in Unity Pro is available and there will be an empty slot in the rack.
Converted to Premium AEY420 AEY420 AEY420 AEY420 AEY414 AEY414 AEY414 AEY414 AEY414 AEY1614 AEY1614 AEY1614 AEY414 AEY414 AEY1614 AEY1614 AEY1614 AEY1614 IBY100 IBY100 IBY100 DSY16T2 DSY16T2 DSY08R5 DSY08R5 DSY08R5 DSY08R5 DSY16S4 DSY16S4 DSY16S4 DSY16S4 DMY28FK 65

Compact Module Name Comment ADU 204 AS-BADU204/254 ADU 205 AS-BADU205 ADU 206 AS-BADU206/256 ADU 256 ADU 210 AS-BADU210 ADU 211 AS-BADU211/212 ADU 212 ADU 214 AS-BADU214 ADU 216 AS-BADU216 ADU 257 AS-BADU257 BKF 202 BKF201-16 BKF201-64 DAO 216 AS-BDAO216 DAP 204 AS-BDAP2x4 DAP 208 AS-BDAP208/258 DAP 209 AS-BDAP209 DAP 210 AS-BDAP210 DAP 211
33003538 07/2008

4 Channel Register Input 4 Channel Register Input 4 Channel Register Input 4 Channel Register Input 4 Channel Register Input 4 Channel Register Input 4 Channel Register Input 4 Channel Voltage/Current Input 4 Channel Voltage/Current Input 16I ANA. THERMO. 16I ANA. THERMO. 8 Channel Analog Input Module 4 Channel Multi Range A/D Input 4 Channel Multi Range A/D Input 8 Channel Thermocouple 8 Channel Thermocouple 8 Channel Thermocouple 8 Channel Thermocouple INTERBUS S Slave 16 Word INTERBUS S Master 64 Word INTERBUS S Master 24 VDC 16 Point Output Module 24 VDC 16 Point Output Module 24 VDC 4 Point Relay (NO) Module 24 VDC 4 Point Relay (NO) Module 24 VDC 8 Point Relay (NO) Module 24 VDC 8 Point Relay (NO) Module 120 VAC 8 Point Output Module 120 VAC 8 Point Output Module 24-230 VAC 8 Point Output Module 24-230 VAC 8 Point Output Module 120 VAC Press and Stamp Module

Conversion of Compact and Momentum to Unity Pro

Compact Module Name Comment AS-BDAP211 DAP 212 DAP 216 AS-BDAP216 (O/N) DAP 217 AS-BDAP217 DAP 218 AS-BDAP218 DAP 220 AS-BDAP220/250 DAP 250 DAP 252 DAP 252 DAP 253 AS-BDAP2x2/253 DAP 292 DAP 292 DAP 253 DAU 202 AS-BDAU2x2 DAU 204 AS-BDAU204 DAU 208 AS-BDAU208 DEO 216 AS-BDE0216 AS-BDEP2x6/2x7 DEP 208 AS-BDEP208 DEP 209 AS-BDEP209 DEP 210 AS-BDEP210 DEP 211 66 120 VAC Press and Stamp Module 24 VDC 8 Point Input/4 Point Output 24 VDC 16 Point Output Module 24 VDC 16 Point Output Module 5-24 VDC 16 Point Output Module 5-24 VDC 16 Point Output Module 24-240 VAC 16 Point Output Module 24-240 VAC 16 Point Output Module 24 VDC 8 Point Input/Output Module 24 VDC 8 Point Input/Output Module 24 VDC 8 Point Input/Output Module 24 VDC 8In 4Out 24 VDC 8In 4Out 110VDC 8In 4Out 110VDC 8In 4Out 60 VDC 8In 4Out 60 VDC 8In 4Out 110VDC 8In 4Out 2 Channel Register Output 2 Channel Register Output 4 Channel Analog Output, Opto-Isol. 4 Channel Analog Output, Opto-Isol. 8 Channel Register Output 8 Channel Register Output 24 VDC 16 Point Input Module 24 VDC 16 Point Input Module 24 VDC 16 Point Input Module 230 VAC 8 Point Input Module 230 VAC 8 Point Input Module 120 VAC 8 Point Input Module 120 VAC 8 Point Input Module 115 VAC 8 Point Input Module 115 VAC 8 Point Input Module 115 VAC 8 Point Input Module

Converted to Premium DMY28FK DMY28FK DSY16T2 DMY28FK DSY16R5 DSY16R5 DSY16S5 DSY16S5 DMY28FK DMY28FK DMY28FK DMY28FK DMY28FK DMY28FK DMY28FK DMY28FK DMY28FK DMY28FK ASY410 ASY410 ASY410 ASY410 ASY800 ASY800 DEY16D2 DEY16D2 DEY16D2 DEY16A5 DEY16A5 DEY16A4 DEY16A4 DEY16A4 DEY16A4 DEY16A4
33003538 07/2008

Conversion of Compact and Momentum to Unity Pro

Compact Module Name Comment AS-BDEP211 DEP 214 AS-BDEP214/254 DEP 215 AS-BDEP215 DEP 216 AS-BDE0216 DEP 217 AS-BDEP217 DEP 218 AS-BDEP218 DEP 220 AS-BDEP220 DEP 256 DEP 296 DEP 297 DEP 257 FRQ 204 AS-BFRQ204/254 KOS260-64 M7251 M7350 MOT 201 MOT 202 VIC 200 VIC205 VIC212 VIC224 ZAE 201 AS-BZAE201 ZAE 204 AS-BZAE204 PC-984-A145 PC-E984-258
33003538 07/2008

Converted to Premium DEY16A4 DEY16D3 DEY16D3 DEY16D2 DEY16D2 DEY16D2 DEY16D2 DEY16D2 DEY16D2 DEY16A4 DEY16A4 DEY16FK DEY16FK DEY16A4 DEY16D3 DEY16D3 DEY16A4 CTY2C CTY2C CAY33 CAY33 CAY41 CAY21 CAY22 CFY11 CFY21 CSY84 CAY42 CTY2A CTY2A CTY4A CTY4A P574634M P574634M 67

115 VAC 8 Point Input Module 12-60 VDC 16 Point Input Module 12-60 VDC 16 Point Input Module 5 VDC TTL 16 Pt Input Module 5 VDC TTL 16 Pt Input Module 24 VDC 16 Point Input Module 24 VDC 16 Point Input Module 24 VDC 16 Point Input Module 24 VDC 16 Point Input Module 115 VAC 16 Point Input Module 115 VAC 16 Point Input Module Fast 24 VDC 16 Point Input Module Fast 24 VDC 16 Point Input Module 110 VDC 16 In 60 VDC 16 In 48 VDC 16 In 110 VDC 16 In Frequency Module Frequency Module 64 Word Universal Comm Programmable Limit Switch Resolver Decoder Axis Motion Control Module Encoder Axis Motion Control Module Resolver & Encoder 4 High Speed Pulse or 4 VRC Inputs 4 High Speed Pulse or 4 5V TTL Inputs 4 High Speed Pulse or 12 VDC Inputs 4 High Speed Pulse or 24 VDC Inputs High speed Counter/Positioner (2 Relay) High speed Counter/Positioner (2 Relay) 4 Channel High speed Counter/Positioner 4 Channel High speed Counter/Positioner ProWORX CPU, 8 K, 1xMB, 1xMB+ Concept IEC CPU, 512 K, 2xMB, ET

Conversion of Compact and Momentum to Unity Pro

Compact Module Name Comment PC-E984-265 PC-E984-275 PC-E984-285 P120 000 Concept IEC CPU, 512 K, 2xMB, 1xMB+ Concept IEC CPU, 512 K, 2xMB, 1xMB+, PC Type II Concept IEC CPU, 1 M, 2xMB, 1xMB+, PC Type II, ET in 100..240 VAC, sensors 24V 0.5A

Converted to Premium P574634M P574634M P574634M PSY2600M

68

33003538 07/2008

Conversion of Compact and Momentum to Unity Pro

Compact Modules to Unity Pro Modicon M340 Modules


Overview Compact modules can either be converted to Unity Pro Premium or Modicon M340 modules depending on the conversion settings. To define that Compact applications will be converted to Unity Pro Premium applications, open the Conversion Settings tab via Tools Options in Unity Pro and activate the Map Compact to Premium check box before converting (see Compact Modules to Unity Pro Premium Modules, p. 64). If the check box is not activated, Concept Compact applications are converted to Modicon M340 applications as listed in the table below. Manual Corrections

Note: The 984 to Unity Converter converts as far as possible the modules when equivalencies are existing. It is mandatory to check the result according to the process needs. The settings of the hardware modules (parameters) are not converted but set to default values and must be entered for each module in Unity Pro. Channel objects are converted as far as possible. Nevertheless, the program may have to be adapted according to the different behavior with the original module.

33003538 07/2008

69

Conversion of Compact and Momentum to Unity Pro

Modules

For modules not listed below, no equivalence in Unity Pro is available and there will be an empty slot in the rack.
Converted to Modicon M340 BMXAMI0410 BMXART0414 BMXAMI0410 BMXAMI0410 BMXART0414 BMXART0414 BMXART0414 BMXAMI0410 BMXAMI0410 BMXART0814 BMXART0814 BMXART0814 BMXART0814 BMXART0414 BMXART0414 BMXART0814 BMXART0814 BMXART0814 BMXART0814 BMXDDO1602 BMXDDO1602 BMXDRA0805 BMXDRA0805 BMXDRA0805 BMXDRA0805 BMXDAO1605 BMXDAO1605 BMXDAO1605 BMXDAO1605 BMXDDM16022 BMXDDM16022 BMXDDM16022
33003538 07/2008

Compact Module Name Comment ADU 204 AS-BADU204/254 ADU 205 AS-BADU205 ADU 206 AS-BADU206/256 ADU 256 ADU 210 AS-BADU210 ADU 211 AS-BADU211 ADU 212 AS-BADU211/212 ADU 214 AS-BADU214 ADU 216 AS-BADU216 ADU 257 AS-BADU257 DAO 216 AS-BDAO216 DAP 204 AS-BDAP2x4 DAP 208 AS-BDAP208/258 DAP 209 AS-BDAP209 DAP 210 AS-BDAP210 DAP 211 AS-BDAP211 DAP 212 70 4 Channel Register Input 4 Channel Register Input 4 Channel Register Input 4 Channel Register Input 4 Channel Register Input 4 Channel Register Input 4 Channel Register Input 4 Channel Voltage/Current Input 4 Channel Voltage/Current Input 8 Channel Analog Input Module 8 Channel Analog Input Module 8 Channel Analog Input Module 8 Channel Analog Input Module 4 Channel Multi Range A/D Input 4 Channel Multi Range A/D Input 8 Channel Thermocouple 8 Channel Thermocouple 8 Channel Thermocouple 8 Channel Thermocouple 24 VDC 16 Point Output Module 24 VDC 16 Point Output Module 24 VDC 4 Point Relay (NO) Module 24 VDC 4 Point Relay (NO) Module 24 VDC 8 Point Relay (NO) Module 24 VDC 8 Point Relay (NO) Module 120 VAC 8 Point Output Module 120 VAC 8 Point Output Module 24-230 VAC 8 Point Output Module 24-230 VAC 8 Point Output Module 120 VAC Press and Stamp Module 120 VAC Press and Stamp Module 24 VDC 8 Point Input/4 Point Output

Conversion of Compact and Momentum to Unity Pro

Compact Module Name Comment DAP 216 AS-BDAP216 (O/N) DAP 217 AS-BDAP217 DAP 218 AS-BDAP218 DAP 220 AS-BDAP220/250 DAP 250 DAP 252 DAP 252 DAP 253 AS-BDAP2x2/253 DAP 292 DAP 292 DAU 202 AS-BDAU2x2 DAU 204 AS-BDAU204 DAU 208 AS-BDAU208 DEO 216 AS-BDE0216 DEP 208 AS-BDEP208 DEP 209 AS-BDEP209 DEP 210 AS-BDEP210 DEP 211 AS-BDEP211 DEP 214 AS-BDEP214/254 DEP 215
33003538 07/2008

Converted to Modicon M340 BMXDDO1602 BMXDDO1602 BMXDDO1612 BMXDDO1612 BMXDAO1605 BMXDAO1605 BMXDDM16022 BMXDDM16022 BMXDDM16022 BMXDDM16022 BMXDDM16022 BMXDDM16022 BMXDDM16022 BMXDDM16022 BMXDDM16022 BMXAMO0210 BMXAMO0210 BMXAMOI0210 BMXAMO0210 BMXAMO0210 BMXAMO0210 BMXDDI1602 BMXDDI1602 BMXDAI1604 BMXDAI1604 BMXDAI1604 BMXDAI1604 BMXDAI1604 BMXDAI1604 BMXDAI1604 BMXDAI1604 BMXDDI1603 BMXDDI1603 BMXDDI1602 71

24 VDC 16 Point Output Module 24 VDC 16 Point Output Module 5-24 VDC 16 Point Output Module 5-24 VDC 16 Point Output Module 24-240 VAC 16 Point Output Module 24-240 VAC 16 Point Output Module 24 VDC 8 Point Input/Output Module 24 VDC 8 Point Input/Output Module 24 VDC 8 Point Input/Output Module 24 VDC 8In 4Out 24 VDC 8In 4Out 110VDC 8In 4Out 110VDC 8In 4Out 60 VDC 8In 4Out 60 VDC 8In 4Out 2 Channel Register Output 2 Channel Register Output 4 Channel Analog Output, Opto-Isol. 4 Channel Analog Output, Opto-Isol. 8 Channel Register Output 8 Channel Register Output 24 VDC 16 Point Input Module 24 VDC 16 Point Input Module 230 VAC 8 Point Input Module 230 VAC 8 Point Input Module 120 VAC 8 Point Input Module 120 VAC 8 Point Input Module 115 VAC 8 Point Input Module 115 VAC 8 Point Input Module 115 VAC 8 Point Input Module 115 VAC 8 Point Input Module 12-60 VDC 16 Point Input Module 12-60 VDC 16 Point Input Module 5 VDC TTL 16 Pt Input Module

Conversion of Compact and Momentum to Unity Pro

Compact Module Name Comment AS-BDEP215 DEP 216 AS-BDEP216 DEP 217 AS-BDEP217 DEP 218 AS-BDEP218 DEP 220 AS-BDEP220 DEP 256 DEP 296 DEP 297 DEP 257 AS-BDEP2x6/2x7 FRQ 204 AS-BFRQ204/254 ZAE 201 AS-BZAE201 ZAE 204 AS-BZAE204 PC-E984-258 PC-E984-265 PC-E984-275 PC-E984-285 5 VDC TTL 16 Pt Input Module 24 VDC 16 Point Input Module 24 VDC 16 Point Input Module 24 VDC 16 Point Input Module 24 VDC 16 Point Input Module 115 VAC 16 Point Input Module 115 VAC 16 Point Input Module Fast 24 VDC 16 Point Input Module Fast 24 VDC 16 Point Input Module 110 VDC 16 In 60 VDC 16 In 48 VDC 16 In 110 VDC 16 In 110 VDC 16 In Frequency Module Frequency Module High speed Counter/Positioner (2 Relay) High speed Counter/Positioner (2 Relay) 4 Channel High speed Counter/Positioner 4 Channel High speed Counter/Positioner Concept IEC CPU, 512 K, 2xMB, ET Concept IEC CPU, 512 K, 2xMB, 1xMB+ Concept IEC CPU, 512 K, 2xMB, 1xMB+, PC Type II Concept IEC CPU, 1 M, 2xMB, 1xMB+, PC Type II, ET

Converted to Modicon M340 BMXDDI1602 BMXDDI1602 BMXDDI1602 BMXDDI1602 BMXDDI1602 BMXDAI1604 BMXDAI1604 BMXDDI1602 BMXDDI1602 BMXDDI1602 BMXDDI1603 BMXDDI1603 BMXDAI1604 BMXDAI1604 BMXEHC0800 BMXEHC0800 BMXEHC0200 BMXEHC0200 BMXEHC0800 BMXEHC0800 BMXP342020 BMXP342020 BMXP342020 BMXP342020

72

33003538 07/2008

Conversion of Compact and Momentum to Unity Pro

Momentum Modules to Unity Pro Modicon M340 Modules


Overview Momentum modules are converted to Unity Pro Modicon M340 modules. The Momentum modules are converted as listed in the table below. Manual Corrections

Note: The LL984 to Unity Converter converts as far as possible the modules when equivalencies are existing. It is mandatory to check the result according to the process needs. The settings of the hardware modules (parameters) are not converted but set to default values and must be entered for each module in Unity Pro. Channel objects are converted as far as possible. Nevertheless, the program may have to be adapted according to the different behavior with the original module.

33003538 07/2008

73

Conversion of Compact and Momentum to Unity Pro

Modules
Momentum Module Name 171 CBB 970 30-IEC 171 CCC 760 10-984 171 CCC 760 10-IEC 171 CCC 780 10-984 171 CCC 780 10-IEC 171 CCC 960 20-984 171 CCC 960 30-984 171 CCC 960 30-IEC 171 CCC 960 91 171 CCC 980 20-984 171 CCC 980 30-984 171 CCC 980 30-IEC 171 CCC 980 91 171 CCS 700 10 171 CCS 700/780 00 171 CCS 760 00-984 171 CCS 760 00-IEC 17A-ADO-340-00 17A-ADI-340-00 17A-ADI-540-50 17A-ADI-740-50 17A-ADM-350-1X 17A-ADM-370-10 17A-ADM-390-30 17A-ADO-350-00 17A-ADI-350-00 17A-AAI-520-40

For modules not listed below, no equivalence in Unity Pro is available and there will be an empty slot in the rack.
Comment Processor, 1M Flash, Ethernet, I/O Bus Processor Adapter, 512K, RS232, I/O Bus Processor Adapter, 512K, RS232, I/O Bus Processor Adapter, 512K, RS232, RS485 Processor Adapter, 512K, RS232, RS485 Proc. Adapter, 512K, Ethernet, I/O Bus Processor, 1M Flash, Ethernet, I/O Bus Processor, 1M Flash, Ethernet, I/O Bus Processor, 1M Flash, Ethernet, I/O Bus Proc. Adapter, 512K, Ethernet, RS485 Processor, 1M Flash, Ethernet, RS485 Processor, 1M Flash, Ethernet, RS485 Processor, 1M Flash, Ethernet, RS485 Processor Adapter, FAST CPU, 64K, RS232 Processor Adapter, 64K, RS232/RS232+RS485 Processor Adapter, 256K, RS232, I/O Bus Processor Adapter, 256K, RS232, I/O Bus 24V DC-16 Pt Output 24V DC-16 Pt Input 120V AC-16 Pt Input 230V AC-16 Pt Input 24V DC-16 Pt Input, 16 Pt Output 24V DC-16 Pt Input, 8 Pt @ 2A Output 24V DC-16 Pt Input, 8 Pt Relay Output 24V DC-32 Pt Output 24V DC-32 Pt Input Analog-4 Ch RTD, Thermo Input Converted to Modicon M340 BMXP342020 BMXP342020 BMXP342020 BMXP342020 BMXP342020 BMXP342020 BMXP342020 BMXP342020 BMXP342020 BMXP342020 BMXP342020 BMXP342020 BMXP342020 BMXP342020 BMXP342020 BMXP342020 BMXP342020 BMXDDO1602 BMXDDI1602 BMXDAI1604 BMXDAI1604 BMXDDM16022 BMXDDM16022 BMXDDM16022 BMXDDO1602 BMXDDI1602 BMXAMI0410 Comment no thermocouple input too few channels

17A-AAO-120-00

Analog-4 Ch 0-20mA Output

BMXAMO0210

74

33003538 07/2008

Conversion of Compact and Momentum to Unity Pro

Momentum Module Name 17A-AAI-030-00 170-ADI-350-00 170-ADI-340-00 170-ADI-540-50 170-ADO-350-00 170-ADO-340-00 170-ADM-350-1X 170-ADM-370-10 170-ADM-390-10 170-ADI-740-50 170-AAI-520-40

Comment Analog-8 Ch differential Input 24V DC-32 Pt Input 24V DC-16 Pt Input 120V AC-16 Pt Input 24V DC-32 Pt Output 24V DC-16 Pt Output 24V DC-16 Pt Input, 16 Pt Output 24V DC-16 Pt Input, 8 Pt @ 2A Output 24V DC-16 Pt Input, 12 Pt Out 2/DIAG 230V AC-16 Pt Input Analog-4 Ch RTD, Thermo Input

Converted to Modicon M340 BMXAMI0410 BMXDDI3202K BMXDDI1602 BMXDAI1604 BMXDDO3202K BMXDDO1602 BMXDDM16022 BMXDDM16022 BMXDDM16022 BMXDAI1604 BMXAMI 0410

Comment no differential input sink inputs too few channels too few channels only 120VAC range no thermocouple input

33003538 07/2008

75

Conversion of Compact and Momentum to Unity Pro

76

33003538 07/2008

Index

B C A
conversion wizard for LL984), 14 converted coils, 45, 50 contacts, 45, 50 function blocks, 45, 51 links, 45, 50 converted data, 23 general, 25 converter overview, 12 starting, 12 converting a file in Unity Pro, 20 converting procedure, 19 converting process, 17 presentation, 17 converting rules, 46 edge recognition, 49 placing objects and links, 46 recognizing transitions, 49 transition-sensing, 49

A
analyze project, 21 ASCII messages, 36 attach coils to open ends, 47 authorization, 13

B
blockwidth, 47

C
coils converted, 45, 50 coils to open ends attaching, 47 cold start, 33 comment generation and data relation, 37 Concept configuration, 26 configuration Concept, 26 Modsoft, 26 ProWORX32, 26 constants, symbols, networks, segments, comments LL984 sections, 30 Modsoft, 30 ProWORX32, 30 contacts converted, 45, 50 conversion settings, 46, 48
33003538 07/2008

D
data converted, 23 data relation ProWORX32, 38 Unity Pro, 40 data relation and comment generation, 37 data relations mapping, 41 DFB dummy, 52
77

Index

differences in the execution order, 55 direct address symbols instead of, 31 dummy DFBs, 52

E
equation networks ProWORX32, 35 error handling, 12, 21 execution order, 53 differences, 55 function blocks, 56 specific characteristics, 56 expanded memory register, 36 export of a LL984 section out of Concept, 20

LL984 conversion wizard, 14 LL984 section export out of Concept, 20 LL984 sections constants, symbols, networks, segments, comments, 30 network dimensions, 34 network structure, 29 not converted objects, 36 state RAM, 32 loadables, 36 EXE, 36

M
mapping of data relations, 41 max. symbol length, 48 Modsoft configuration, 26 constants, symbols, networks, segments, comments, 30 network dimensions, 34 network structure, 29 not converted objects, 36 state RAM, 32

F
forced outputs (%M), 33 function blocks converted, 45, 51 execution order, 56 not converted, 52 functional description, 9

G
general converted data, 25

N
network dimensions IEC LD format, 34 LL984 format, 34 LL984 sections, 34 Modsoft, 34 ProWORX, 34 network paging, 31 network structure LL984 sections, 29 Modsoft, 29 presentation, 29 ProWORX32, 29 Networks per Section 1 to 10, 30 not converted function blocks, 52

I
Ignore jumps when separating, 31 include 984 execution corrections, 56, 57, 59 installation, 13

L
launch the converter, 17 left power rail unpowered LD objects linking, 47 links converted, 45, 50

78

33003538 07/2008

Index

not converted objects LL984 sections, 36 Modsoft, 36 ProWORX, 36 notation state RAM, 32

S
sections paging, 31 specific characteristics execution order, 56 starting the converter, 12 state RAM LL984 sections, 32 Modsoft, 32 notation, 32 ProWORX32, 32 Suffixes, 51 suppress graphs, 47 suppress schedule, 46 symbol length, 48 symbols instead of direct address, 31

O
order of execution, 53 outputs (%M) forced, 33 overview of the converter, 12

P
paging between networks, 31 paging between sections, 31 placing objects and links converting rules, 46 presentation network structure, 29 presentation of the converting process, 18 procedure of conversion, 19 process of conversion, 17 protect switch, 33 ProWORX network dimensions, 34 not converted objects, 36 ProWORX32 configuration, 26 constants, symbols, networks, segments, comments, 30 data relation, 38 equation networks, 35 network structure, 29 state RAM, 32

T
trouble shooting, 21

U
Unity Pro data relation, 40 unpowered LD objects to left power rail, 47

R
range 6x, 36 register in expanded memory, 36 registration, 13 rules for conversion, 46

33003538 07/2008

79

Index

80

33003538 07/2008

S-ar putea să vă placă și