Sie sind auf Seite 1von 7

ST Assi~nments

Develop IO2icfor the followin2:


1) Pressing a Push button IPO,a motor OPOis switched ON.
2) Pressing a Push button IPI & not pressing a Push button IP2, a motor OPI is
switched ON.
3) 60 sec after Push button IP3 is pressed, a Lamp OP 2 is switched ON.
4) When Push button IP4 is pressed, a motor OP3 is switched ON. 60 sec later, motor
OP3 is switched OFF.
5) When Push button IP5 is pressed, a Counter C5:0 should be incremented and the
accumulated value of the counter C5:0.ACC should be written into N7:0.
6) When Push button IP6 is pressed, Add the values in N7:0 and N7:I & enter the
results in N7:2'Y\i"ihJ,
7) Consider 3 inputs;:IPO, IPI'"& IP2 to initiate subtraction, multiplication, and division
respectively of values stored in N7:0 and N7:1,:$,tore the:r~sults in N7:3, N7:4 and
N7:5 respectively.J3efore performing division, ensure that the divisor is not zero.
8) When Input 2 is,f?wtched ON (Continuous inpvt) -Qutpu12>should be switched On
- after 10 sec & sbo11ld.re:mainON till input 2 is O~. ' "

9) When input 3 (Q;l()J:llentary


input) is switched ON: output 3 should get switched ON
after 10 sec & s,qould,remall1;ON
till input4 is s~t~hed ON. ' '

10)When input 5 is :swtchedON Output 4sho~d,get swiJRhedON immediatelyand


,whenINPUT5 is sWitched'QFF,after 10sec Output4sh~l11d~get switchedOFF.
11)Use input 0 to count up. a counter C1 and input Ito countdown the counter. When
the counter val~e.i~morethan 10, Output 2 sb.o~Jdget sw;i,~9hedON. If the valuejs
lessthan 10it shoUldget OFF,Reset the counter'usinginput2.
, "" " ,'"" "
'
,
,
,

12)Add 2 values storegin me:morywords MWO&~IW2andmmsfer the value t~,MW4


(Change the value.qfthe words from variable table). ' ,', " ,

13)Write logic to g~t~pljnking output -OP7 switchingON&OFF at 1 sec intervals.


14) Turn on a val~e:f()r 3,9see' 'after a switch is clos~d.IfinteJ!Upted, value should close
and time shoul~I~~Ho~ero."."",,:,' :, ' '
15) When switch 1 ,is'dosed, turn ON motors 1, 2&' 3. Turp.;OFF the motors at 5 sec
interval after sWitch! is 'open. .. '., ,
16)Turn on an ouqjl.tt~X~finpl.ttsA &B or input C ,is'swi~chedon.
17)Mixin2 Station:, " , '. " , '

I)esign Logic & contiol aiagraIfi for a PLC controHe.~basic.~i~ing process having two
kinds of Liquids In,i~~ for a spe.cified time andfinalprodu,9tto be transferred to a
Storage tank, systetticon$ists of:'
,,' " '" ' ' , ,
, "',' '" '

}o>02 level seriso~S:rn()nit9ring amount of two liqliids.flo'Wil}ginto the tank.


.. ,I. "," "'., ".. " ..' ,'"

~ 03solenoidva1\rescontfolling
theflowofli<iiii~., ' '."

,/r Motor connect~g, tp 8J1&g'itator to mix the liqUids' ,


~ Start & stoppu.shi:>uttons are operated by,s~pervisof. ,Valves, sensors, Plotors
called field, devIces :Will enable the system tob~ operated by PLC UI1it
autom&tically,' ., , '

SeQuence of operation
}o>Open valve k;'l1.Q.til
level 1 reached for liqui(tA. '. ';'
}o> Then close v.a~y~ L ' , . ,.,"",
}o>Open valve'~ ~Wlevel, 2 reached for liquidB. ,.

)'- ;:f:benclose va-lye2.

, ,,'
ST Assignments

DeveloDIO2icfor the foUowin2:


1) Pressing a Push button IPO,a motor OPOis switched ON.
2) Pressing a Push button IPI & not pressing a Push button IP2, a motor OPI is
switched ON.
3) 60 sec after Push button IP3 is pressed, a Lamp OP 2 is switched ON.
4) When Push button IP4 is pressed, a motor OP3 is switched ON. 60 sec later, motor
OP3 is switched OFF.
5) When Push button IP5 is pressed, a Counter C5:0 should be incremented and the
accumulated value of the counter C5:0.ACC should be written into N7:0.
6) When Push button IP6 is pressed, Add the values in N7:0 and N7:I & enter the
results in N7:2. ;\i',";'"
7) Consider 3 inputs; JpO,' IPI & IP2 to initiate subtr~ction,multiplication, and division
respectively of values stored in N7:0 and N7:L$tore the'te'sults in N7:3, N7:4and
N7:5 respectively.:}i\eforeperforming division, ensure thaN:hedivisor is not zero.
8) When Input 2 is,~wtched ,ON (Continuous inpv.t)Qutput2' should be switched On
. after 10 sec & shQuld,remainON till input 2 is O~. "'.

9) When input 3 (momentary input) is switched ON: output 3 should get switched ON
after 10 sec & shouldremait). ON till input 4 is s.witchedON. .
10) When input 5 is .s"'jitched()N Output 4 should get 'swjte;.!iedON immediately and
. when INPUT 5 is switched'QFF, after 10 sec O\.itput4shQ'ul'd'.getswitched OFF.

ll)Use input 0 to count up a counter Cl and input ftocount down the counter. When
the counter val~~ i~ morethflnlO, Output 2 Sh~f.lldget s~~9hed ON. If the v,alu~is
less than 10 it sq()uJ,dg~t OFF. Reset the countefu..singinput2.. . ; .
12)Add 2 values stqreqinmemory words MWO&MW2and~~sferthe value tP,MW4
(Changethevalueofthewordsfromvariabletable).,. .' .

13) Write logic to g~t~l:>lt11ldngoutput: OP7 switching'ON"&:OFF at 1 sec intervals.


14) Turn on a val~e.:~qr3Q sec'3fter a switch is c1os~d. If,in,telJUpted,.value shmildclose
and time should,re,spttoZero. '. . ...' .

15) When switch (is closed.,him ON motors 1, 28t 3. TU111,.OFF


the motors at 5 sec
interval after switch.1 is 'open. ..' . . . '.\
16)Turn on an Output:Xii(jnp\lts A &B or input C is swi~chedon.
17}Mixin2Station: ."'. .' '... '.

Design Logic & coP:tf6t~~gr~for a PLC contr9li~~ba:si~~i*ing process having tWo


kinds of Liquids 1I\ix~ for a specified time and.ftilal. produ<Wto be transferred tQ,a
gtorage tank, systeI1tcon~ists of: . '., ,'." ,,' 'f' .

~ 02 level seriso~:~()nit9ring
! ,.. . .. amQuntof tWoliqiUds.floyvj.Q.g.into
. '.'. ,. .'" the tank.
~ 03solenoidvalyes,contr911ing
theflowofli4wds. . ."

,.. Motor connect~4 t() ap ~gltator to mix the liqUids' .


..» Start & StOpp~shlJuttQns are operated bY,~9pervisOF-Yalves, sensors, motors
called field-;dev,ices will enable the system to be uoperated by PLC unit
automatically.. , .

SeQuence of operation
~ Open valve ~;Uij.~illevel.lreached for liqui4~~.- "
~ Then closevafv~ L '.' "".
~ Openvalve~ :l##peve~2 reachedfor liquid B.'
); :fbenclose y,alye 2.. '. .

,.
.",..-IL.iSll.lIIJ!"4.¥!"!'.I lI1r."",",
..r"~

Questionnaire 1 "

1. Conditions (1, 2 and 3) turn on output A & output B.


. 2. Conditions(1, 2 and 3 ) or (4 and 3) turn on outputA.
3. Conditions 1 or (2 and 3) turn on output A, condition (1 and
4) or (2 and 3 and 4) turn on output B.
4. Conditions (1 or 2 or 3 or 4) and (5 or 6) turn on output A.
5. Conditions 1 and 2 or the state of output A and conditions 2
turn on output A.
6. Conditions 1 turn on output A , condition (1 and 2 and 3 and
4) turn on output B, conditions (1 and 2 and 5) turn on output
C.
7. Conditions (1 and 2 and 3) or (4 and 2 and 3) or (5 and 6)
turn on outplJt A. '

Questionnaire 2

1. When i/pO& i/p1 are closed, turn on o/p O. .

2. When i/pO& i/p2 are closed and i/p1 is open, turn on o/p1.
3. When i/pOis closed or i/pl is open, turn on 0/p2.
4. When i/p5 is closed turn on o/p 1, 0/p2, 0/p3 and 0/p4.
5. When i/pOis closed and either i/p1 is open or i/p2 is closed
turn on 0/p4 & 0/p5. .'

. 6. If i/p7 is 'open and i/pOand i/p1 are closed or i/p3 is closed


then one of the binary bits is set to 1. Once binary bit is set to
1, it stays set to 1 as long as i/p7 is open even if i/pO , i/p1 ~r
i/p3 become open at the same point.

Do not use a Latch Instructions.

;;

_.~ ......-..----- _Oii


second

Exercise 3:
~ create new window win 3 yellow in color
~ Create two sliders for 1P1 & 1P2
~ Create real time trend for tags ip1 and ip2
~ Create links to move between WINl, WIN2 & WIN3
Solution:
1) Click on file\new Window
2) Givenameas Win3colouras yellowand clickOK n

3) Click on Wizard icon, select slider and click OK, double click on the slider
4) Type tag name as i,.1, label as slider1 & click on OK
5) Repeat the above steps 3 & 4 for second slider with tag name as ip2
6) Click on real time trend icon, then draw the same in window field
7) Double click on the real time trend object
8) Type tag 1p1 in penl text field anclta~ ip2in pen2 text field, select appropriate colors for Dens
9) Click on _button icon and in window field draw a button, double click on the button
10) Click on show window, select window to be shown i.e. winl& click OK then OK& then OK
11) Open window win1, Click on button icon, in window field draw a button, double click on button
12) Click on show window, select window to be shown I.e. win2,~clclick OK then OK& then OK
13) Open window win2, Click on button icon, in window field dra,wa,button, double click on button
14) Click on show window~select window to be shown I.e..wjg,~,~9click RK1hen OK& then OK

(2' )
----

SCADA ASSIGNMENT

Exercise 1:

~ Create new application in directory C:\Practicall. Give application name as Application 1.


~ Create new window Win! with blue background color.
};> In Winl, create following tags:
.:. All: Memory integer (Range 0 to 100)
.:. AU: Memory real (Range 0 to 200)
.:. DI1: Memory discrete
};> Create links in the window through which you can enter the value to the tags
};> In win 1createtwo rectangleswithdifferentcolors .
};> Show the % fillingof the rectangle(ail to the firstrectangleand tag ai2 to the secondrectangle)

Solution:

Exercise HA):'
In window win 1
};> Create two rectangles with different colors
};> Show the % filling of the rectangles (ail to the fir$t rectangle and tag ai2 to the second rectangle)

~olution:

;""'d.
Exercise 4:
:> create new window win 4
:> in window win4, create two sliders ipl & ip2
:> create historical trend for tags ipl andip2

Exercise 5:
:> CreatenewwindowWin5 . .

:> in window win~;cretltealat"Ih'history &a1arm summary


)0> Create two buttoh [or moving-the alarm history cha~t,~up&ipgdll.

} >'.i:
(3)
,

Exercise 6:

» Create a Excel file pract.xls


» Create a DDE links through which you can read values from Intouch to Excel.
.:. Rowl Columnl: IPt & Row2 Column2: IP2
» Create a tag in 'Intouch' (name: from excel) and read a value from the practxls excel file location
Row4 column!. this should be two ways link i.e. changes the value in Excel it should reflect in
Intouch and vice versa.

Solution:

1
2
3
4
5
~
7)
!.
9)

.,

(4- )

Das könnte Ihnen auch gefallen