Đang tải... (xem toàn văn)
Report of PLC module for third Station in Practice of Industrial robots and sensors. This report include format , PLC code for station and I/O address , block diagram.
Trang 1Ministry of Education and Training
HCMC University of Technology and EducationFaculty of International Education
GROUP 01:
1 Pham Duc Khiem - 211464002 Vu Duc Huy - 211463953.Nguyen Dang Duy– 21146377
4 Li Duy Khang - 21146397
Trang 2Table of Contents:
I.Station Overview ……….……… …
4II.List of equipments, Function of the devices………….…….5
2.1.Devices Table……….…….5
III Devices Wiring Diagram……… …………9
IV PLC and I/O addresses Table……….10
VI.PLC and HMI Programming of the Station…….……….12
6.1.PLC program with Tia Portal V15……….12
6.2.HMI programming……….………17
VII.Maintenance Schedule for the Station………… ………19
2
Trang 3List of Figures:
Fig 1 Glue station overview……… 4
Fig 2 PLC S7-1200, CPU 1214C-DC/DC/DC……… …6
Fig 3 SamKool HMI Screen……….6
Fig 4 Proximity Sensor 1,2……… 7
Fig 5 Proximity Sensor 3……… 8
Fig 6 Main conveyor……….…… 8
Fig 7 Cylinder retract……….…………9
Fig 8 Connection Diagram of the Station……….…………10
Fig 9 Control flowchart for the station……… …… 11
Fig 10 Hardware Setup for the Station……… …… 12
Fig 11.Enter the IP of HMI……… ……17
Fig 12 HMI display to control the station……… 18
Trang 4I Station Overview
- The third station in the lab is the glue station for the beverage, it consists ofthree conveyors, sensors to detect objects, a cylinder, mechanical system,the HMI screen and a PLC to control the whole station.
- Operational Description : First when we start, the proximity sensor detectsthe bottle from the previous station, then wait for the sensor 2 to detectedthe bottle If both have signal, the motor will start to run the main conveyorand two sided conveyor belts on until receives the signal of the sensor 3,the conveyor will stop for 750ms The cylinder extend to controls the pushbar closes the last piece of cardboard of the carton, three others pieces areclosed by mechanical system Then delay for 100ms, the cylinder retractand the main conveyor on to transport the carton glued by mechanicalsystem and produce the completed product.
4
Trang 5Fig 1 Glue station overview
II List of equipments, Function of the devices
- The experimental station concludes several equipments : Conveyors, thecylinder, sensors, HMI screen, VFD system and PLC.
Speed: About 5m/min
Trang 62.2.Function of the devices
+ PLC S7-1200, CPU 1214C-DC/DC/DC: The main controller to controlsthe whole system in the station
Fig 2 PLC S7-1200, CPU 1214C-DC/DC/DC
+ Sam Kool HMI screen: To displays the programming HMI and help to controls the system through our PLC program.
6
Trang 7Fig 3 SamKool HMI Screen
+ Proximity Sensors: To detect objects and receives signal contribute tocontrol the system.
Trang 8Fig 4 Proximity Sensor 1,2
Fig 5 Proximity Sensor 3
+ Conveyors: Run by motors by connecting it to VFD systems, control the speed of conveyors through PLC program.
8
Trang 9Fig 6 Main conveyor
+ Cylinder: One of actuators in the system, to controls the push bar closes the last piece of cardboard of the carton.
Fig 7 Cylinder retract.
III Devices Wiring Diagram
- The connection of the station with PLC and other devices With 7 inputs( 2 buttons , 5 sensors) and 5 outputs are wired as below :
Trang 10Fig 8 Connection Diagram of the Station
IV PLC and I/O addresses Table
No.Devices/Description InitialStatus
Input/ OutputPLC
12 Inverse 2 sidedconveyor
Q0.4 Output
V Control Flowchart for the station
10
Trang 11Fig 9 Control flowchart for the station
Trang 12Fig 10 Hardware Setup for the Station
- Afterward, to program, navigate to the "Program Blocks" section andproceed to write the desired program in the "Main" block.
- We assign the Start/Stop button to M1.6 and M1.7 variables respectively.
- This two variables control M1.0 is also the variable controls the total logicof the program.
12
Trang 13- When input M1.0 is activated, along with the feedback signal from I0.4,and with Timer 1 set to "Timer Off," it will affect output M0.0, whichcontrols the main conveyor, and M0.2, which controls the side conveyors ofthe system Variables M0.0 and M0.2 use to maintain the signal.
- In the lower branch, when input M1.0 is activated, along with the sensorsignal from I0.4, it triggers a timer to run for 50 seconds until the conveyorstops.
Trang 14converter to increase the frequency, ensuring that the time taken to reach thepackaging stage on the side conveyors is the fastest.
- The conveyor runs until the signal from sensor I1.3 is received After that,Timer 2 is triggered to run for 750ms, and then the main conveyor stops Atthe same time, the frequency converter is controlled to ensure that the mainmotor and the side conveyor motors run at the same speed range for thenext 11 seconds Afterward, Timer 4 is interrupted.
14
Trang 15- When M1.0 is activated along with T2.Q being counted in the upperbranch, it affects variable M0.3, which controls the downward motion of thecylinder When the limit switch 1.1 is triggered upon contact, it activatesTimer 3 to count for 100ms Afterward, it automatically interrupts M0.3 tocontrol the retraction of the cylinder.
- When the retracting cylinder touches the limit switch I1.2, it will affectvariable M0.6, which controls the main conveyor If there is a signal fromsensor I0.4, M0.6 will be interrupted, and the conveyor will resume runningat the previously set speed.
Trang 16- M0.0 and M0.6 are used to control the main conveyor, while variableM1.1 is used to control the manual mode on the HMI
16
Trang 17- Variables M0.2 and M0.3 are used to control the side conveyors and thescraping cylinder, respectively M1.3 and M1.4 are used to control thesystem in manual mode.
- Variable M1.0 is used to prevent signal duplication when inputting speedon the HMI in auto mode.
6.2 HMI programming
- In the step of uploading the project file (TCP/IP), it is necessary to enterthe correct address of the HMI screen in order to establish a connection anddisplay on the screen After that we save and choose expect path.
Fig 11.Enter the IP of HMI
- To connect and display on the HMI screen, we establish correspondingconnections between inputs and outputs from Tia Portal for the desiredbuttons, sliders, and icons in the SK Tool software Below is an image ofour HMI interface:
Trang 18Fig 12 HMI display to control the station
- As we can see on the screen, there are two buttons, "Auto On/Off," to switchbetween the "Auto" and "Manual" modes There is also a "Reset" button toreset all actuators to their initial state.
- The speed control slider allows manual input of values on the screen from 0to 27700 Additionally, there are two limit switches, S1 and S2, for the cylinderlight.
- The manual control buttons below allow manual control of the main conveyorand its direction, the side conveyors, and the push cylinder They also indicatethe status of the sensors by illuminating the corresponding lights.
18
Trang 19VII Maintenance Schedule for the Station
NoDevicesMaintenance Period Tasks
1 Main Conveyor
About 1000 hours
Clean, Lubricate, BeltInspection andreplacement