Lab SCADA

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

SCADA Interface Design

Using
Rockwell’s
Factory Talk View Studio

LADDER PROGRAM
1. Create the ladder program for Industrial Oven as
attached)
2. Define a DINT value as program tag with name “BIT”
3. Include BIT.0 as a parallel Remote Start XIC (See attached ladder
printout)
4. Include BIT.1 as a series Remote Stop XIC (See attached ladder
printout)
5. Toggle the values of BIT.0 as open and BIT.1 as closed.
6. Down load and run the ladder program in RS5000

FACTORY TALK VIEW STUDIO


7. Open Factory Talk View Studio by double clicking the icon on the
Desktop. The program can also be found under : Start >
ALL Programs> Rockwell Software > Factory Talk View> Factory Talk View Studio
8. Select „Site Edition (Local)‟ and click „Continue‟.

9. For new application complete steps 10-12, else reload existing


Application by selecting name.
10. Select New in Site Edition Application
11. Create and Application by typing a name “OVEN” and click on
„CREATE‟
12. Under Add Process Faceplates, select „Clear All‟ and „OK‟ as we will
not be adding faceplates in this program

13. SETUP the RSLinx Enterprise Link ( Always check communication


path setup when an existing application is reloaded )

14. Right click on the first application name, select Add New Server and
select the Rockwell Automation Device Server (RSLinx Enterprise)
15. Under RSLinx Enterprise Server Properties accept with „OK‟

16. Click on the “+” to scroll down under RS Linx Enterprise

17. Double click on “Communication Setup”


18. The Communication Setup Box appears for the creation of a Device
Shortcut

19. In the Device Shortcuts box: Click in the “Add” button and type a
name for the New_Shortcut giving it the selected name “Link “.
20. In Primary Box: Scroll down under the EtherNet connection until you
get to your OWN local PLC slot 0 location.
21. Both your shortcut name and the ethernet location should be
highlighted indicating the primary path you have selected.
22. Click “Apply” and accept by clicking “Yes”
23. You can Verify your path by clicking on”Verify”
24. Click on OK to accept the Communication Setup as configured

Update Rate: Locate under Edit > Display Settings > At the bottom
on box you can type value under “Maximum Tag Update Rate”
25. Set update rate of screen to 0.05 sec.

CREATE YOUR FIRST SCADA GRAPHIC DISPLAY


26. Maximise by clicking the maximize button.
27. For our first SCADA display we are going to utilize the following bits
in our program
BIT.0 (Start PB) and BIT.1 (Stop PB).
DOUT.0 (FAN), DOUT.1 (HEATER) and DOUT.2 (HORN).

28. Double click on “Displays” under the “Graphics” folder. An untitled -


/OVEN// (Display) should appear on screen.
29. Select the “Momentary Push Button” function out of the top function
selection by clicking on the icon:

30. Move to the Display Screen. Click on the point in the screen you wish
to place the button and keep the left click button down (ON). Start to
draw the button, hold click down and release the button when the
rectangle has been sized to your design. A coloured rectangle should
appear on your display.

31. Double click on the rectangle to edit the properties of the button:
32. General: Can edit appearance (Keep current selection), Select here
Normally Open or Closed button setting (Select Normally Open) and
Hold time (Keep current selection).
33. States: Select State0, Select Green Back colour, Black Border, In
Caption type “START”
Select State1, Select Red Back colour, Black Border, In Caption type
“START”
Select Error, Select Yellow Back colour, Black Border, In Caption
type “START”
34. Common: Leave unchanged
35. Connections: Find the path to the required tag through setup in this
section.
Double click on the three dots on the Value line.
Scroll down under OVEN> Link > Online > Program:MainProgram
Select and High light the Program:MainProgram Folder
36. You can now select in the right hand box the variable you are
interested in, for example by clicking on “BIT”.
Notice also the other variable that are available DIN or DOUT or in
the folders below Program:MainProgram Folder Timer1 and Timer2

37. Double click on the Value line where the BIT tag is displayed, and
you should be able to edit the path to point to the exact bit that you
require. A blinking line appears at the end of the bracket “ }| ”. You
can move this line to where you can edit your text.
38. In our case the required START bit is BIT.0 which has to be modified
by typing in the “.0” of the tag.

39. You can now accept the properties by clicking on “OK”


40. Repeat this button procedure, by creating another button for the
STOP as per above instruction,
General: Select Normally Closed.
States: Select State0, Select Red Back colour, Black Border, In
Caption type “STOP”
Select State1, Select Orange Back colour, Black Border, In Caption
type “STOP”.
Select Error, Select Yellow Back colour, Black Border, In Caption
type “STOP”

41. In this case the required STOP bit is BIT.1 which has to be modified
by typing in the “.1” of the tag.

42. Create an Output display by selecting Rectangle for example:

43. Move to the Display Screen. Click on the point in the screen you wish
to place the rectangle and keep the left click button down (ON). Draw
the lined box, hold click down and release the button when the
rectangle has been sized to your design. A coloured rectangle should
appear on your display.

44. Right Click on the coloured Rectangle and select Animation, Colour

Select under Tags DOUT0 for the FAN and OK


DOUT1 for the HEATER and OK
DOUT2 for the HORN and OK
45. You can select, copy and past buttons and rectangles to exactly
duplicate the figure you have designed on your screen. Duplicate two
more rectangles for to create three in total.
46. Edit the text , using the A-text button on top, to insert a description on
each rectangle to show FAN, HEATER and HORN
47. Test run the program by selecting Test Display function (Play Button)

48. By clicking on the START Button you should be able to start the oven
with the Fan and Horn energized. After 10 seconds the Horn should
switch OFF and the Heater should be energized. By clicking STOP
the Heater should be switched OFF immediately and after 10
seconds the Fan should switch OFF.
49. Save your Display program by selecting and clicking on the save
button and give the display a name for example MAIN.
50. Close your application by selecting File > Close Application.

51. Save your application by selecting Tools >Application Manager>


Select Site Edition (Local) and Next
Select Backup Application and Next
Select application name for example “Oven” and Next

Select Box … and specify the directory to save the application

For applications in the P202 lab you should use the F: directory as
permanent memory space and also save to your own memory stick.

52. When re starting your application, remember to restore your old


program when starting a new FT Studio session by similar process.
After starting up FT Studio
Selecting Tools >Application Manager>
Select Site Edition (Local) and Next
Select Restore Application and Next
Select application name and directory

You have written your first SCADA PROGRAM.

You might also like