1
WORKBOOK
PROGRAMMABLE AUTOMATION CONTRLLERS
PREMIUM™ & UNITY™ PRO
2
Document
Type:
Work book
Title: PROGRAMMABLE AUTOMATION
CONTROLLERS: PREMIUM™ & UNITY™ PRO
Date: April, 2010
Version: 2.0 Soft MS-Word
Source:
Author: Schneider Electric Vietnam Status: Final
3
Introduction
This document combines with High End Control PAC slide to help trainees practice
configuring, programming and understanding Unity Pro Software as well as Premium
solutions. Therefore, the practices are designed with visualization.
Contents
• Practice 1: Security Editor
• Practice 2: Project Setting
• Practice 3: Premium PLC configuration
• Practice 4: Connection PC to Premium PAC
• Practice 5: Variable configuration
• Practice 6: Application Structure
• Practice 7: LD language
• Practice 8: Structure Text Language
• Practice 9: FBD Language
• Practice 10: SFC language
• Practice 11: Premium and Ethernet network Applications
• Practice 12: Premium and CANopen network Applications
4
Practice 1: Security Editor
Objective After the completion of this lab, the learner will be able to:
• Control the access to the Unity Pro Software
• Create specific access profiles using the Security Editor
Before you
begin
Read each section of the Lab Exercise carefully before
responding to the instructions.
Step Action
1 Access and Start the Security Editor Software.
2 Add a new profile “Training” which you will program.
3 Edit and modify the new profile “Training” by deleting the
rights to:
•
Import a Project
•
Suppress the messages in the Diagnostic Viewer
•
Modify the Documentation
4 Create a New User called “Student” protected by the
password “training” with Rights Level of Program.
5 Save the profile “Training” with the User “Student”.
6 Define the access rules in Unity Pro: Security active with
login required.
7 Validate the modifications
5
SUGGESTED SOLUTIONS
Access the
Security
Editor
Launch the Security Editor by accessing Run / Programs / Schneider
Electric / Unity Pro / Security Editor
Open the Security Editor using the name Supervisor (no password
needed by default)
6
Create a new
profile
Under the Profiles Tab, activate the command Add
Now that the new profile is created, it appears in the profiles list
7
Personalize
the new
profile
To suppress a right of access:
•
Select the Access Right in the list
•
Activate the command State On/Off (the right is no longer
checked)
To Save a desired operation related to a certain right of access in
the history file:
•
Select the right in the list
•
Activate the command Audit Yes/No (Yes appears in the Audit
column
8
Create a new
User
Under the Users Tab, activate the command Add
Type in the name of the new User: Student along with the password
training
Associate the
profile with
the new User
Under the Users Tab, select the User Student and the profile
Training (for the Unity Pro product) and activate by clicking Apply
9
Define the
rules of
access to
Unity Pro
10
Practice 2: Project Settings
Objective After the completion of this lab, the learner will be able to:
• Set the Parameters of a Project
Before you
begin
Read each section of the Lab Exercise carefully before
responding to the instructions.
Step Action
1 If it is not already running, start Unity Pro. Access the logic with the
name Student (and the password training)
2 Create a new Project with a :
§ TSX P57 304M Processor impossible to have Auxiliary
Tasks
§ TSX P57 554M Processor possible to have Auxiliary Tasks
Or
§ 140 CPU 534 14A/U Processor impossible to have Auxiliary
Tasks
§ 140 CPU 651 60 Processor possible to have Auxiliary Tasks
and save under the name Training in the folder
C:\Schneider_application.
3 Access the parameters of the project and validate the diagnostic
system and application.
4 Define 11 columns for the Ladder Diagram Sections without Right-
justify coil.
5 For the SFC section, allow the multiple token and uncheck the
option Allow multiple evolutions by divergence of sequence
selection.
6 Utilize the Navigator application to navigate within the project and
access all of the Editors.
11
SUGGESTED SOLUTIONS: PROJECT SETTINGS
Turn on
Unity Pro
Launch Unity Pro by accessing Run / Programs / Schneider Electric /
Unity Pro / Unity Pro XL
Access Unity Pro with the name Student and the password training
12
Create a new
project
Training with
Quantum
CPU
Select the command File/New
Select the 140 CPU 534 14A Processor and Click OK.
Save the project by selecting File/Save as
Create a Folder: C:\Schneider_application
Type in the name Training then Save
13
Create a new
project
Training with
Premium
CPU
Select the command File/New
Select the TSX P57 554M Processor and Click OK.
Save the project by selecting File/Save as
Create a Folder: C:\Schneider_application
Type in the name Training then Save
14
Modify the
Project
Parameters
Access the Project Parameters under Tools/Project settings
Select System and Application Diagnostics under the Tab Build
Define the number Ladder Logic columns under the Editors Tab
15
Allow the multiple token under the Language extensions Tab
16
Navigate
within the
Project and
the different
Editors
17
Practice 3: Premium PAC Configuration
Objective After the completion of this lab, the learner will be able to:
• Configure the PLC
• Configure the Local Rack
• Configure the Field Bus (FIPIO)
• Configure the Network (FIPWAY)
Before you
begin
Read each section of the Lab Exercise carefully before
responding to the instructions.
Exercise 1 Configuration of the local rack (bus X with a Premium)
Step Action
1 Access the configuration of the local rack
2 Double click on position 2 and add a module, insert a
TSX DEY 32D2K input module in this slot.
3 By dragging & dropping, insert a TSX DSY 32T2K output
module in slot 3.
4 Access the input module and configure it with the following
parameters:
•
Set all the inputs to MAST task.
•
Set the monitoring of the external power supply to
inactive.
5 Validate the configuration of the module.
6 Access the output module and configure it with the
following parameters:
•
Set all the output channels to MAST Task
•
Set the monitoring of the external power supply to
inactive.
•
Set Reactivate to automatic
•
Make the fallback for the first group of outputs all 0, for
the second group of outputs all 1, and maintain last
value for the other groups.
7 Validate the configuration of the module.
8 Configure the Processor:
•
2048%MW
•
Reset on Cold Start
9 Validate the configuration of the module.
Exercise 2 Configuration of the Field Bus (FIPIO)
Step Action
18
1 Access the configuration of the FIPIO bus
2 By dragging & dropping, insert a TBX DES 1622 module
with a TBX LEP 20 communication module at address 1 of
the bus.
3 Access the TBX module and configure:
•
Set all the inputs to MAST task.
4 Validate the configuration of the module.
Exercise 3 Configuration of the Network (FIPWAY)
Step Action
1 Create a FIPWAY Network with the name FIPWAY_1
2 Access the network and configure:
•
Common Data: none
3 Insert a PCMCIA FIPWAY card (TSX FPP 20) in location B of
the Processor.
4 Associate this card with the network logic FIPWAY_1
previously created.
5 Validate the configuration of the Network.
6 Save the modifications made to the Project.
19
SUGGESTED SOLUTIONS: PREMIUM CONFIGURATION
Access the
Configuration
Editor
In the application browser, double click on 0 : X Bus to access the
configuration of the local rack or on 2 : Fipio to access the
configuration of the FIPIO Bus.
Configure the
local rack
Insert the Input Module TSX DEY 32 D2K in Slot 2 and the Output
Module TSX DSY 32 T2K in Slot 3.
20
Configure the
Input and
Output
Modules
Double click on the module in Slot 2 of the rack to access the
configuration parameters. Define the parameters:
•
MAST Task for all groups of channels (Channel 0/8/16/24)
•
Supply monitoring not checked for all the groups of channels
•
Validate the configuration with Edit/Validate
Double click on the module in Slot 3 of the rack to access the
configuration parameters. Define the parameters:
•
MAST Task for all groups of channels (Channel 0/8/16/24)
•
Supply monitoring not checked for all the groups of channels
•
Set Reactivate to automatic for all groups of channels
•
Fallback mode:
•
Fallback with a value of 0 for the first group of outputs
•
Fallback with a value of 1 for the second group of outputs
•
Maintain the last value for the other groups (Channels
16/24)
•
Validate the configuration with Edit/Validate
21
Configure
the
Processor
Double click on the Processor module to access its configuration
parameters. Define the parameters:
•
Operating mode : %Mwi Reset on cold start
•
Size of global address fields : 2048 %MW
•
Validate the configuration with Edit/Validate
22
Configure
the FIPIO
Bus
Access the FIPIO bus configuration
Insert the TBX DES 1622 module with a TBX LEP 20 communication
module at address 1 of the bus.
Double click on the TBX module to access the configuration
parameters. Define the parameters:
•
MAST Task for for all channel groups (Channel 0/8)
•
Validate the configuration with Edit/Validate
23
Create a
FIPWAY
Network
In the application browser, right click on
Communication/Networks
and activate the command New Network.
Under the Network Tab:
•
Select a FIPWAY Network
•
Use the name FIPWAY_1 (default name)
In the application browser, double click on network logic
FIPWAY_1 that you just created to access the configuration
parameters.
Define the parameters:
•
Common Data : none
•
Validate the configuration
24
Configure the
network card
and associate it
with the
network logic
In the application browser, double click on 0 : X bus to access the
local rack configuration
Right click on slot B of the Processor and activate the command
New/Replace submodule.
Select the TSX FPP 20 and validate with OK
Double click on slot B of the Processor to access the configuration
parameters. Define the parameters:
•
Choose the channel (TSX FPP 20 / Channel 1
•
Choose the function (Function : FIPWAY))
•
Associate the card with the logical network (Net Link :
FIPWAY_1)
•
Validate the configuration with Edit/Validate
25
Practice 4: Connection PC to Premium PAC
Problem: Make communication between PC and Premium PAC.
Solution:
Via serial link (TSX CUSB 485)
Tools:
PC supported USB port
Cable serial link TSX CUSB 485
Premium PAC (TSX P573634M)
Unity pro programming software
Start
- Step 1: Create new project: Start up Unity pro software and choose kind of PAC that
is compatible with your PAC (TSX P573634M)
- Step 2:
Configure your PAC hardware in Unity Pro that was installed on Rack.