ELEVATOR CONTROL SYSTEM (1) / MAIN (OB1)
Block: MAIN
Author:
Created: 03/05/2018 02:12:29 pm
Last Modified: 03/05/2018 08:05:28 pm
Symbol Var Type Data Type Comment
TEMP
TEMP
TEMP
TEMP
PROGRAM COMMENTS
Network 1 ELEVATOR CONTROL SYSTEM
I0.0,I0.1 & I0.2 are call switch, I0.3, I0.4 & I0.5 are destination swtich
I0.3 T37 T37
/ IN TON
I0.4 MW0 PT 100 ms
I0.5
I0.0
I0.1
I0.2
T37
>=I
1
1 / 11
ELEVATOR CONTROL SYSTEM (1) / MAIN (OB1)
Network 2 Initialization
initilization, Q0.3 & Q0.4(1st and 2nd floor door closed), Q0.1(seven segment output 1), V0.0, V0.1, V0.2 (Memory bit used
logically), Q0.5 & Q0.6 (Elevator up, down indicator off), Q0.0 (ground floor door open)
SM0.1 Q0.3
S
2
Q0.1
R
1
V0.0
R
3
Q0.5
R
2
Q0.0
S
1
2 / 11
ELEVATOR CONTROL SYSTEM (1) / MAIN (OB1)
Network 3 1st floor destination and call switch
1st floor. . I0.4 ( dest ina tion)+ I0.1 (ca ll)switch ,
Q0.3 V0.0 V0.1 V0.2 I0.4 V0.1
/ / / S
1
I0.1 Q0.0
R
1
Q0.1
S
1
Q0.2
/
Q0.2
3.A
31
V0.0
R
1
V0.2
R
1
Q0.4 Q0.6
S
1
3 / 11
ELEVATOR CONTROL SYSTEM (1) / MAIN (OB1)
Q0.2
S
3
Q0.4 Q0.5
3.A / S
1
Q0.2
S
3
MOV_W
EN ENO
IN OUT MW0
Network 4 after reaching to 1st floor
On reaching to 1st floor, Q0 .3 (do or ope n), Q0.6 & Q0 .6 (ele vator up &down indic at or of f), V0 .1 ( memory bi t used logi ca l y),
Q0.7 , Q1.0 & Q1.1 to reset call indicator
T37 V0.1 Q0.3
R
1
V0.1
R
1
Q0.5
R
2
Q0.7
R
1
Q1.0
R
2
4 / 11
ELEVATOR CONTROL SYSTEM (1) / MAIN (OB1)
Network 5 2nd floor destination and call switch
2nd floor.. I0. 5 ( d es tinati on)+ I0. 2 (call)swit ch ,
Q0.4 V0.0 V0.1 V0.2 I0.5 V0.2
/ / / S
1
I0.2 Q0.0
R
2
Q0.6
S
1
Q0.2
/ 5.A
Q0.3
/
V0.0
R
2
MOV_W Q0.2
5.A EN ENO S
3
61 IN OUT MW0
MOV_W Q0.2
EN ENO S
3
31 IN OUT MW0
5 / 11
ELEVATOR CONTROL SYSTEM (1) / MAIN (OB1)
Network 6 after reaching to 2nd floor
On reaching to 2nd floor, Q 0. 4 (d oor op en), Q0 .6 (elevat or up ind icator off ), V0. 2( memory bit used lo gically), Q0.7 , Q1.0 &
Q1.1 to reset call indicator
T37 V0.2 Q0.4
R
1
Q0.6
R
1
V0.2
R
1
Q0.7
R
1
Q1.0
R
2
6 / 11
ELEVATOR CONTROL SYSTEM (1) / MAIN (OB1)
Network 7 ground floor destination and call switch
groung floor. . I0 .3 ( de sti nat io n)+ I0.0 (call)switch ,
Q0.2 V0.0 V0.1 V0.2 I0.3 V0.0
/ / / S
1
I0.0 Q0.0
S
1
Q0.1
R
1
Q0.5
S
1
Q0.4
/ 7.A
Q0.3
/
V0.1
R
2
MOV_W Q0.2
7.A EN ENO S
3
61 IN OUT MW0
7 / 11
ELEVATOR CONTROL SYSTEM (1) / MAIN (OB1)
MOV_W Q0.2
EN ENO S
3
31 IN OUT MW0
Network 8 after reaching to ground floor
On reaching to Grounf floor, Q 0.2 (doo r open), Q 0. 5(ele vator down i nd ica to r off ), V 0.0( memory bit used logically), Q0 .7 , Q1 .0 &
Q1.1 to reset call indicator
T37 V0.0 Q0.2
R
1
Q0.5
R
1
V0.0
R
1
Q0.7
R
1
Q1.0
R
2
Network 9 ground floor call switch
Ground floor call switch
Q1.1 Q1.0 Q0.7 I0.0 Q0.7
/ / / S
1
Q1.0
R
2
8 / 11
ELEVATOR CONTROL SYSTEM (1) / MAIN (OB1)
Network 10 1st floor call switch
1st floor call switch
Q1.1 Q1.0 Q0.7 I0.1 Q1.0
/ / / S
1
Q0.7
R
1
Q1.1
R
1
Network 11 2nd floor call swtich
2nd floor call switch
Q1.1 Q1.0 Q0.7 I0.2 Q1.1
/ / / S
1
Q0.7
R
1
Q1.0
R
1
9 / 11
ELEVATOR CONTROL SYSTEM (1) / SBR_0 (SBR0)
Block: SBR_0
Author:
Created: 03/05/2018 02:12:29 pm
Last Modified: 03/05/2018 02:12:29 pm
Symbol Var Type Data Type Comment
EN IN BOOL
IN
IN_OUT
OUT
TEMP
SUBROUTINE COMMENTS
Network 1 Network Ti tle
Network Comment
10 / 11
ELEVATOR CONTROL SYSTEM (1) / INT_0 (INT0)
Block: INT_0
Author:
Created: 03/05/2018 02:12:29 pm
Last Modified: 03/05/2018 02:12:29 pm
Symbol Var Type Data Type Comment
TEMP
TEMP
TEMP
TEMP
INTERRUPT ROUTINE COMMENTS
Network 1 Network Ti tle
Network Comment
11 / 11