3_Import Tool, LL984..

advertisement
Legacy Upgrade Agenda
● Hardware Upgrade Overview
● Legacy Application Import Tool
20 minutes
60 minutes
● Add Quantum Ethernet DIO drops 45 minutes
● Add new X80 Ethernet DIO drops
45 minutes
●LL984 Editor and Unity Overview
60 minutes
Unity: LL984 Application Import,
LL984 Editor and Unity Overview
Module Objectives
.
At the completion of these exercises you will be
able to:
● Import legacy ProWORX32 program into Unity Pro
● Add new Quantum Ethernet DIO drops while continuing to use
S908 RIO
● Add new X80 Ethernet DIO drops while continuing to use S908
RIO
●Use the LL984 editor within Unity Pro on your own
Why Upgrade ?
To enable installed base of LL984 users to…
... re-use their application on the Unity platforms
● Import the 984 applications seamlessly into Unity
● Support the 984 instruction set
● Support the 984 execution behavior
… program in Unity
Pro with their known LL984 style
● Create a 6th Editor in Unity, bringing the key features of 984 programming
into Unity Pro
… take
full benefit of Unity Pro
● Allow hybrid applications (applications can be written with all 6 editors)
● Use Unity features while programming in LL984
● Run and debug the LL984 application in Simulation mode
● Single database for full data transparency
Legacy Application - Import Tool
What are the topics:
● Import, Analyze, and Build
●Connect, Download, and Run
Import & Analyze
What will we discuss:
● File Types
● LL984 Options Window
● Import Log File
● LL984_OS_Wrapper Section
● CPU Configuration Information
● Unity Look
● Analyze and Rebuild All
File Types
There are 4 types of Legacy application file that can be Imported:
• .asc: Concept
• .cfg: Modsoft
• .dcf: ProWORX Nxt
• .pwx: ProWORX32
There are two methods to start an Import:
● Open File
● Drag and Drop
LL984 Import Options Window
Symbols Original
Select this option to use the original variable tag names of the
legacy application in your new Unity application
Symbols _xYYYYY
Select this option to automatically allocate a standardized
tagname to the variables :
_ = leading sign of the variable tagname
X= original reference 0,1,3 & 4x indicator
YYYYY= address index
Long Comments 1:1 in Project
Select this option to convert long comments into text that will
be displayed in the Custom column of the Data Editor
Long Comments 1:n in Hyperlink Files
Select this option to convert long comments as hyperlinks in
the variable Comments column of the Data Editor
Hyper link path
- can be defined here
- will change default path, specified in project settings
Standard logic segments with LAB instruction(s) :
- Selected: LL984 SR section is created for LAB section
- De-Selected: LAB Section in MAST
Target PLC Family:
Quantum and M340
Full Topological or State RAM
-When unchecked (Default), STATE RAM option
(%I,%IW,%M%MW) This provides the customer with
references and I/O mapping that they are use to.
- When checked, topological addresses is used. All I/O
module references are now topological AND there is
no 1x and 3x referencing capability.
Target PLC Family:
Quantum and M340:
Default target chosen
based on the source
application, it is
selectable.
Import Log File
The Import log .txt file provides application information
This import has two node
types, with 1 instance each,
that are not available in Unity
● The import log is a .txt file that contains the project information found during the
creation of the .xef file
● It contains information like IO module type, nodes used and number of instances…
When the Import is complete this is the first view of the Unity project
Minimized Project Browser
for the application
(Structural view)
Default
Communication
Parameter :
Simulator
Application
is
NOT
built
LL984_OS_Wrapper Section
The Import may create an ST Section to emulate some features of
the Legacy application
Expanded view of the Project Browser. Opened is the LL984_OS_Wrapper section.
Battery coil import creation and assignment
Free running timer import
creation and assignment
CPU Configuration Information
The PLC configuration information
can displayed by a double left click
on the PLC in the Project Browser
or double left click on the PLC
graphical image in the rack.
These two parameters should be
selected if you want the Unity
application to operate similar to the
original system. PLC powers up in
the Run state and State Ram is
loaded after “Cold Start”.
Here are the 0,1,3 & 4x
configuration sizes. They
may be slightly larger than
the original file.
Unity Look
Here is the original project in ProWORX32
Here is the project look in Unity
Analyze and Rebuild All
Always Analyze the project and eliminate all errors before
performing a Rebuild All. Once Built, save the program.
Lab Exercise – Import Tool
At the completion of this module the participant should be able to:
● Import a Legacy LL984 application into Unity Pro.
● Analyze program and eliminate errors.
● Successfully “Build” the Unity project.
Lab Exercise – Connect, Download, Run
At the completion of this module the participant should be able to:
● Connect successfully and download the newly imported application.
● Verify PLC system able to operate in the RUN mode.
● Verify all drops and I/O modules are functionally Ready
and have Active indicators.
Legacy Upgrade Agenda
● Hardware Upgrade Overview
● Legacy Application Import Tool
20 minutes
60 minutes
● Add Quantum Ethernet DIO drops 45 minutes
● Add new X80 Ethernet DIO drops
45 minutes
●LL984 Editor and Unity Overview
60 minutes
Download