This manual describes PL7 Micro, Junior, Pro and Pro Dyn software on a PC with
one ... Throughout this document, the term PL7 software is used to refer to PL7 ...
A PL7 Installation and Startup Guide
Section
Contents
Page
1 General
1/1
1.1
Document Structure
1/1
1.2
Presentation of PL7 Software
1/2
1.3
Developments
1/4
2 Software Setup
2/1
2.1
Configuring the Terminal 2.1-1 Minimum Configuration 2.1-2 Typical Configuration
2/1 2/1 2/1
2.2
PL7 Software Installation 2.2-1 Preliminary Operations 2.2-2 The Software Packages and Their Contents 2.2-3 Installation Procedure 2.2-4 PL7 Directories and Files
2/2 2/2 2/3 2/4 2/5
2.3
Installing Updates and Upgrades
2/6
2.4
Installing Drivers
2/7
2.5
Execution
2/10
2.6
Uninstalling PL7
2/10
2.7
Errors
2/11
___________________________________________________________________________ 1
A PL7 Installation and Startup Guide
Section 2.8
Page Automatic Installation 2.8-1 Call Syntax 2.8-2 Syntax of Command File Fields (*.INI) 2.8-3 Error Handling
3 Hardware Setup 3.1
Contents
Connections 3.1-1 PC PLC connection 3.1-2 FT• PLC connection
2/12 2/12 2/12 2/14 3/1 3/1 3/1 3/2
___________________________________________________________________________ 2
Section General 11 1 General
1.1
Document Structure
This manual describes PL7 Micro, Junior, Pro and Pro Dyn software on a PC with one of the following operating systems : i Windows 95, Windows 98 i Windows NT 4.0
Part A deals with hardware and software setup. Part B describes the functions and uses of the software. Throughout this document, the term PL7 software is used to refer to PL7 Micro, Junior, Pro or Pro Dyn without differentiation. For further information please consult other manuals with the reference TLX DOC PL7 33 E : i Reference Manual (describes the languages and instructions) i TSX37 Application-Specific Functions Manual (describes the software setup for
TSX37 application-specific functions) i TSX57 Application-Specific Functions Manual (describes the software setup for
TSX57 application-specific functions) i TSX37-TSX57 Communication Manual (describes communication) i PL7-2 Converter Manual (describes the conversion of a PL7-2 application to PL7 Micro,
Junior or Pro) i PL7-3 Converter Manual (describes the conversion of a PL7-3 application to PL7
Junior or Pro) i ORPHEE Converter Manual (describes the conversion of an ORPHEE application to
PL7 Junior or Pro) i Runtime Screens Manual (describes the installation of the runtime screens)
___________________________________________________________________________ 1/1
A
A 1.2
Presentation of PL7 Software
PL7 Micro, Junior and Pro software packages are programming and debugging tools for TSX Micro and TSX Premium PLCs. PL7 Pro Dyn software is an operating tool (supervision, diagnostics and maintenance) for TSX Micro and TSX Premium PLCs. It cannot be used to create or modify an application. The software is available in three different packages : i software package : used to install PL7 V3.3 software i software update package : used to update an older version to a new version (for
example : PL7 Micro V1.0 to PL7 Micro V3.3) i software upgrade package : used to upgrade an older version to a new version with
higher-level functions (for example : PL7 Micro V1.0 to PL7 Junior V3.3) PL7 software package references TLX CD PL7M P 33 M and EF :
PL7 Micro
TLX CD PL7J P 33 M and EF :
PL7 Junior
TLX CD PL7P P 33 M and EF :
PL7 Pro
TLX CD PL7PD P 33 M and EF :
PL7 Pro Dyn
TLX RCD PL7M P 33 M and EF :
Update for PL7 Micro to PL7 Micro, new version
TLX RCD PL7J P 33 M and EF :
Update for PL7 Junior to PL7 Junior, new version
TLX RCD PL7P P 33 M and EF :
Update for PL7 Pro to PL7 Pro, new version
TLX RCD PL7PD P 33 M and EF : Update for PL7 ProDyn V3.x to PL7 ProDyn , new version TLX UCD PL7J P 33 M and EF :
Upgrade for PL7 Micro or Junior V*.* to PL7 Junior, new version
TLX UCD PL7P P 33 M and EF :
Upgrade for PL7 Junior V*.* to PL7 Pro, new version
A PL7 software package comprises : i a PL7 software installation CD-ROM i a CD-ROM containing the different versions of operating systems for TSX 37 and
TSX 57 i a TSX 07/37/57 PC UNI-TE terminal port cable (reference TSX PCU 1030, not
supplied with updates and upgrades) i a PL7 installation and startup guide (this manual) i a product identification number : this number should not be discarded, as it is required
whenever PL7 Micro, Junior, Pro or ProDyn software is being installed, updated or upgraded i a CD-ROM containing French/English documentation ___________________________________________________________________________ 1/2
General
1
Note : The floppy disks for installing PL7 software can be ordered separately.
Functions of PL7 software
Programming
PL7 Micro
PL7 Junior
PL7 Pro
PL7 Pro Dyn
TSX Micro
TSX Micro and TSX Premium
TSX Micro and TSX Premium
no
Language G7 CHART
display yes
MACROS no
yes
yes
TSX Premium
TSX Premium
LD
yes
yes
yes
IL
yes
yes
yes
ST
no
yes
yes
Sections
yes
yes
yes
Function modules
no
no
yes
Debugging
yes
yes
yes
no
Adjustment
yes
yes
yes
yes
Diagnostics
no
yes
yes
yes
Runtime screens
no
no
creation/use
creation/use
DFB types
no
use
creation/use
no
Diagnostic DFB
no
no
TSX/PCX/PMX 57 display
TSX Premium
TSX Premium
TSX Premium
yes
yes
yes
Storage of symbols in the PLC Application doc. file
yes
___________________________________________________________________________ 1/3
A
A 1.3
Developments
PL7 software can be used to access applications at all levels. PL7 Micro, Junior and Pro software can be used to create, read and modify applications without changing the version or to convert them to version V3 by simply reconfiguring the processor (select the V3 processor during hardware configuration). PL7 Pro Dyn software can be used to access an application in read-only mode, but cannot be used to convert an application to version V3. Comment : Conversion cannot be reversed. The application, once converted to be executed by a V3.0 processor, can no longer be executed by a processor of an earlier version.
PL7 software
Processors
Applications
PCMCIA memory
V1.0, V1.5 and V2.0 level versions
YES
YES
NO YES NO
V3.0 or V3.3 level versions
YES
YES
Note : V1.0/V1.5/V2.0 PLC processors cannot execute V3 applications.
___________________________________________________________________________ 1/4
General
1
Main developments in PL7 V3.3 software The new functions provided by PL7 Micro, PL7 Junior, PL7 Pro and PL7 ProDyn products in these new versions are the following : - functional view and function modules - partial protection of an application (access rights for the sections) - storage of the symbols database in the PLC - PL7 used in server mode (Automation OLE) - development of the variables editor and LD editor - import/export NIOF - FIPIO developments and other configuration developments (1/2 racks, new modules, etc) - user function blocks (Derived Function Block) written in LD - functions for the Diagnostics offer (Diag DFB) - display of the documentation file on screen - Runtime screens : diagnostics viewer, setting screen parameters, etc. PL7 Micro
PL7 PL7 Junior Pro
PL7 ProDyn
TSX Micro
TSX Premium
x
x
x
x
x
Function modules
x
x
DFB creation in LD
x
Partial protection of sections
DFB use in LD
x
Import/Export NIOF
x x
x
Storage of symbols in PLC
x
PL7 in server mode Half racks Data editor developments
x
x
Fipio developments
x
x x
x
x
x
x
x
x
x
x
x
x x
x
x
Import/Export Grafcet section
x
x
x
Documentation file display
x
x
x
x
LD editor developments
x
x
x
x
Runtime Screens developments
x
x
Diagnostic functions
x
x
x x
x
x
x
___________________________________________________________________________ 1/5
A
A
___________________________________________________________________________ 1/6
Section Software Setup 22 2 Software Setup
2.1
Configuring the Terminal
2.1-1 Minimum Configuration Processor
486 DX5 133 MHz
System
Windows 95
RAM
32 Mb
Drives
Hard disk
50 Mb for the software 25 Mb for the temporary directories
Floppy disk Ports
COM serial port available for connection to the PLC (COM1 to COM4) Parallel printer port (LPT1 to LPT4)
Monitor
VGA
2.1-2 Typical Configuration Processor
Pentium 166
Systems
Windows 95 / 98
Windows NT 4.0
RAM
32 Mb
48 Mb
Drives
Hard disk
50 Mb for the software 25 Mb for the temporary directories
CD-ROM Floppy disk Ports
COM serial port available for connection to the PLC (COM1 to COM4) Parallel printer port (LPT1 to LPT4)
Monitor
At least VGA (SVGA with color management on 24 bits is recommended)
Note : The characteristics described concern configuration for the installation of PL7 software only. If PL7 is used simultaneously with other software packages a more powerful configuration may be required.
___________________________________________________________________________ 2/1
A
A 2.2
PL7 Software Installation
2.2-1 Preliminary Operations Before installing PL7 software on disk, read the license and guarantee certificates concerning the restrictions which apply to copying and installing the software. PL7 can be installed from the CD-ROM. The floppy disks for installing PL7 software can be ordered separately. If the latter are used, make copies of them and use these backup copies to work with, so as to avoid accidental damage to the originals. Automatic Installation This special PL7 installation mode can be used to perform fully automatic installation, which does not require any action on the part of the user • even in the event of an error • as it takes the necessary data from a parameter file • as it sends a report in the form of a file Refer to section 2.8 for details of automatic installation.
___________________________________________________________________________ 2/2
Software Setup
2
2.2-2 The Software Packages and Their Contents It is possible to select the content of the PL7 software to be installed. Standard installation is simpler, but customized installation enables the space occupied by the software to be optimized. Standard installation Software
Contents
PL7 Micro
Kernel, Function library, UNI-TELWAY driver Servers (security management) Demonstration application FIP driver PL7-2 converter
PL7 Junior
Kernel, Function library, UNI-TELWAY driver Servers (security management) Demonstration application FIP driver PL7-2 converter PL7-3 converter S1000 converter
PL7 Micro
Kernel, Function library, UNI-TELWAY driver Servers (security management) Demonstration application FIP driver Import/Export NIOF function PL7-2 converter PL7-3 converter S1000 converter
PL7 Pro Dyn
Kernel, Function library, UNI-TELWAY driver Servers (security management) Demonstration application FIP driver
___________________________________________________________________________ 2/3
A
A 2.2-3 Installation Procedure The software can be installed either from a CD-ROM or from floppy disks. In the latter case, the user must install the floppy disks one by one. Insert the CD-ROM
Insert the first floppy disk
Launch the Setup.exe file
Confirm the Welcome screen with Next
Enter the product identification number and confirm with Next (maximum of 3 entry attempts)
common to all installations
Enter the user settings and confirm with Next
Select the type of installation
Standard
Custom
Select the elements to be installed and confirm with Next
Define an installation path and confirm with Next
Define the various installation paths and confirm with Next
Confirm with Next
Confirm with Next
Entries can be modified by clicking on Previous
Select the software language and confirm with Next
Press Return to Windows to exit the installation
___________________________________________________________________________ 2/4
Software Setup
2
2.2-4 PL7 Directories and Files On C: \PL7user\
:
directory containing the demonstration and client applications
\Pl7temp\
:
directory used as temporary space
\Config.sys
:
modified file incorporating the UNITELWAY and FIPWAY drivers
\Config.001
:
old configuration file
On the path defined by the user (for example : D:\programs\) \Oflib32\
:
directory containing the functions
\Pl7micro33\
:
directory containing the PL7 Micro executables and module descriptions
\Pl7junior33\
:
directory containing the PL7 Junior executables and module descriptions
\Pl7pro33\
:
directory containing the PL7 Pro executables and module descriptions
\Pl7prodyn33\
:
directory containing the PL7 Prodyn executables and module descriptions
\Pl7sys\
:
directory containing files common to all PL7 programs
D:\Xwaydrv\
:
directory containing the COM drivers
\Pl7sys\
:
directory containing the log
\Pl7sys\histo.ref
:
file containing the installation log
\Pl7sys.ini
:
initialization file
On C:\Windows
On C:\Windows\Start Menu\Programs \Modicon Telemecanique\ :
directory containing the launch icons
___________________________________________________________________________ 2/5
A
A 2.3
Installing Updates and Upgrades
!
To update / upgrade a version V3.0 or later PL7 software package, the user must check that the software is present on the terminal or operating system. If it is not present, it must be reinstalled. Insert the CD-ROM
Insert the first floppy disk
Launch the Setup.exe file
Confirm the Welcome screen with Next
Select the language and confirm with Next Enter the product identification number and confirm with Next
Change the operating system?
Yes
No
Old version present on the terminal?
No
Yes
Version Status < > -> Return
___________________________________________________________________________ 2/17
B
2.11 Online Mode
B
Online mode Online mode (connected to the PLC) is used to modify an application in the PLC. The following functions can be executed : i creation / modification of the program in LD, IL or ST i modification of the task period i modification of the predefined function block parameters (except the size of registers) i modification of module parameters and data i import, export an application, PLC in Stop i addition of predefined function blocks i debugging, adjustment i creation / modification of runtime screens i modification of the Grafcet structure in STOP
The following functions cannot be executed : i creation of an application i addition or removal of an application-specific module i modification of the I/O channel application-specific function association i modification of the size of a register i modification of the number of internal constants, words and bits i modification of the Grafcet structure in RUN (but steps and transitions can be
modified) Comments When online, if any modifications are made, the application is updated in the PLC and in the working directory on the hard disk : i saving in the PLC is automatic i saving on disk must be performed by the user
Any modifications made to a runtime screen will not affect the application. When switching to online mode, if the applications on disk in the working directory and on the PLC are different or absent, the software will offer an update option. Symbols and comments stored in the TSX Premium PLC Symbols and comments can be stored in TSX Premium PLCs (PMX 57202, 57302, 57402, 57452 V3.3) fitted with the following memory cards : - 128 kword memory card : TSXMRP 2128P - 256 kword memory card : TSXMRP 3256P
___________________________________________________________________________ 2/18
Presentation of PL7
2
2.12 Transfers 2.12-1 Terminal / PLC Program Transfer Two transfer directions are possible : i terminal to PLC i PLC to terminal
Program transfer is used to exchange the application in its entirety, with the exception of the runtime screens. If a memory card used to store symbols and comments is declared in the configuration, the user can choose to transfer the symbols immediately or delay their transfer to a later transfer phase.
2.12-2 File / PLC Data Transfer Two transfer directions are possible : i file to PLC i PLC to file
Data transfer is used to exchange application variables only. Accessing the Help function via the browser contents : Using the Software / Application Management / Transfer ...
___________________________________________________________________________ 2/19
B
2.13 Animation Tables
B
Tables containing the variables of the application to be monitored or modified can be created by manual entry or automatically initialized from the rung, statement or sequence selected, or the animated objects in a runtime screen. The variables can then be : i modified i forced to 0 or 1 for bit objects
For each numeric variable, it is possible to select the display base (decimal, binary, floating point, ASCII message).
Accessing the Help function via the browser contents : Using the Software / Debugging / Animating and Modifying Variables
___________________________________________________________________________ 2/20
Presentation of PL7
2
2.14 Debugging 2.14-1 Debug Tools All PL7 software, except PL7 Pro Dyn, offers a complete set of tools for debugging applications. A tools palette provides direct access to the main functions : i inserting breakpoints i step-by-step program execution i independent execution of the MAST and FAST tasks, etc
2.14-2 CPU Debug Screen This screen offers the following functions : i information on the application status i program execution command i access to program and application-specific module diagnostics i access to updating and displaying the realtime clock
Diagnostic tools
___________________________________________________________________________ 2/21
B
2.14-3 Grafcet Debug Screen
B
This screen gives a hierarchical view of the chart with nesting of the CHART module and the macro steps. This view is animated in online mode. The animation is represented by the presence or absence of indicators.
Grafcet debug bar The debug bar is used to display the chart status, modify the chart status and provide information on the status of the master task.
Accessing the Help function via the browser contents : Using the Software / Debugging /...
2.14-4 Debugging Function Modules The organization of a function module and the distribution of sections, events and Grafcet modules into different modules has no effect on program execution. The program is executed in the order shown in the structural view. To debug a function module, the user has the standard debug functions and additional functions which can be used to debug the application incrementally, function module by function module.
• • •
Deactivation of all the sections attached to a function module Activation of all the sections attached to a function module Canceling the forcing of all sections attached to a function module
___________________________________________________________________________ 2/22
Presentation of PL7
2
2.15 Diagnostics Diagnostic tool The software provides different diagnostic tools. The diagnostic tools can only be accessed in online mode. i Diagnostics of the last PLC stop i Module diagnostics i Program diagnostics i Order in which modules are called
Diagnostic DFBs Diagnostic DFBs compatible with TSX57/PCX57/PMX57 can be used in PL7 PRO or PL7 Junior (see section 2.10-6).
Accessing the Help function via the browser contents : Using the Software / Diagnostics
___________________________________________________________________________ 2/23
B
2.16 Structure of the Documentation File The documentation editor is linked to the Documentation browser which displays the structure of the documentation file in the form of a tree.
B
It can be used to print all or part of the application documentation file on any graphic printer which can be accessed under Windows using True Type technology (scalable fonts). The print formats supported are : A4 or US letter (portrait). The documentation editor is used to define : i a title page, including the name of the
designer and project i general information pages i a footer
The documentation editor automatically generates : i the contents i the application documentation file :
program, hardware and software con figurations i the list of variables, sorted by address or
symbol i the cross references, sorted by address
or symbol The editor can also be used to display the pages of the documentation file before printing. Function modules When the documentation tool is launched, it detects whether the application is running and whether there is at least one function module containing references to either nonempty program modules (sections, evt, Grafcet modules, Srs) or animation tables. If this is the case, an additional node, ‘Functional view’, is added to the tree. Accessing the Help function via the browser contents : Using the Software / Documentation Note : The runtime screens documentation file is edited in offline mode. It can be accessed from the Runtime Screens editor.
___________________________________________________________________________ 2/24
Presentation of PL7
2
2.17 Utilities 2.17-1 Converters The application converters available are : i PL7-2 to PL7 i PL7-3 to PL7 i ORPHEE to PL7 i SMC to PL7
This means that applications which already exist can be ported easily and effectively to TSX Micro and TSX Premium PLCs. The converter is accessed using the Convert command from the File menu. A destination application must be created before commencing. The SMC converter is an optional converter for PL7 Junior or PL7 Pro (reference TLX LC SMC PL7 30M).
2.17-2 Import/Export PL7 software offers different import/export functions : Import/Export source files i Import an LD, IL, ST, Grafcet source file i Export an LD, IL, ST, Grafcet source file i Import variables i Export variables i Import an application i Export an application
Import/Export DFBs i Import a DFB type i Export a DFB type i Import a DFB type in binary format i Export a DFB type in binary format i Import an application containing DFB types i Export an application containing DFB types
Function modules i Export a function module i Import a function module i Import a function module with reassignment of addresses and symbols
___________________________________________________________________________ 2/25
B
Sections i Import an LD, IL, ST section i Import a Grafcet section
B
i Export an LD, IL, ST, Grafcet section, an SR or an event
Application in NIOF format i Import an application in NIOF format i Export an application in NIOF format
Example : Import/Export a source file This function is used in TSX 37 and TSX 57 PLC applications to : i save / restore an application i insert or copy all or part of a program module (IL, LD, ST, G7, DFB type, symbols
source) i insert an IL, LD, ST or G7 section in a MAST or FAST task i insert a program module in an event task i add a DFB type to the DFB list
Comment : Importing and exporting an application involves : i redefining the I/O i searching for and replacing modified objects i initializing the station with the new application This function cannot import/export runtime screens. The Runtime Screens editor has its own import/export function. Accessing the Help function via the browser contents : Using the Software / Programming in (LD, IL, ST, G7) Language / Import/Export a Source File
___________________________________________________________________________ 2/26
Presentation of PL7
2
2.17-3 Cross References The Cross References function is used to : i locate all tasks, sections and program lines where a variable or DFB type is used (in
address or symbol format) i directly access affected lines i display the search and browser log
The Cross References are mainly used when an application is being debugged, to identify the cause of a faulty variable. The Cross References screen appears as shown below :
Cross references apply to the application and not to the runtime screens. Accessing the Help function via the browser contents : Using the Software/ Programming in (LD, IL, ST) Language / Cross References
___________________________________________________________________________ 2/27
B
2.17-4 Replacing Variables The Replace Variables function is used to locate a variable used in an application and replace it with another.
B
The user locates the search zone by defining the program selection. The Search screen appears as shown below :
Selections can also be made from the functional view. The Replace function does not affect the runtime screens. Accessing the Help function via the browser contents : Using the Software / Programming in (LD, IL, ST, G7) Language / Replacing a Variable in an Application
2.17-5 Application Protection The Application Protection function is accessible from the Properties screen of the application in offline mode. This function is used for : Global protection of the application This function is used to protect the application in read and write mode after it has been transferred to the PLC. Only the Run, Stop and Init functions accessible to a PLC are authorized on a protected PLC application. Partial protection of sections The type of protection for each section can be defined when it is created (or from the Properties shortcut menu for the section) : no protection, write protection or read/write protection. Defining the type of protection The type of protection can be defined : - for each section - globally for all the sections in the program/task/sections directory ___________________________________________________________________________ 2/28
Section 33 Tools Appendix 3 Tools Appendix
3.1
PL7 Access Security Management
PL7 access security management, administrated by the super user, limits and controls access to the various PL7 functions. It cannot be accessed from PL7. It can be executed by selecting thePL7 Access Security Management function from the Modicon Telemecanique menu. It affects only the terminal on which the PL7 software is installed, and not the application. By default, it is inactive (this can be modified under Option). Five user profiles are supported by PL7 software: i Read Only (can be accessed by all PL7 software) i Operate (can be accessed by all PL7 software) i Adjust (can be accessed by all PL7 software) i Debug (cannot be accessed by PL7 Pro Dyn software) i Program (cannot be accessed by PL7 Pro Dyn software)
Only the super user has the necessary privileges for managing user rights. The access name given to the super user is Supervisor (no password associated on installation).
Access the online Help using the following commands : Using the Software / Application Management / PL7 Access Security Management ___________________________________________________________________________ 3/1
B
3.2
Connections
3.2-1 UNI-TELWAY Link
B
The UNI-TELWAY tool is used to configure the operating parameters for the UNI-TELWAY terminal driver. The terminal / PLC link can be achieved via : i cables i UNI-TELWAY bus (a terminal can access the PLCs connected to the bus) i a modem (used to connect a terminal to a PLC via the telephone network)
The tool is launched using the XWAY Driver Manager command from the Modicon Telemecanique menu. The following configuration window appears when the UNITELWAY Driver tab is selected and the configuration button is pressed (see section 2.4) :
The user can configure : i the communication port i the transmission speed i the UNI-TELWAY address
Access the online Help using the following commands : TSX Micro (or Premium) Application-Specific Functions / Communication / UNI-TELWAY Fieldbus
___________________________________________________________________________ 3/2
Tools Appendix
3
3.2-2 FIPWAY Link The FIPWAY tool is used to configure the operating parameters for the FIPWAY terminal driver. The terminal / PLC link can be achieved via : i a module for the terminal i a PCMCIA card for the PLC
The tool is launched using the XWAY Driver Manager command from the Modicon Telemecanique menu. The following configuration window appears when the FPC10 Driver tab is selected and the configuration button is pressed (see section 2.4) :
The user can configure : i the FIPWAY operating mode and address i the driver instance i the FIPIO operating mode and connection point
Access the online Help using the following commands : TSX Micro (or Premium) Application-Specific Functions / Communication / FIPWAY Network
___________________________________________________________________________ 3/3
B
3.2-3 Connection Problems
B
This section provides solutions for PLC connection / disconnection problems. Carry out the actions in the specified order and only proceed to the next action if the problem has not been solved. On a portable terminal : i Deactivate the energy management functions. On any type of PC : i Replace the video and mouse drivers with Microsoft drivers. i Set Rx Tx to 0 in the driver parameters. i Deactivate the anti-virus program (if an anti-virus program is installed). i In the [DRIVERS] header add : RetryNumber=2 in the C:\WINDOWS\PL7SYS.INI.
3.3
OS-LOADER
This tool is used to update the TSX Micro and TSX Premium PLC operating systems (OS), by loading via the terminal port. It is used to : i display the PLC OS version i load the operating system in a PLC system memory
Comment : The load operation includes a delicate phase during which any power breaks on the PLC may render it inoperable.
___________________________________________________________________________ 3/4