FW2EN
FW2EN
FW2EN
T
Trraaiin
niin
nggL
Laab
bMMaan
nuuaall
INTEGRATING FACTORYTALK VIEW SE INTO YOUR ARCHITECTURE ________________7
This hands-on lab is intended for individuals who are interested in learning about
features of FactoryTalk View SE (Site Edition) systems and how they can help in
your Automation needs.
Lab Materials
For this Hands-On lab, we have provided you with the following materials that will
allow you to complete the labs in this workbook.
Hardware
This hands-on lab uses the following hardware on the on tour station:
PC running: Domain Controller, DNS Server
PC running: FactoryTalk View SE servers, Data Servers, Soft Controllers.
PC running: FactoryTalk Studio and Client.
Software
This hands-on lab uses the following software:
RSLogix 5000 v16
RSLinx 2.50 or higher
FactoryTalk View SE (Site Edition) Server, Client, Studio and utilities.
Lab Files
This hands-on lab uses the following files:
Document Conventions
Throughout this workbook, we have used the following conventions to help guide you
through the lab materials.
This style or symbol: Indicates:
Words shown in bold italics Any item or button that you must click on, or a menu name
(e.g., RSLogix 5000 or OK) from which you must choose an option or command. This will
be an actual name of an item that you see on your screen or
in an example.
Words shown in bold italics, An item that you must type in the specified field. This is
enclosed in single quotes information that you must supply based on your application
(e.g., 'Controller1') (e.g., a variable).
Note: When you type the text in the field, remember that you
do not need to type the quotes; simply type the words that
are contained within them (e.g., Controller1).
The text that appears inside of this grey box is supplemental
information regarding the lab materials, but not information
that is required reading in order for you to complete the lab
exercises. The text that follows this symbol may provide you
with helpful hints that can make it easier for you to use this
product. Most often, authors use this “Tip Text” style for
important information they want their students to see.
Note: If the mouse button is not specified in the text, you should click on the left
mouse button.
The following steps must be completed before starting the lab exercise:
FYI
Before we discuss FactoryTalk View SE, let’s just cover other visualisation
products offered by Rockwell Automation:
RSView32:
(Machine Edition) Is a machine level HMI product for developing and supporting
PC-based and embedded operator interface solutions. It is designed as a
monitoring and control system for individual machines and small processes. For
more information and experience with FactoryTalk View ME please see the IA-
OnTour FactoryTalk View ME lab sessions.
The SE in FactoryTalk SE can refer to the two versions that are available of
FactoryTalk View SE. These are Station Edition and Site Edition.
The Station Edition is a standalone HMI system for monitoring and control of
individual processes or lines. All components run on a single PC and are not
distributed between PCs.
The Site Edition is a distributed version where HMI servers, Data Servers,
Clients, Studio Editors can be distributed on to separate PCs. FactoryTalk
technology enables the distributed software to operate as a single seamless
application, so the programmers and operators of the system do not need to be
concerned with the physical distribution of the system.
This lab will concentrate on the Site Edition so that the distribution of SE can be
shown and the customer benefits of using FactoryTalk can be demonstrated.
Section 1: Introducing The Lab Layout And The Distributed
FactoryTalk SE System.
In this lab the layout and distribution of the various FactoryTalk components will be
presented and explained.
Here is the lab layout for The FactoryTalk View SE hands-on session. It may look
complicated but in fact it is not. As you go through the lab you will be working in pairs
on a single server at the front of the room. The table below shows the PCs you will
be working with.
So here is an example: Client PC number 06, looking at the table below, will be
working with client 05, on FactoryTalk Server W, using HMI Server E and Data
Server 2, Controller 1.
PC Client Using Using HMI Using Data
Number FactoryTalk Server Server/Controller
Directory
Server
01 A 1, Controller 1
02 B 1, Controller 2
03 V C 1, Controller 3
04 D 1, Controller 4
05 E 2, Controller 1
06 F 2, Controller 2
07 W G 2, Controller 3
08 H 2, Controller 4
09 I 3, Controller 1
10 J 3, Controller 2
X
11 K 3, Controller 3
12 L 3, Controller 4
13 M 4, Controller 1
14 N 4, Controller 2
Y
15 O 4, Controller 3
16 P 4, Controller 4
17 Q 5, Controller 1
18 R 5, Controller 2
Z
19 S 5, Controller 3
20 T 5, Controller 4
Description Of What Each PC is doing in the lab.
• Five Off- FactoryTalk and HMI Server PCs: As described above FactoryTalk
SE can be a distributed system, where data servers, HMI servers, clients and
studio can operate as a single application even through components are
distributed across many PCs. For the lab there is a limit to how many PCs are
available, so for the Lab: FactoryTalk Directory, four HMI servers and one
Data Server are installed on each server PC. However please note each of
these SE components could equally well be installed on separate servers.
• Twenty Off – Client PCs: Each of these PC’s will have FactoryTalk View
Client (view runtime) and FactoryTalk Studio (view editor) installed. The
clients will connect (four per server) to a server PC at the front of the room
(according to the table above). Two client PCs will be used to edit each HMI
server, again according to the table above.
FactoryTalk has been installed on every PC in the room, except for the Domain
Controller. This is the recommendation for all PC’s that have FactoryTalk enabled
software installed and any third party software (for example OPC servers).
In fact all PC’s in the room could be configured to share one FactoryTalk directory,
and then all software would become part of a single seamless application space. But
for our lab we are going to separate the FactoryTalk servers. FactoryTalk is very
versatile when it comes to separating applications; we can have one FactoryTalk with
one application, One FactoryTalk with multiple applications, multiple FactoryTalk
Directory Servers with single or multiple applications. This FactoryTalk feature of
making distributed PCs running applications all appear as though in one application
is called FactoryTalk Directory Services.
From the table above it can be seen how we intend the distribution of FactoryTalk
directory servers to be assigned, but how do we change this or check this?
1. There is a utility installed along with FactoryTalk what lets you check/specify
which FactoryTalk Directory Services the FactoryTalk enabled software
should use.
Run the utility from here:
2. The utility will then ask you to log-in. Why? It is because you have to have
user rights to modify a FactoryTalk setting. When the software was installed,
it was configured to use an Administrator user name and password (just as
MS Windows XP does when it is installed). The user name for FactoryTalk is
‘ftadmin’ and the password is ‘ftadmin’.
The server name that the PC is connected to will appear in the ‘Computer
hosting directory server’ box. In the example it is Server-V. Check that the
PC is connected to the correct server, as indicated in the table above.
Example Client PC 08 should be connected to Server-W. Also notice that the
word (connected) is displayed, this is indicating that the connection to the
FactoryTalk Server is working correctly.
Click Cancel if the correct server name and ‘connected’ is displayed. If it is
not, let an instructor know. These setting should be correct as this was set up
prior to the lab starting by the instructors. This is also the place where by
clicking the ‘…’ button it is possible to select another FactoryTalk server, but
don’t change this now.
4. So now that the system has been configured and checked, it is time to launch
the editor for all the FactoryTalk visualisation products - FactoryTalk Studio.
FactoryTalk Studio
Did you see? With FactoryTalk Studio it is possible to edit the entire scope of
visualisation projects. From FactoryTalk View ME for operator stations all the way
to large multi-PC distributed systems.
6. You will now see the display below (Don’t worry if you see different projects in
the list).
Where did this list of applications come from? Well remember that the client PC is
part of the FactoryTalk directory located on the server at the front of the room. So
in fact this list of applications is coming from the FactoryTalk server on the PC at
the front of the room.
Select the SE_IA application and select language English (united States), en-
US (if not select already. Then Click Open.
7. What you will see now is FactoryTalk Studio starting to load the application
SE_IA. Where is it loading this application from? It is loading it from the PC
that is allocated in the distributed system to be an SE HMI Server. In this lab
the PC at the front of the room has been allocated this role. Note the HMI
servers do not have to be installed on the same PC as FactoryTalk directory
server, in this lab however it is.
Each SE_IA application has been allocated four HMI servers; these are being
loaded now by FactoryTalk Studio. Again these HMI Servers could be on
different PCs to each other, but because of limited number of PCs available
they are loaded on the same PC at the front of the room.
Note: No files are being copied when the application is being loaded
by FactoryTalk Studio. FT Studio is requesting information about the
application from FT Directory Service (How many and location of HMI
Servers and Data Servers). FT Studio is then going to these
distributed PCs and requesting information from them directly. Still no
copying of files, just information of the ‘structure’ of the project – i.e
name of graphics, tags, etc. This Information is then presented by FT
Studio to the user.
8. When FactoryTalk Studio has finished loading the application you will see
this.
9. Expand the area “DataServers” area containing the Data Server, by clinking
on the + symbol
Expanded
Here is defined a data server, in this case RSLinx Enterprise, which is the
preferred and most optimised data server for Logix controllers.
• In this application there is only one data server configured; however other
data servers can be added, this includes any third party OPC servers.
• Once a data server had been added and configured it is available to all
FactoryTalk components that require a data server. It only has to be
configured once and is available everywhere with in the application
(including of course other distributed PCs).
12. Now locate in the project tree the HMI area to work in based on the table
above. Example client 10 is going to work with PC ServerX and HMI server J.
Expand the Graphics - ‘Displays’ section in the project tree by single clicking
on the ‘+’ mark for the HMI server allocated to the client.
13. Open each graphic in the application HMI area assigned to the client, by
double clicking each display. Just quickly inspect each graphic then close
again (if prompted to save changes, select NO).
This application is for a process plant, FactoryTalk View SE is ideal for any
visualisation application, including large process plants that require distributed
components to manage the physical size of the plant.
End of lab section 1 (Introducing The Lab Layout And The Distributed
FactoryTalk SE System.)
This lab introduced the set-up of the equipment in the room. Introduced the extremely
distributed nature of FactoryTalk View SE and the concept of a single application
distributed seamlessly across multiple software and hardware components. No
copying of files is required to edit an application just selecting the location of the
FactoryTalk Directory and launching FactoryTalk Studio – Job Done!
Lab 2: Introduction To Some New Features
And Online Editing In FactoryTalk View SE
Beginning with the 4.0 release, RSView ME and SE will support global objects.
Global objects can be thought of as a master or parent object which can be used to
create ‘child’ references. Essentially at this point, any changes to the master/global
object are automatically propagated to its child references.
2. Next, expand the Global Objects icon and open the “D2SD” discrete 2-state
device global object.
Each global object faceplate has been preconfigured to display information directly
from the structure of RSLogix5000 function block instructions much the same way
that the Logix5000 ActiveX control faceplates do except that these displays are
completely customizable. You do not, however, have to create a new display for
every function block in your program. Global objects are generic in that they must
have parameters passed to them at runtime.
Take a look-
3. Click anywhere on the D2SD global object and from the menu bar, select
EditÆTag Substitution…
Note that ALL of the tag references within the object contain a “#1” placeholder.
The “#1” will be replaced at runtime with any D2SD tag when the graphic is called
up. Alternatively, this tag substitution feature could be used to replace the “#1”
references and tie this object directly to a single D2SD tag.
4. Click .
5. Position the two graphics side by side and drag the components from the global
object onto the D2SD_FP graphic as shown.
We now have a child instance of the D2SD global object in the application. Let’s
create a few more. We can do this simply by duplicating the Grist graphic.
11. In the Application Explorer, expand the Displays icon and double click on the
“Brewhouse” graphic to open it.
This is the brewhouse overview graphic. It is partially animated, but now add a few
components to complete it.
12. Change the ‘BrewHouse’ general tile to a name of your choice, eg ‘Mr Smith’. To
do this double click the word ‘BrewHouse’ and change the text, click OK.
13. Right-click on the valve (2-state device) below the Malt A tank in the Grist Mill.
14. This area will be used to launch the Grist_D2SD_FP graphic. From the context
menu, select AnimationÆTouch. An action menu appears.
15. Click the button next to the Release action text box.
16. From the list of commands in the Command Wizard, expand the
GraphicsÆGraphic DisplaysÆNavigation folders and select the “Display”
command from the list at the right.
17. Click .
20. From the drop down list of graphics, select the Grist_D2SD_FP graphic and
enable the /T Parameter tag option as shown.
21. Using the available text box, we’ll need specify which tag in the controller this
graphic is going to display. Click the button next to the Parameter tags text
box.
Note:
Using the tag browser, it is possible to drill down straight into an online
controller it is not necessary to export/import tags. In this example the
Grist Mill control module is directly accessible to FactoryTalk View
SE. This functionality of making ALL tags in ALL controllers and HMI
servers directly accessible is called - FactoryTalk LiveData.
22. Drill down (in the controller allocated to the client) through the
ControllerXÆOnlineÆProgram: Grist_Mill_001
24. FactoryTalk SE allows the selection of individual tags or entire structures of tags.
In this case we are selecting an entire structure GM_Ingredient_A_Value_D2, this
structure contains all the tags in the right-hand pane.
25. Click .
28. Close and save the “Brewhouse” overview graphic when finished.
Using a global object called D2SD (two state device) to create four
new displays: fp_mash, fp_kettle, fp_lauter and fp_wort.
The tag names to use when the touch animation opens the displays
were browsed directly online in the controller. It was not necessary to
create tags in the View SE database.
29. To test the modifications there are two ways: One way is to use the ‘Test Display’
button This will allow testing of the currently highlighted screen i.e. Tag Values,
Animation etc. However if the navigation between displays is to be tested, it is
necessary to run the full test client.
30. From the FT FactoryTalk View Studio toolbar, click the Launch SE Client button.
31. Click once again (in the upper right corner) to open the SE Client
configuration wizard.
36. Select enter SE_IA from the drop down list selector AND select the English
Language option as shown below.
37. Click .
38. Select Area and choose your area, i.e. ProcessArea_X. Where X= A, B…… etc
39. Use the drop down list to set the Initial Display to the “OverView” graphic.
40. Click .
Keep the ProcessHMI client window open for the duration of the lab.
Online editing with FactoryTalk View SE
43. Click on the image in the middle of the “Overview” graphic running in the SE
Client to open the “Brewhouse” screen.
Grist Mill
45. Click on the Malt A valve to launch its D2SD faceplate.
Mash Tun
49. Click on the button to open the Mash Tun Heat Control PID loop
faceplate.
50. Click the button and drag the set point pointer up to about 100°.
51. Watch the response (in the trend window at the bottom of the screen) as the
system adjusts to the set point change.
52. Verify that you have set the loop back to Operator Manual control and click the
“Close” button to close the PIDE faceplate when finished.
53. Click the button to open the Autotune faceplate for the same
temperature PID loop in the Mash Tun.
54. This graphic requires 2 parameter tags when invoked. The first tag (#1) is the
PIDE tag itself, and the second (#2) is the autotune tag.
55. Verify that the Autotune tag for the loop has been acquired.
56. Click the button to begin the autotune process. It will take a minute
or two to complete.
57. Upon completion of the tuning, select the Slow gains and click the
button download them to the controller.
59. Click on the Mash Tun tank to display the Mash Tun detail screen.
This screen provides a closer look into the activity occurring in the Mash Tun. It
contains ActiveX FBD faceplates for the ramp/soak and grist input valve. Just as was
the case with the heat control PID loop, we can take manual control of the system and
manipulate the settings as desired.
60. Click the “Close” button to return to the “Brewhouse” overview graphic.
Reusing Operator Panel Graphics in a
FactoryTalk View SE Project.
However essentially this is the same software, just the ME version has
had SE support disabled so ‘ME only’ users do not have to pay a
supplement for functionality that is not required.
Taking a scenario; the end user (you) are using FactoryTalk View SE as the main
plant SCADA. However there are some OEM packages provided to the plant as
finished individual machines or processes. These OEM’s are using FactoryTalk View
ME running on PanelView Plus operator stations to control the machine/process,
because only simple localised control is necessary.
Here are a couple of screen shots from two of these separate OEM packages:
We will start by opening the FactoryTalk View ME projects before transferring them
to FactoryTalk View SE.
1. Leave the current instance of FactoryTalk Studio open. Open a new instance
of FactoryTalk Studio.
5. Notice you now have two instances of FactoryTalk Studio, one for ME and
one for SE.
Watch the graphic animate, the data is coming from a controller (SoftLogix) at the
front of the room.
7. If the graphic is animating excellent – now click the ‘Edit Display’ button, if not
animating let an instructor know.
8. Now position on the screen (by resizing the two windows) FactoryTalk Studio
ME and FactoryTalk Studio SE, as below: Then in FactoryTalk Studio ME
drag the display file ‘Raw Product Delivery’ to the Display ICON in
FactoryTalk Studio SE, as show below. NOTE move to your area (diagram
shows HMI_A, but use your area)
Before:
After:
The ‘Raw Product Deliver’ display has been migrated into FactoryTalk Studio SE.
Where is the display ‘Raw Product Delivery’ saved?
9. Maximise FactoryTalk Studio SE. Open the newly migrated display ‘Raw
Product Delivery’, by double clicking it.
Does the display animate, as in ME? (ignore the yellow lamp on the photo
cell).
2. Make a slight change to the access path for the tags so they can
find the shortcut.
If this had been SE Station, this would not have been necessary,
because like ME, SE Station does not support the concept of areas.
ME Communications:
SE Communications:
12. Single click anywhere on the ‘Raw Product Delivery’ (grey) background.
Now press Ctrl + A (select all on the screen).
18. If you wish you can repeat steps 1 – 16 for the display ‘Raw Product
Processing’. It’s your choice if you want to see the magic again.
To recap what we just did:
Note: In fact the ‘whole’ ME project could have been migrated into SE.
Centralising Automation Security.
You see here the ftadmin user you have been using to log-in to FactoryTalk
for this lab. You can see that ftadmin is a member of the ‘administrators’
group.
Notice these two groups have a different symbol to the administrators group.
They include a chain link. This means these user groups are ‘linked’ to the
windows configured users and groups, i.e. the Windows security is adopted by
FactroyTalk Security. This means you can have one centralised security ie a
Windows Domain and use it not only for all the usual Windows security, BUT also
for ALL Rockwell Software applications that are FactoryTalk Services aware.
3. The FactoryTalk users have been added before the lab, and these users
have been applied to the FactoryTalk View project used in the lab. Now
we will look at the configured users and their security permissions.
In FactoryTalk Studio select the ‘RSView User Accounts’ menu item.
Here you see listed the same users and groups you saw in FactoryTalk.
But you do not see user permissions allocated in FactoryTalk View.
4. Click the ‘Add User/Group’ button.
Ignore the ‘Andy-Virtual’ part of the user and group name, you will see the
Domain name here.
Here you can see in the top frame the configured users, both FactoryTalk
users e.g. FTadmin and Windows linked group e.g. Operators and
Supervisors.
5. To see the permissions allocated to these uses, select the users and
expand the ‘security code’ box. For example: The operators group have
security code ‘A’ only
However the supervisors have an additional ‘B’, ‘C’ and ‘D’ security codes.
Click OK, when finished.
FactoryTalk Security lets you not only specify centralised Users and
groups, which are FactoryTalk only or linked with Windows users BUT
which PC the user can log in from. So it is possible to enforce ‘line of
sight’ to the machine for operators.
6. So lets try implementing some of these security codes now: Open the
display from YOUR HMI area called ‘Phase Console’.
7. Select the ‘Button’ icon from the tool bar, by clicking once.
To give:
8. Click the ‘Action’ tab, then the ‘Release Action’ ellipse button …
The command wizard will appear.
9. Select ‘All Commands and Macros’ in the left hand pane. Then select the
command ‘OpenLogix5000’. Then click Next.
10. Click the ellipse button (…) for RSLogix5000 project file. Then brose to
‘C:\Lab Files’. Then select the Logix ACD file for your controller (see table
above):
Controller1=Brew_Slot5.ACD
Controller2=Brew_Slot6.ACD
Controller3=Brew_Slot7.ACD
Controller4=Brew_Slot8.ACD
11. Click the ellipse button (…) for routine name. Wait for the ‘Routine
Browser’ to open. Then select the routine ‘Brew Procedure’ –
‘PhaseCmnd’
This List of routines
has been provided by
RSLogix5000.
To give:
Click Finish.
12. Select ‘Up Appearance’ tab. Type ‘Code View’ in the caption box’. Click
OK.
To give (resize your button to fit the text if necessary).
14. Type the text CurrentUserHasCode( B ) into the expression field for
Visibility. Click Apply and close.
15. Going to add one more change here so we can test the functionality. In
FactoryTalk Studio, still on the Phase Console display. Again select the
button control:
17. Click the ‘Up Appearance’ tab, then enter ‘Login’ to the caption box and
click OK.
18. Close and Save the graphic.
20. Click the ‘Login’ button. Enter user ‘fred’, password ‘fred’. Click ok.
21. See how the ‘code view’ button is hidden, and that the diagnostic window
gives the log in information.
Remember fred only had the security code ‘A’ allocated to him, but to see the
button security code ‘B’ was required.
22. Now lets log ‘joe’ back in who has security code “A,B,C, & D’. Click the
‘Login’ button. Enter user ‘joe’, password ‘joe’. Click ok.
Now the ‘code view’ button returns. So click it now.
Wait for a few moments; it may take a little while to work the first time.
See how Logix 5000 is opened on the phase control code (offline).
To See:
25. See how the FactoryTalk View display matches the actual Logix program.
Logix
View
The Electronic Signature control is a standard product feature included with RSView
SE that provides the ability to record user information for specific control system
interactions. This feature is particularly beneficial for applications in regulated
industries that are subject to Federal guidelines such as:
21 CFR Part 11. Examples of a user activity that may need to be recorded for audit
purposes are modifications to process set points. By implementing the Electronic
Signature control, user credentials are verified using Windows security and recorded
prior to downloading new values. The information corresponding to the set point
change is recorded in the FactoryTalk Diagnostic Log.
Aside from recording modifications to control set points, the Electronic Signature
control can also be used to record other types of user interaction with the control
system. One such interaction could be the acknowledgement of alarms.
In the SE application we have a button to start the brew cycle. Well maybe you
decide that this action must be confirmed by a supervisor and not just started by an
operator. So now we will implement the ‘Start The Brew’ with the E-Signature button.
1. Open the BrewHouse graphic. Click the ‘Start The Brew’ button and delete the
button (we are going to replace this with E-Signature).
2. Now select Objects Æ ActiveX Control
Then scroll down the ActiveX list and select RSView SE Signature Button.
Click the …
7. Now set the security: Here we are stating that an Operator can request the action, but a supervisor
must confirm.
You can go and change the colour if you require, otherwise select OK.
9. Now lets try it. But first log into FactoryTalk as an operator, at the moment you
are a FactoryTalk administrator.
Click Log Off, confirm with OK, then Exit. Now log on as User ‘fred’, password:
‘fred’
10. Now click the Reset Brew, followed by the Initialize. Followed by the ‘Start The
Brew’ button.
11. So here is the E-Signature button. You must enter a comment (enter anything
you like here). Then log in as user: fred, password: fred
13. Joe is authenticated against the security and then the Set command is executed,
and the batch starts.
14. Look in the event log to see that this has been logged. On the desktop open the
event log and look in FatctoryTalk Diagnostics.
You can watch your beer being made now, Cheers!
End of lab…
Features That Enhance and Speed Visualisation Project
Development.
We will make some changes to the project you have been working on and see how
FactoryTalk View SE features enhance and speed the development of a Visualization
project.
Often in project development it is the simple features required in a project that can
cause complex solutions to be conceived. Here we will look at some very common
requirement and show how these can be achieved with ease using FactoryTalk View
SE.
• Using a library objects in the project that are ‘linked’ to the original (parent)
object – so that if changes are made to the original – the linked objects will
also change without having to modify them in the project.
Docked Displays.
FactoryTalk View SE can assign the property of ‘docking’ (attaching to the top,
bottom, right or left) a window on a display. This in effect means that the designer of
the system does not need to spend any effort in ensuring the display is visible in all
circumstances, this functionally is automatic. This is achieved by the docked display
reserving the required space and automatically re-scaling non-docked displays to fit
in the remaining display area.
1. Right click the displays icon in the project organiser for your area and select
‘New Display’.
2. Draw a display that is approximately as shown below, ie long and thin.
3. Click the Alarm & Event Banner icon and draw an Alarm & Event banner
object as shown. (If required make the display a little bigger to enable the
alarm & Event banner to fit.
4. Close this display and when prompted to ‘save’, select ‘yes’, and save as
‘AEBanner’.
7. When the properties dialogue box appears, enter the following command in
the release action box: Display AEBanner /DT.
10. When the overview display is shown, click the new button you just added.
You will see that the display AEBanner is docked at the top of the display and
that display Overview is moved and sized automatically to make room for the
new docked display.
Click on the brewhouse area (centre of screen) to call the brewhouse display – you
will see that the docked display is not overwritten.
With the expansion of the European Union the possibility of a diverse workforce
in factories is becoming the norm rather than the exception. The ability to switch
languages in the runtime environment is very important. Not least so that
operators can understand in their native language the information being displayed
by the SCADA system and hence act in a timely manner with the correct actions.
There are two important aspects to run-time language switching. One is of course
making it easy to switch the language at run-time; and the other is that it is easy
for the developer to implement the language switching in the project at design
time.
This current project is in English, so now lets investigate how we would enable
French (or any other language) to be used.
1. Fist lets add French to the project. Select menu ‘Tools – languages’
2. Select ‘Add’
Then scroll down and select ‘French (France) fr-FR. Then click OK.
3. Click ‘Apply’
4. Click Export and select the following settings, then click ‘Next’.
5. Tick the box for just your area.
6. Click the (…) and browse to select ‘Desktop’ as location to save the file. Click
‘Finish’.
7. Wait whilst the languages strings are exported. After a short while Microsoft
Excel will display a spreadsheet of the language export. To the right of the
spreadsheet can be seen the two languages in your project ‘English’ and
‘French’.
Now all the language strings are in one spread sheet it is a simple
matter to have the languages translated. Simply put the language
translations for each of the ‘host’ (in this case English) into the column
for each selected language.
8. We do not have time to translate all of the phrases/words now, so we will just
change one to give the idea. In the Excel spread sheet search for the word
‘Brewing’. Note don’t worry if the RE:xxx is different in your application.
10. Now to get the language translation back into the project we do an import. So
select menu Tools – languages. This time select ‘Import’.
11. Select import from Excel and press ‘Next’.
12. Click (…), browse to the desktop and select the Excel file, click ‘Finish’.
Wait for the process to complete then click OK.
13. Now before we test if your modification worked. Lets look at how the operator
would change the language when in run time.
Open the display ‘AEBanner’ you made earlier by double clicking it in the project
manager.
14. Draw a buttons on the space to the right of the Alarm and Event Banner.
When the button dialog appears follow the following actions:
When the overview display is shown – click the button to show the docked
display.
18. Now using the two new language buttons it is possible to switch between the
two languages. Note when switching to the French language you see your
translation for ‘brewing’ but all other text changes to a ‘?’. The reason for that
is to let you know that those phrases were not translated – which is correct
because we only translated one phrase/word.
These sample libraries can save many hours development work and give a
consistent, pre-tested operator interface.
1. In the controller the AOI for a PowerFlex Drive has already been inserted
and the input/output tags configured. This single AOI has all the detail
necessary for controlling a drive, the coding detail is hidden in the
instruction and all that is required is configuration. So essentially finished
for the controller coding. So Now what about a SACA interface to this
instruction, to allow the drive to be controlled and monitored?
2. In FactoryTalk studio import the faceplate we want to use. Right click the
Displays, and select ‘add Component Into Application’.
12. From the Overview display, click in the center to show the BrewHouse
display then click the motor.
13. If a PowerFlex were now connected you would have full control of the
device after completing these few steps.
There are many AOI and Faceplates available for hardware devices, these
enable very fast development of applications.
END OF LAB..