Professional Documents
Culture Documents
Dieu Khien Logic2
Dieu Khien Logic2
Quick introduction
10/24/2012
Solution
10/24/2012
Motor control
10/24/2012
Counter explain
Instruction list
10/24/2012
Register examples
10
10/24/2012
Explanations
When input X401 is on the bank of auxiliary relays M160 to M175 are recognised as a register and bit 0 (M160) is set high. Each time input X402 is pulsed, the bit is moved along to M161, M162 and so on. Each individual bit is used to turn on a corresponding output in order to indicate its status. For example if bit M165 is high, then output Y435 is turned on. Switch on X401 and output 430 should light up. Each time input X402 is pulsed the bit moves along and the next output light ups. When input X403 is pulsed, the register is reset. If X401 is off a low is loaded into M160. If a shifting performed, the low (light off) is carried along with each shift. By switching X401 on or off and shifting, it is possible to arrange any pattern on the register.
11
Mch logic t hp
t/h ra
Mch nh
12
10/24/2012
Mch logic tun t khng ng b: vic chuyn trng thi trong mch ch ph thuc vo tn hiu u vo, trng thi trong trc
Khng c tn hiu ng b Thng gp trong cng ngh ca cc my sn xut cng nghip
13
14
10/24/2012
a2 Y Z
15
a1
16
10/24/2012
i-1
i+1
i-1 ai i
S ai Si 1 Si Si 1
ai: tc nhn kch thch th i Si: tn hiu ra ca trng thi th i Si+ : hm iu khin trng thi i lm vic Si- : hm iu khin trng thi i ngh vic Phn t modul trng thi: 1u ra, 2u vo Si: tn hiu ra Si+ : tn hiu ghi Si- : tn hiu xa
i+1
S r le tip im
S i ( S i S i ).S i
Si
Si+ Si-
18
10/24/2012
Xc nh hm iu khin Xc nh s iu khin
19
V d 2.10
a0 A+ A-
a1
Lp G I
Xc nh trng thi ban u
10
10/24/2012
Lp G II
g
Xc nh hm iu khin
S0 m, a0
S1=A+ a1
S 0 S0 S1 S1
g a0 S 2 S1 (m a0 ) S0 S2
S2=Aa0
S 2 a1S1 S 2 S 0
21
S iu khin r le-tip im
g a0 S0 m a0 S1 a1 S2 S1 S0
S2
S2
S1
S0
S0
S2
S1
22
11
10/24/2012
Examples
starts with everything off (retracted). Closing the push button switch PB1 starts the cycle. Next B g oes on (B+) and then when reaching full stroke it goes off again (B - ) When B is fully retracted (off) it is switched on again. When B reaches its full stroke for the second time, A is switched on. When A reaches full stroke both cylinders are switched off together and retract together. The cycle stops until PB1 is pushed again. B+ B - B+ A+ (A - B- ) simultaneously,
23
24
12
10/24/2012
S i Si 1 Si 2 S i 3 S i 1 ai 1S i S i 2 ai 2 S i S i 3 ai 3 Si
25
Mch hi t HOC
i+1 ai+1
i+3 ai+3
Si 1 S i 2 S i 3 S i 4 Si 4 ai 1S i 1 ai 2 S i 2 ai 3 S i 3
26
13
10/24/2012
Mch phn k V
Si S i 1.Si 2 .S i 3 Si 1 S i 2 S i 3 ai 1.ai 2 ai 3 .S i
27
Mch hi t V
i+1 ai+1
i+2 ai+2
i+3 ai+3
i+4
14
10/24/2012
m a0 A+
b0 BB+ AA+
b1
A-
trng thi i ln u hnh trnh i xung v u hnh trnh i ngang u hnh trnh i xung v cui hnh trnh i ngang
m g
b0 B-
b1
S0 g b0 S 4
0
S0 m a0 b0
a0 A+ a1 A-
B+ A+ A-
S S1
S1=A+ a1
S2=Aa0 b0 a0 b1
S3 a0b0 S 2 S 4 a0b1S 2
3
b1
S3=B+
S3 S1
S 4 S0
4
b0
S4=B-
30
15