SlideShare a Scribd company logo
1 of 7
Download to read offline
ISE 716 Prafulla Kumar Shahi
Semester Project Phase I 16-Apr-15
List of input/output parameters and internal relays/timers:
Parameter Address
Input
Emergency Stop Local 2:I Data[1].0
Start Local 2:I Data[1].1
Door Local 2:I Data[1].2
Flip-table Local 2:I Data[1].3
Present in shower Local 2:I Data[1].4
Dropping door Local 2:I Data[1].5
Reset Local 2:I Data[1].6
Output
Springing Process X1 Local 2:O Data[0].0
T-Shirt removing process X2 Local 2:O Data[0].1
Trouser removing process X3Local 2:O Data[0].2
Shower ready process X4 Local 2:O Data[0].3
Triumphant Music play X5 Local 2:O Data[0].4
Trouser dressing process X6 Local 2:O Data[0].5
Body Flipping process X7 Local 2:O Data[0].6
T-Shirt dressing process X8 Local 2:O Data[0].7
Emergency Stop Light Local 2:O Data[0].8
Reset Whole System Light Local 2:O Data[0].9
Internal relays Name
Present_shower_relay
Reset_PB_relay
Start_PB_relay
Flip_table_relay
ESRelay
Dropping_door_relay
Door_relay
Timers Name Time (ms)
Door timer Door_timer 1000
Flip table Flip_table 1000
Shower time Shower_ready 15000
Completion of shower Triumphant_music 3000
Dressing trouser Trouser_dressing 1000
Body flipping (internal timer)Body_flipping 1000
Dressing T-shirt Tshirt_dressing 3000
Counter Max count
Count 5
ISE 716 Prafulla Kumar Shahi
Semester Project Phase I 16-Apr-15
Objective:
To develop the ladder logic diagram for Calvin’s Automation machine.
NOTE: Logic of push-button and trigger inputs:
- Since the Start and Reset buttons are push-buttons, I have used internal relays to simulate a push-button.
This would mean that the buttons have to go off and come on again in order for the input to be registered
again. In some rungs, I have used a 0-1 transition to give an output of 1, for example in rung 10. In some
rungs I have used a 0-1 transition to give an output of 0, for example in rung 16.
- The other inputs in the system are mostly trigger inputs, similar to a push-button. I have used a similar logic
to simulate their inputs. Again, the buttons have to go off and come on again in order for the inputs to be
registered again.
Assumptions and operational Logic:
- I have made a few changes to the logic in order for the simulation to run a little more smoothly.
- At each step as the actuator goes ON, the previous step actuator goes OFF. Similarly, as the timer for each
step finishes, the output for that step goes OFF.
- As Calvin comes out of the trouser removal process, he has to actually move to the shower for the shower
ready process X4 (output 3) to start. For this, there are two different methods, one is to have an open loop
feedback where a timer will trigger the next event. Another method is to have a closed loop feedback where
the next position is sensed by an additional sensor which triggers the next event. I have added a sensor
“Present in Shower” (input 4), which when turned on, serves as a trigger input for the Shower ready process.
It also turns OFF the previous “Trouser removal process” (output 2).
- Similarly, I have added a timer of 1000 ms in the “Body Flipping process” as an open feedback of the position.
After 1000 ms, I have assumed that the machine will have flipped Calvin to the desired new position. This
timer serves a trigger input for the T-Shirt dressing process. It also switches OFF the previous “Trouser
dressing” process.
- Below I have highlighted the series of steps:
1. Initially give the start at input 1. Springing process X1 (output 0) starts.
2. Then give the Door Y1 at input 2. 1 second later t-shirt removing process (output 1) comes ON.
Output 0 goes OFF.
3. Then give the flip-table Y2 at input 3. 1 second later trouser removing process (output 2) comes ON.
Output 1 goes OFF.
4. Then give the Present in shower at input 4. The shower ready process (output 3) comes ON for 15
sec. Output 2 goes OFF.
5. After this the triumphant music plays (output 4) for 3 sec and output 3 goes OFF.
6. Then give the dropping-door at input 5. The trouser dressing process (output 5) comes ON. Output 4
goes OFF.
7. One second later body flipping process output 6 comes ON and the output 5 goes OFF. After 1 sec,
the process is completed and the output 6 goes OFF.
8. After this, the T-shirt dressing process (output 7) comes ON for 3 sec and then goes OFF. The counter
then increments by 1.
- At any time, if the Emergency stop (input 0) is pressed, the Emergency Stop light 8 comes ON and all processes
are stopped.
- If the counter reaches 5, the output light 9 comes ON asking to reset the system.
- Anytime the Reset button (input 6) is pressed, all processes come to their default initial position, i.e. stopped
position and all timers and counters get reset. The emergency light, if ON, goes OFF.
ISE 716 Prafulla Kumar Shahi
Semester Project Phase I 16-Apr-15
- As Emergency stop is no longer ON after Reset button is pressed, I have used the Emergency stop like a virtual
push-button. It may not be so in its physical application. To stop the system again in Emergency stop mode,
press the Emergency stop button (input 0) so as to bring a 0-1 transition of input 0.
- To start the system after one run or after pressing the Reset button, press the Start button (input 1) so as to
bring a 0-1 transition of input 1.
- All inputs have to be transitioned from 0-1 in order to be trigger their following events.
Running the ladder logic:
1. The Emulator is to be placed in Slot 1.
2. 1756-MODULE simulator_card is to be placed in Slot 2.
3. On starting simulation in test mode, all lights are off. Press the Start button to start the simulation and apply
different inputs depending on the situation to get different outputs.
4. Press the Emergency Stop to stop all processes and reset button to remove the emergency stop.
mmmmmmmmmmmmmmmmmmmmmmmmmmmm m1mmmm1
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm MMMMMMMMMMMmMMmMMMMm
mmmm1Mm1m1mmMm1Mm1mmmMmmMmm1mmmmmMMM DmDDmmmmDDmDmDmDDmDm1mmDmDmmmmmmmmmmmmmmmDMDD
0m0mmm0MMMMM
ggggggggg
0
gttgt
111t1111111ttt11111 gttgtyyyygy1ty
ggggggggg1yg11y11111
111t1111011ttt10110
/
ppyggyg1y1gt1g
111t1111011ttt10118
/
my1yt1mm11y1gy1typ
111t1111011ttt10119
/
111g
111t1111111ttt11111
/
111gygy1ty
/
my1yt
111t1111111ttt11116
my1ytyyyygy1ty
ggggggggg1yg11y11111
111t1111011ttt10110
ggggggggg
1 /
gttgt
111t1111111ttt11111 gttgtyyyygy1ty
gg1mggt1gyp1gggg
1
111g
111t1111111ttt11111 111gygy1ty
111gytgpyg1gg
/
ppyggyg1y1gt1g
111t1111011ttt10118
/
my1yt1mm11y1gy1typ
111t1111011ttt10119
/
e1gggtte1y
111t1111111ttt11113
/
e1ggytte1yygy1ty
pN
1N
ggpyg10g11y1ty
ggpyg 111gytgpyg
ygy1yt 1000
m11mp 0
g0N
gg1mggt1gyp1gggg
3 /
111g
111t1111111ttt11111 111gygy1ty
4
111gytgpyg11N
gg1mggt1gyp1gggg1
gg11y11111
111t1111011ttt10111
/
ppyggyg1y1gt1g
111t1111011ttt10118
/
my1yt1mm11y1gy1typ
111t1111011ttt10119
/
e1gggtte1y
111t1111111ttt11113
/
e1ggytte1yygy1ty
/
my1yt
111t1111111ttt11116
my1ytyyyygy1ty
gg1mggt1gyp1gggg1
gg11y11111
111t1111011ttt10111
5
e1gggtte1y
111t1111111ttt11113 e1ggytte1yygy1ty
e1ggytte1y1gg
/
ppyggyg1y1gt1g
111t1111011ttt10118
/
my1yt1mm11y1gy1typ
111t1111011ttt10119
pN
1N
ggpyg10g11y1ty
ggpyg e1ggytte1y
ygy1yt 1000
m11mp 0
g0N
6 /
e1gggtte1y
111t1111111ttt11113 e1ggytte1yygy1ty
mmmmmmmmmmmmmmmmmmmmmmmmmmmm m1mmmm2
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm MMMMMMMMMMMmMMmMMMMm
mmmm1Mm1m1mmMm1Mm1mmmMmmMmm1mmmmmMMM DmDDmmmmDDmDmDmDDmDm1mmDmDmmmmmmmmmmmmmmmDMDD
0m0mmm0MMMMM
gg1m1yg1gyp1gggg
7
e1ggytte1y11N
gg1m1yg1gyp1gggg1
gg11y11113
111t1111011ttt10111
/
ygy1ygt1gg1gm1ryg
111t1111111ttt11114
/
ygy1ygty1m1rygygy1ty
/
ppyggyg1y1gt1g
111t1111011ttt10118
/
my1yt1mm11y1gy1typ
111t1111011ttt10119
/
my1yt
111t1111111ttt11116
my1ytyyyygy1ty
gg1m1yg1gyp1gggg1
gg11y11113
111t1111011ttt10111
gg1m1yg1gyp1gggg
gm1ryg1gytsy1gg11y11
8
ygy1ygt1gg1gm1ryg
111t1111111ttt11114 ygy1ygty1m1rygygy1ty
gm1rygygytsy1gg
/
ppyggyg1y1gt1g
111t1111011ttt10118
/
my1yt1mm11y1gy1typ
111t1111011ttt10119
/
my1yt
111t1111111ttt11116
my1ytyyyygy1ty
gm1ryg1gytsy1gg11y111
14
111t1111011ttt10113
pN
1N
ggpyg10g11y1ty
ggpyg gm1rygygytsy
ygy1yt 15000
m11mp 0
g0N
gm1ryg1gytsy1gg11y11
9 /
ygy1ygt1gg1gm1ryg
111t1111111ttt11114 ygy1ygty1m1rygygy1ty
gggmpgmtgt1pm1g1
10
gm1rygygytsy11N
gggmpgmtgtypm1g11gg
/
ppyggyg1y1gt1g
111t1111011ttt10118
/
my1yt1mm11y1gy1typ
111t1111011ttt10119
/
my1yt
111t1111111ttt11116
my1ytyyyygy1ty
gggmpgmtgt1 m1g11
g1ty115
111t1111011ttt10114
pN
1N
ggpyg10g11y1ty
ggpyg gggmpgmtgtypm1g1
ygy1yt 3000
m11mp 0
g0N
gggmpgmtgt1pm1g1
mmmmmmmmmmmmmmmmmmmmmmmmmmmm m1mmmm3
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm MMMMMMMMMMMmMMmMMMMm
mmmm1Mm1m1mmMm1Mm1mmmMmmMmm1mmmmmMMM DmDDmmmmDDmDmDmDDmDm1mmDmDmmmmmmmmmmmmmmmDMDD
0m0mmm0MMMMM
gg1m1yg1sgy11ggg
11
1g1ggggg1s11g
111t1111111ttt11115 1g1gggggys11gygy1ty
gg1m1ygysgy11ggg1gg
/
ppyggyg1y1gt1g
111t1111011ttt10118
/
my1yt1mm11y1gy1typ
111t1111011ttt10119
/
my1yt
111t1111111ttt11116
my1ytyyyygy1ty
gg1m1yg1sgy11ggg1
gg11y11116
111t1111011ttt10115
pN
1N
ggpyg10g11y1ty
ggpyg gg1m1ygysgy11ggg
ygy1yt 1000
m11mp 0
g0N
gg1m1yg1sgy11ggg
11 /
1g1ggggg1s11g
111t1111111ttt11115 1g1gggggys11gygy1ty
y1sy1g1gggggg
13
gg1m1ygysgy11ggg11N
1gtyggt1
y1syyg1gggggg1gg
/
ppyggyg1y1gt1g
111t1111011ttt10118
/
my1yt1mm11y1gy1typ
111t1111011ttt10119
/
my1yt
111t1111111ttt11116
my1ytyyyygy1ty
y1sy1g1gggggg1
gg11y11117
111t1111011ttt10116
pN
1N
ggpyg10g11y1ty
ggpyg y1syyg1gggggg
ygy1yt 1000
m11mp 0
g0N
1gtyggt1
y1sy1g1gggggg
gg1mggt1sgy11ggg
14
1gtyggt1
y1syyg1gggggg11N
g1mggtysgy11ggg1gg
/
ppyggyg1y1gt1g
111t1111011ttt10118
/
my1yt1mm11y1gy1typ
111t1111011ttt10119
/
my1yt
111t1111111ttt11116
my1ytyyyygy1ty
gg1mggt1sgy11ggg1
gg11y11118
111t1111011ttt10117
pN
1N
ggpyg10g11y1ty
ggpyg g1mggtysgy11ggg
ygy1yt 3000
m11mp 0
g0N
gg1mggt1sgy11ggg
mmmmmmmmmmmmmmmmmmmmmmmmmmmm m1mmmm4
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm MMMMMMMMMMMmMMmMMMMm
mmmm1Mm1m1mmMm1Mm1mmmMmmMmm1mmmmmMMM DmDDmmmmDDmDmDmDDmDm1mmDmDmmmmmmmmmmmmmmmDMDD
0m0mmm0MMMMM
15
g1mggtysgy11ggg11N
UU
1N
U1mgt1Ug
U1mgtyg U1mgt
ygy1yt 5
m11mp 0
UgU
16
U1mgt11N
my1yt1mm11y1gy1typ
111t1111011ttt10119
my1yt1mm11y1gy1typ
111t1111011ttt10119
17
ppyggyg1y1gt1g
111t1111111ttt11110 pgmy1ty
ppyggyg1y1gt1g
111t1111011ttt10118
/
my1yt
111t1111111ttt11116
my1ytyyyygy1ty
ppyggyg1y1gt1g
111t1111011ttt10118
18 /
ppyggyg1y1gt1g
111t1111111ttt11110 pgmy1ty
19
my1yt
111t1111111ttt11116
/
my1ytyyyygy1ty
mpg
e1ggytte1y
mpg
gm1rygygytsy
mpg
gggmpgmtgtypm1g1
mpg
gg1m1ygysgy11ggg
mpg
1gtyggt1
y1syyg1gggggg
mpg
g1mggtysgy11ggg
mpg
U1mgt
10
my1yt
111t1111111ttt11116 my1ytyyyygy1ty
)pgs)

More Related Content

What's hot

Side Swing Gate Opener Installation Manual
Side Swing Gate Opener Installation ManualSide Swing Gate Opener Installation Manual
Side Swing Gate Opener Installation ManualLeviWu1
 
Cataloge ge 3.control and_automation-21_vat300_e_c6-6-4_2_rev_a
Cataloge ge 3.control and_automation-21_vat300_e_c6-6-4_2_rev_aCataloge ge 3.control and_automation-21_vat300_e_c6-6-4_2_rev_a
Cataloge ge 3.control and_automation-21_vat300_e_c6-6-4_2_rev_aDien Ha The
 
Timer And Counter in 8051 Microcontroller
Timer And Counter in 8051 MicrocontrollerTimer And Counter in 8051 Microcontroller
Timer And Counter in 8051 MicrocontrollerJay Makwana
 
Basics of mechatronics - Arduino tutorial
Basics of mechatronics - Arduino tutorialBasics of mechatronics - Arduino tutorial
Basics of mechatronics - Arduino tutorialManasShrivastava6
 
PIC18 TIMER PROGRAMMING IN ASSEMBLY AND C
PIC18 TIMER PROGRAMMING IN ASSEMBLY AND CPIC18 TIMER PROGRAMMING IN ASSEMBLY AND C
PIC18 TIMER PROGRAMMING IN ASSEMBLY AND C raosandy11
 
20070903200911140 Eurok4 Tm 0719
20070903200911140 Eurok4 Tm 071920070903200911140 Eurok4 Tm 0719
20070903200911140 Eurok4 Tm 0719manxx
 
Fine movement occupancy sensor for HVAC and lighting control
Fine movement occupancy sensor for HVAC and lighting controlFine movement occupancy sensor for HVAC and lighting control
Fine movement occupancy sensor for HVAC and lighting controlPratik Jain
 

What's hot (8)

Side Swing Gate Opener Installation Manual
Side Swing Gate Opener Installation ManualSide Swing Gate Opener Installation Manual
Side Swing Gate Opener Installation Manual
 
Cataloge ge 3.control and_automation-21_vat300_e_c6-6-4_2_rev_a
Cataloge ge 3.control and_automation-21_vat300_e_c6-6-4_2_rev_aCataloge ge 3.control and_automation-21_vat300_e_c6-6-4_2_rev_a
Cataloge ge 3.control and_automation-21_vat300_e_c6-6-4_2_rev_a
 
Timer And Counter in 8051 Microcontroller
Timer And Counter in 8051 MicrocontrollerTimer And Counter in 8051 Microcontroller
Timer And Counter in 8051 Microcontroller
 
Basics of mechatronics - Arduino tutorial
Basics of mechatronics - Arduino tutorialBasics of mechatronics - Arduino tutorial
Basics of mechatronics - Arduino tutorial
 
ZERO100PU portable ultrasonic flow meter manual
ZERO100PU portable ultrasonic flow meter manualZERO100PU portable ultrasonic flow meter manual
ZERO100PU portable ultrasonic flow meter manual
 
PIC18 TIMER PROGRAMMING IN ASSEMBLY AND C
PIC18 TIMER PROGRAMMING IN ASSEMBLY AND CPIC18 TIMER PROGRAMMING IN ASSEMBLY AND C
PIC18 TIMER PROGRAMMING IN ASSEMBLY AND C
 
20070903200911140 Eurok4 Tm 0719
20070903200911140 Eurok4 Tm 071920070903200911140 Eurok4 Tm 0719
20070903200911140 Eurok4 Tm 0719
 
Fine movement occupancy sensor for HVAC and lighting control
Fine movement occupancy sensor for HVAC and lighting controlFine movement occupancy sensor for HVAC and lighting control
Fine movement occupancy sensor for HVAC and lighting control
 

Similar to Semester project report_Prafulla_Kumar_Shahi

Swinburne University of Technology Faculty of Science, E.docx
Swinburne University of Technology Faculty of Science, E.docxSwinburne University of Technology Faculty of Science, E.docx
Swinburne University of Technology Faculty of Science, E.docxmattinsonjanel
 
아두이노 Digital/Analog IO
아두이노 Digital/Analog IO아두이노 Digital/Analog IO
아두이노 Digital/Analog IOJungHoon Lee
 
Elements of Industrial Automation Week 08 Notes.pdf
Elements of Industrial Automation Week 08 Notes.pdfElements of Industrial Automation Week 08 Notes.pdf
Elements of Industrial Automation Week 08 Notes.pdfTHANMAY JS
 
POPP. 4-button remote control key Z-WAVE
POPP. 4-button remote control key Z-WAVEPOPP. 4-button remote control key Z-WAVE
POPP. 4-button remote control key Z-WAVEDomotica daVinci
 
A Presentation on Automatic conveyor belt system
A Presentation on Automatic conveyor belt systemA Presentation on Automatic conveyor belt system
A Presentation on Automatic conveyor belt systemDHRUVIT KHARADI
 
Kjr 29 b (termostato alam. fan coil)
Kjr 29 b (termostato alam. fan coil)Kjr 29 b (termostato alam. fan coil)
Kjr 29 b (termostato alam. fan coil)German Nava
 
For Loops and Nesting in Python
For Loops and Nesting in PythonFor Loops and Nesting in Python
For Loops and Nesting in Pythonprimeteacher32
 
Digital clock
Digital clockDigital clock
Digital clockAbi Malik
 
PLC programming example - Paint Spray
PLC programming example - Paint SprayPLC programming example - Paint Spray
PLC programming example - Paint SprayACC Automation
 
PLC unit 3 lab Brett Bloomberg-1
PLC unit 3 lab Brett Bloomberg-1PLC unit 3 lab Brett Bloomberg-1
PLC unit 3 lab Brett Bloomberg-1Brett Bloomberg
 
Display saune-finlandese-eng
Display saune-finlandese-engDisplay saune-finlandese-eng
Display saune-finlandese-engVincenzoMaugeri2
 

Similar to Semester project report_Prafulla_Kumar_Shahi (20)

Swinburne University of Technology Faculty of Science, E.docx
Swinburne University of Technology Faculty of Science, E.docxSwinburne University of Technology Faculty of Science, E.docx
Swinburne University of Technology Faculty of Science, E.docx
 
아두이노 Digital/Analog IO
아두이노 Digital/Analog IO아두이노 Digital/Analog IO
아두이노 Digital/Analog IO
 
Baggage Handling System
Baggage Handling SystemBaggage Handling System
Baggage Handling System
 
Elements of Industrial Automation Week 08 Notes.pdf
Elements of Industrial Automation Week 08 Notes.pdfElements of Industrial Automation Week 08 Notes.pdf
Elements of Industrial Automation Week 08 Notes.pdf
 
POPP. 4-button remote control key Z-WAVE
POPP. 4-button remote control key Z-WAVEPOPP. 4-button remote control key Z-WAVE
POPP. 4-button remote control key Z-WAVE
 
A Presentation on Automatic conveyor belt system
A Presentation on Automatic conveyor belt systemA Presentation on Automatic conveyor belt system
A Presentation on Automatic conveyor belt system
 
Microcontroller part 5
Microcontroller part 5Microcontroller part 5
Microcontroller part 5
 
Ch6 v70 sfc_en
Ch6 v70 sfc_enCh6 v70 sfc_en
Ch6 v70 sfc_en
 
Kjr 29 b (termostato alam. fan coil)
Kjr 29 b (termostato alam. fan coil)Kjr 29 b (termostato alam. fan coil)
Kjr 29 b (termostato alam. fan coil)
 
For Loops and Nesting in Python
For Loops and Nesting in PythonFor Loops and Nesting in Python
For Loops and Nesting in Python
 
Digital clock
Digital clockDigital clock
Digital clock
 
Pcb automatic vaccum loader user guidance | SunzonTech
Pcb automatic vaccum loader user guidance | SunzonTechPcb automatic vaccum loader user guidance | SunzonTech
Pcb automatic vaccum loader user guidance | SunzonTech
 
Industrial Automation Using B&R PLC.
Industrial Automation Using B&R PLC.Industrial Automation Using B&R PLC.
Industrial Automation Using B&R PLC.
 
PLC programming example - Paint Spray
PLC programming example - Paint SprayPLC programming example - Paint Spray
PLC programming example - Paint Spray
 
PEL_Automation
PEL_AutomationPEL_Automation
PEL_Automation
 
Philio_pan08_manual
Philio_pan08_manualPhilio_pan08_manual
Philio_pan08_manual
 
Project on PLC (SILO)
Project on PLC (SILO)Project on PLC (SILO)
Project on PLC (SILO)
 
PLC unit 3 lab Brett Bloomberg-1
PLC unit 3 lab Brett Bloomberg-1PLC unit 3 lab Brett Bloomberg-1
PLC unit 3 lab Brett Bloomberg-1
 
LOC_LOS.pdf
LOC_LOS.pdfLOC_LOS.pdf
LOC_LOS.pdf
 
Display saune-finlandese-eng
Display saune-finlandese-engDisplay saune-finlandese-eng
Display saune-finlandese-eng
 

More from Prafulla Kumar Shahi

More from Prafulla Kumar Shahi (7)

ISE716 Semester Project Final Report final with appendix
ISE716 Semester Project Final Report final with appendixISE716 Semester Project Final Report final with appendix
ISE716 Semester Project Final Report final with appendix
 
IMSE report-Prafulla Shahi
IMSE report-Prafulla ShahiIMSE report-Prafulla Shahi
IMSE report-Prafulla Shahi
 
SCgame2
SCgame2SCgame2
SCgame2
 
Summary
SummarySummary
Summary
 
Case study 1
Case study 1Case study 1
Case study 1
 
Case Study 2 _PrafullaKumarShahi
Case Study 2 _PrafullaKumarShahiCase Study 2 _PrafullaKumarShahi
Case Study 2 _PrafullaKumarShahi
 
Case Study 1_PrafullaKumarShahi_FaryalQasim
Case Study 1_PrafullaKumarShahi_FaryalQasimCase Study 1_PrafullaKumarShahi_FaryalQasim
Case Study 1_PrafullaKumarShahi_FaryalQasim
 

Semester project report_Prafulla_Kumar_Shahi

  • 1. ISE 716 Prafulla Kumar Shahi Semester Project Phase I 16-Apr-15 List of input/output parameters and internal relays/timers: Parameter Address Input Emergency Stop Local 2:I Data[1].0 Start Local 2:I Data[1].1 Door Local 2:I Data[1].2 Flip-table Local 2:I Data[1].3 Present in shower Local 2:I Data[1].4 Dropping door Local 2:I Data[1].5 Reset Local 2:I Data[1].6 Output Springing Process X1 Local 2:O Data[0].0 T-Shirt removing process X2 Local 2:O Data[0].1 Trouser removing process X3Local 2:O Data[0].2 Shower ready process X4 Local 2:O Data[0].3 Triumphant Music play X5 Local 2:O Data[0].4 Trouser dressing process X6 Local 2:O Data[0].5 Body Flipping process X7 Local 2:O Data[0].6 T-Shirt dressing process X8 Local 2:O Data[0].7 Emergency Stop Light Local 2:O Data[0].8 Reset Whole System Light Local 2:O Data[0].9 Internal relays Name Present_shower_relay Reset_PB_relay Start_PB_relay Flip_table_relay ESRelay Dropping_door_relay Door_relay Timers Name Time (ms) Door timer Door_timer 1000 Flip table Flip_table 1000 Shower time Shower_ready 15000 Completion of shower Triumphant_music 3000 Dressing trouser Trouser_dressing 1000 Body flipping (internal timer)Body_flipping 1000 Dressing T-shirt Tshirt_dressing 3000 Counter Max count Count 5
  • 2. ISE 716 Prafulla Kumar Shahi Semester Project Phase I 16-Apr-15 Objective: To develop the ladder logic diagram for Calvin’s Automation machine. NOTE: Logic of push-button and trigger inputs: - Since the Start and Reset buttons are push-buttons, I have used internal relays to simulate a push-button. This would mean that the buttons have to go off and come on again in order for the input to be registered again. In some rungs, I have used a 0-1 transition to give an output of 1, for example in rung 10. In some rungs I have used a 0-1 transition to give an output of 0, for example in rung 16. - The other inputs in the system are mostly trigger inputs, similar to a push-button. I have used a similar logic to simulate their inputs. Again, the buttons have to go off and come on again in order for the inputs to be registered again. Assumptions and operational Logic: - I have made a few changes to the logic in order for the simulation to run a little more smoothly. - At each step as the actuator goes ON, the previous step actuator goes OFF. Similarly, as the timer for each step finishes, the output for that step goes OFF. - As Calvin comes out of the trouser removal process, he has to actually move to the shower for the shower ready process X4 (output 3) to start. For this, there are two different methods, one is to have an open loop feedback where a timer will trigger the next event. Another method is to have a closed loop feedback where the next position is sensed by an additional sensor which triggers the next event. I have added a sensor “Present in Shower” (input 4), which when turned on, serves as a trigger input for the Shower ready process. It also turns OFF the previous “Trouser removal process” (output 2). - Similarly, I have added a timer of 1000 ms in the “Body Flipping process” as an open feedback of the position. After 1000 ms, I have assumed that the machine will have flipped Calvin to the desired new position. This timer serves a trigger input for the T-Shirt dressing process. It also switches OFF the previous “Trouser dressing” process. - Below I have highlighted the series of steps: 1. Initially give the start at input 1. Springing process X1 (output 0) starts. 2. Then give the Door Y1 at input 2. 1 second later t-shirt removing process (output 1) comes ON. Output 0 goes OFF. 3. Then give the flip-table Y2 at input 3. 1 second later trouser removing process (output 2) comes ON. Output 1 goes OFF. 4. Then give the Present in shower at input 4. The shower ready process (output 3) comes ON for 15 sec. Output 2 goes OFF. 5. After this the triumphant music plays (output 4) for 3 sec and output 3 goes OFF. 6. Then give the dropping-door at input 5. The trouser dressing process (output 5) comes ON. Output 4 goes OFF. 7. One second later body flipping process output 6 comes ON and the output 5 goes OFF. After 1 sec, the process is completed and the output 6 goes OFF. 8. After this, the T-shirt dressing process (output 7) comes ON for 3 sec and then goes OFF. The counter then increments by 1. - At any time, if the Emergency stop (input 0) is pressed, the Emergency Stop light 8 comes ON and all processes are stopped. - If the counter reaches 5, the output light 9 comes ON asking to reset the system. - Anytime the Reset button (input 6) is pressed, all processes come to their default initial position, i.e. stopped position and all timers and counters get reset. The emergency light, if ON, goes OFF.
  • 3. ISE 716 Prafulla Kumar Shahi Semester Project Phase I 16-Apr-15 - As Emergency stop is no longer ON after Reset button is pressed, I have used the Emergency stop like a virtual push-button. It may not be so in its physical application. To stop the system again in Emergency stop mode, press the Emergency stop button (input 0) so as to bring a 0-1 transition of input 0. - To start the system after one run or after pressing the Reset button, press the Start button (input 1) so as to bring a 0-1 transition of input 1. - All inputs have to be transitioned from 0-1 in order to be trigger their following events. Running the ladder logic: 1. The Emulator is to be placed in Slot 1. 2. 1756-MODULE simulator_card is to be placed in Slot 2. 3. On starting simulation in test mode, all lights are off. Press the Start button to start the simulation and apply different inputs depending on the situation to get different outputs. 4. Press the Emergency Stop to stop all processes and reset button to remove the emergency stop.
  • 4. mmmmmmmmmmmmmmmmmmmmmmmmmmmm m1mmmm1 mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm MMMMMMMMMMMmMMmMMMMm mmmm1Mm1m1mmMm1Mm1mmmMmmMmm1mmmmmMMM DmDDmmmmDDmDmDmDDmDm1mmDmDmmmmmmmmmmmmmmmDMDD 0m0mmm0MMMMM ggggggggg 0 gttgt 111t1111111ttt11111 gttgtyyyygy1ty ggggggggg1yg11y11111 111t1111011ttt10110 / ppyggyg1y1gt1g 111t1111011ttt10118 / my1yt1mm11y1gy1typ 111t1111011ttt10119 / 111g 111t1111111ttt11111 / 111gygy1ty / my1yt 111t1111111ttt11116 my1ytyyyygy1ty ggggggggg1yg11y11111 111t1111011ttt10110 ggggggggg 1 / gttgt 111t1111111ttt11111 gttgtyyyygy1ty gg1mggt1gyp1gggg 1 111g 111t1111111ttt11111 111gygy1ty 111gytgpyg1gg / ppyggyg1y1gt1g 111t1111011ttt10118 / my1yt1mm11y1gy1typ 111t1111011ttt10119 / e1gggtte1y 111t1111111ttt11113 / e1ggytte1yygy1ty pN 1N ggpyg10g11y1ty ggpyg 111gytgpyg ygy1yt 1000 m11mp 0 g0N gg1mggt1gyp1gggg 3 / 111g 111t1111111ttt11111 111gygy1ty 4 111gytgpyg11N gg1mggt1gyp1gggg1 gg11y11111 111t1111011ttt10111 / ppyggyg1y1gt1g 111t1111011ttt10118 / my1yt1mm11y1gy1typ 111t1111011ttt10119 / e1gggtte1y 111t1111111ttt11113 / e1ggytte1yygy1ty / my1yt 111t1111111ttt11116 my1ytyyyygy1ty gg1mggt1gyp1gggg1 gg11y11111 111t1111011ttt10111 5 e1gggtte1y 111t1111111ttt11113 e1ggytte1yygy1ty e1ggytte1y1gg / ppyggyg1y1gt1g 111t1111011ttt10118 / my1yt1mm11y1gy1typ 111t1111011ttt10119 pN 1N ggpyg10g11y1ty ggpyg e1ggytte1y ygy1yt 1000 m11mp 0 g0N 6 / e1gggtte1y 111t1111111ttt11113 e1ggytte1yygy1ty
  • 5. mmmmmmmmmmmmmmmmmmmmmmmmmmmm m1mmmm2 mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm MMMMMMMMMMMmMMmMMMMm mmmm1Mm1m1mmMm1Mm1mmmMmmMmm1mmmmmMMM DmDDmmmmDDmDmDmDDmDm1mmDmDmmmmmmmmmmmmmmmDMDD 0m0mmm0MMMMM gg1m1yg1gyp1gggg 7 e1ggytte1y11N gg1m1yg1gyp1gggg1 gg11y11113 111t1111011ttt10111 / ygy1ygt1gg1gm1ryg 111t1111111ttt11114 / ygy1ygty1m1rygygy1ty / ppyggyg1y1gt1g 111t1111011ttt10118 / my1yt1mm11y1gy1typ 111t1111011ttt10119 / my1yt 111t1111111ttt11116 my1ytyyyygy1ty gg1m1yg1gyp1gggg1 gg11y11113 111t1111011ttt10111 gg1m1yg1gyp1gggg gm1ryg1gytsy1gg11y11 8 ygy1ygt1gg1gm1ryg 111t1111111ttt11114 ygy1ygty1m1rygygy1ty gm1rygygytsy1gg / ppyggyg1y1gt1g 111t1111011ttt10118 / my1yt1mm11y1gy1typ 111t1111011ttt10119 / my1yt 111t1111111ttt11116 my1ytyyyygy1ty gm1ryg1gytsy1gg11y111 14 111t1111011ttt10113 pN 1N ggpyg10g11y1ty ggpyg gm1rygygytsy ygy1yt 15000 m11mp 0 g0N gm1ryg1gytsy1gg11y11 9 / ygy1ygt1gg1gm1ryg 111t1111111ttt11114 ygy1ygty1m1rygygy1ty gggmpgmtgt1pm1g1 10 gm1rygygytsy11N gggmpgmtgtypm1g11gg / ppyggyg1y1gt1g 111t1111011ttt10118 / my1yt1mm11y1gy1typ 111t1111011ttt10119 / my1yt 111t1111111ttt11116 my1ytyyyygy1ty gggmpgmtgt1 m1g11 g1ty115 111t1111011ttt10114 pN 1N ggpyg10g11y1ty ggpyg gggmpgmtgtypm1g1 ygy1yt 3000 m11mp 0 g0N gggmpgmtgt1pm1g1
  • 6. mmmmmmmmmmmmmmmmmmmmmmmmmmmm m1mmmm3 mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm MMMMMMMMMMMmMMmMMMMm mmmm1Mm1m1mmMm1Mm1mmmMmmMmm1mmmmmMMM DmDDmmmmDDmDmDmDDmDm1mmDmDmmmmmmmmmmmmmmmDMDD 0m0mmm0MMMMM gg1m1yg1sgy11ggg 11 1g1ggggg1s11g 111t1111111ttt11115 1g1gggggys11gygy1ty gg1m1ygysgy11ggg1gg / ppyggyg1y1gt1g 111t1111011ttt10118 / my1yt1mm11y1gy1typ 111t1111011ttt10119 / my1yt 111t1111111ttt11116 my1ytyyyygy1ty gg1m1yg1sgy11ggg1 gg11y11116 111t1111011ttt10115 pN 1N ggpyg10g11y1ty ggpyg gg1m1ygysgy11ggg ygy1yt 1000 m11mp 0 g0N gg1m1yg1sgy11ggg 11 / 1g1ggggg1s11g 111t1111111ttt11115 1g1gggggys11gygy1ty y1sy1g1gggggg 13 gg1m1ygysgy11ggg11N 1gtyggt1 y1syyg1gggggg1gg / ppyggyg1y1gt1g 111t1111011ttt10118 / my1yt1mm11y1gy1typ 111t1111011ttt10119 / my1yt 111t1111111ttt11116 my1ytyyyygy1ty y1sy1g1gggggg1 gg11y11117 111t1111011ttt10116 pN 1N ggpyg10g11y1ty ggpyg y1syyg1gggggg ygy1yt 1000 m11mp 0 g0N 1gtyggt1 y1sy1g1gggggg gg1mggt1sgy11ggg 14 1gtyggt1 y1syyg1gggggg11N g1mggtysgy11ggg1gg / ppyggyg1y1gt1g 111t1111011ttt10118 / my1yt1mm11y1gy1typ 111t1111011ttt10119 / my1yt 111t1111111ttt11116 my1ytyyyygy1ty gg1mggt1sgy11ggg1 gg11y11118 111t1111011ttt10117 pN 1N ggpyg10g11y1ty ggpyg g1mggtysgy11ggg ygy1yt 3000 m11mp 0 g0N gg1mggt1sgy11ggg
  • 7. mmmmmmmmmmmmmmmmmmmmmmmmmmmm m1mmmm4 mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm MMMMMMMMMMMmMMmMMMMm mmmm1Mm1m1mmMm1Mm1mmmMmmMmm1mmmmmMMM DmDDmmmmDDmDmDmDDmDm1mmDmDmmmmmmmmmmmmmmmDMDD 0m0mmm0MMMMM 15 g1mggtysgy11ggg11N UU 1N U1mgt1Ug U1mgtyg U1mgt ygy1yt 5 m11mp 0 UgU 16 U1mgt11N my1yt1mm11y1gy1typ 111t1111011ttt10119 my1yt1mm11y1gy1typ 111t1111011ttt10119 17 ppyggyg1y1gt1g 111t1111111ttt11110 pgmy1ty ppyggyg1y1gt1g 111t1111011ttt10118 / my1yt 111t1111111ttt11116 my1ytyyyygy1ty ppyggyg1y1gt1g 111t1111011ttt10118 18 / ppyggyg1y1gt1g 111t1111111ttt11110 pgmy1ty 19 my1yt 111t1111111ttt11116 / my1ytyyyygy1ty mpg e1ggytte1y mpg gm1rygygytsy mpg gggmpgmtgtypm1g1 mpg gg1m1ygysgy11ggg mpg 1gtyggt1 y1syyg1gggggg mpg g1mggtysgy11ggg mpg U1mgt 10 my1yt 111t1111111ttt11116 my1ytyyyygy1ty )pgs)