0 evaluări0% au considerat acest document util (0 voturi)
24 vizualizări10 pagini
The whole procedure can only be started by the start switch!hereafter, the whole procedure cannot be started until the Limit Switch (LSW) is being activated.
The whole procedure can only be started by the start switch!hereafter, the whole procedure cannot be started until the Limit Switch (LSW) is being activated.
The whole procedure can only be started by the start switch!hereafter, the whole procedure cannot be started until the Limit Switch (LSW) is being activated.
When all the PCBs have been pushed onto the conveyor belt, the lifter motor will move down until the limit switch (LSW) is being activated !hereafter, the whole procedure can only be started by the start switch I/O Assignment Input Device Output Device """"" Start Push Button "#""" Conveyor motor """"# Stop Push Button "#""# $p Lifter motor """"% &S# (Left Limit) "#""% &ight piston """"' &S% (&ight Limit) "#""' Left piston """"( Pro)imity Switch "#""( *own lifter motor """"+ &eset """", Limit Switch ,-+" 6. APPLICATION EXAMPLES OF BASIC COMMANDS Ladder diagram . /ain # 0etwor1 # /ain# 2 PCB pac1ing conveyor program utilising (Conventional method) 0etwor1 # 2 Start 3 Stop control 0etwor1 % 2 Left limit Left limit reached for piston 0etwor1 ' 2 Lifter up Lifter motor up 0etwor1 ( 2 4nde) switch Pro)imity switch detect the ne)t inde) of PCB 0etwor1 + 2 Lifter up Lift the PCB up one after another 0etwor1 , 2 Pistonright ,-+# Stop Start Conveyor Conveyor """"" """"# C0!""# "#""" *45$(#') %"""" "#""" """", LSW Conveyor Lifterstop $p $p %"""" %"""% C0!""# "#""# "#""# %"""' *45$(#') %"""# """"( Pro)imitysw !4/ """ delay 6""#" %"""# "#""% %"""% %"""% Lifterstop &ight Lifterstop *elay &ight """"% !4/""" """"' "#""% "#""% &S%(&478!L4/4!) &S#(L95!:L4/4!) &ight "#""" 6. APPLICATION EXAMPLES OF BASIC COMMANDS 0etwor1 ; 2 Pistonleft /ove piston after right limit is reached 0etwor1 < 2 Pistonleft 0etwor1 = 2 Counter Counter preset at %" 0etwor1 #" 2 *elay of # sec 0etwor1 ## 2 Liftdown ' 0etwor1 #% 2 9nd ,-+% &S%(&478!:L4/4!) Left "#""' """"' *45$(#') %"""' "#""' """"% Left &S#(L95!:L4/4!) C0! ""# 6""%" %"""' C0!""# """"+ &S! !4/ ""% 6""#" C0!""# %"""% !4/""% "#""( &S#(L95!:L4/4!) *own 9nd ("#) 6. APPLICATION EXAMPLES OF BASIC COMMANDS Ladder *iagram . /ain # 0etwor1 # /ain # 2 S5! (#") method PCB pac1ing conveyor program utilising (shift register method) 0etwor1 # 2 Conveyor 0etwor1 % 2 Set bit 0etwor1 ' 2 Set #st bit Set first bit of 8& "" on 0etwor1 ( 2 Shift register
0etwor1 + 2 Cloc1 Cloc1 input to shift register to control se>uence of operations 0etwor1 , 2 Counter Counter preset at %" ,-+' Limitswitch Conveyor """"" """", """"% "#""" "#""" Start Conveyor Stop """"# &S# *45$(#') %"""" "#""" Conveyor /?@(%#) 6"""# 8&"" %"""" C0!""# 8&"""' %+'#( %"""# 8&"""+ S5!(#") 8&"" 8&"" 8&"""" """"( Pro)imitysw 8&"""# """"' &S% 8&"""% """"% &S# 8&"""' C0!""# 8&"""( """", Limitswitch %"""# %"""# 8&"""% 6. APPLICATION EXAMPLES OF BASIC COMMANDS 0etwor1 ; 2 Lifter up 0etwor1 < 2 Piston right 0etwor1 = 2 Piston left 0etwor1 #" 2Lifter down 0etwor1 ## 2 9nd Applicti!n "#$% Aut!mtic C!nt&!l O' (&e)!use D!!& ,-+( """"+ C0! ""# 6""%" &eset C0!""# 8&"""" "#""# Lifterup 8&"""# "#""% Pistonright 8&"""% "#""' Pistonleft 8&"""( "#""( Lifterdown 9nd ("#) 6. APPLICATION EXAMPLES OF BASIC COMMANDS !he input ultrasonic switch is employed to detect the presence of an approaching vehicle A separate photosensor detects the passing of a vehicle via the interruption of the light beam 4n response to these signals, the control circuit controls the outputs that drive the motor of the door for opening and closing I/O Assignment Input Devices Output Devices """"" $ltrasonic switch "#""" /otor to raise door """"# Photoelectric switch "#""# /otor to lower door """"% *oor upper limit switch """"' *oor lower limit switch ,-++ *oor position /oto r $ltrasonic Pushbutt on Switch Photoelectric Switch CP/%A 6. APPLICATION EXAMPLES OF BASIC COMMANDS Ladder diagram . /ain # 0etwor1 # /ain # 2 Autodoor !his program shows the automatic control of warehouse door 0etwor1 # 2 &aise door 0etwor1 % 2 Photosensor Sense until differentiation down 0etwor1 ' 2 Lower door 0etwor1 ( 2 9nd ,-+, $pperLS &aisedoor """"" """"% "#""# "#""" "#""" $ltraswitch &aisedoor Lowerdoor """"# *45*(#() %"""" Photosensor LowerLS Lowerdoor %"""" """"' "#""" "#""# "#""# Lowerdoor &aisedoor 9nd ("#) Timing *ig&m """"" $ltrasonic switch """"% $pper limit switch #"""" /otor to raise door """"# Photoelectric switch "(""" *45* """"' Lower limit switch #"""# /otor to lower door 6. APPLICATION EXAMPLES OF BASIC COMMANDS Applicti!n "##% Aut!mtic Lu+&icti!n !' ,e& When the gear is moved towards S#, the sensor S# will detect the gear and signal the electromagnetic valve for oil supply on the gear !he valve (@#) will open for a short period of time, supplying a predetermined >uantity of oil When sensor S% sense that the lubricating tan1 oil level is low, the oil shortage alarm indicator will be ?0 I/O Assignment Input Devices Outp ut Devices """"" Position detection (S#) "#""" 9lectromagnetic valve for oil supply (@#) """"# Lower limit of oil (S%) "#""# ?il shortage alarm indicator ,-+; S% (#) @# (#""") Lubricating ?il !an1 ?il shortage alarm indicator S # (" ) 6. APPLICATION EXAMPLES OF BASIC COMMANDS Ladder *iagram . /ain # 0etwor1 # /ain # 2 Auto lubricate Auto lubricate of gear 0etwor1 # 2 Start 0etwor1 % 2 ?pen valve ?pen valve and delay #+ sec 0etwor1 ' 2 ?il shortage 0etwor1 ( 2 9nd ,-+< """"" *45$(#') %"""" Positiondet @alveclose @alveopens %"""" !4/""" "#""" "#""# @alveopens !4/ """ @alveclose 6""#+ """"# "#""# ?ilshortage Lowerlevel 9nd ("#) # scan time #+ sec """" " "("" " #""" " !4/ """ """" # #""" # Position detection *45$ @alve ?pens !imerBs preset time Lower limit of oil level ?il shortage alarm indicator Timing *ig&m 6. APPLICATION EXAMPLES OF BASIC COMMANDS Applicti!n "#-% C!nve.!& Belt M!t!& C!nt&!l 4n this application, the PLC is used to start and stop the motors of a segmented conveyor belt !his allows only belt sections carrying an obCect (ie mental plate) to move !he position of a mental plate is detected by a pro)imity switch located ne)t to each belt segment As long as the plate is within the detecting range of the switch, the motor will wor1 4f the plate moves beyond the range, a timer is activated and when this set time has lapsed, the motor of that belt stops I/O Assignment Input Devices Output Devices """"" Sensor # "#""" /otor # """"# Sensor % "#""# /otor % """"% Sensor ' "#""% /otor ' ,-+= CP/%A /otor ' (#""%) /otor % (#""#) /otor # (#""") Sensor % (#) Sensor ' (%) Sensor # (") Coppe r plat e