实验四 四节传送带的模拟控制
一、实验目的
用PLC构成四节传送带控制系统 二、实验内容
1. 控制要求(选做其中之一)
(1)可以自行拟定传送带的工作模式,并编程实现 (2)起动后,先起动最末的皮带机(M4),1s后再依次起动其它的皮带机;停止时,先停止最初的皮带机,1s后再依次停止其它的皮带机;当某条皮带机发生故障时,该机及前面的应立即停止,以后的每隔1s顺序停止。
2.I/O分配
输入输出
起动按钮: I0.0 M1:Q0.1 停止按钮: I0.5 M2:Q0.2 负载或故障A:I0.1 M3:Q0.3 负载或故障B:I0.2 M4:Q0.4 负载或故障C:I0.3 负载或故障D:I0.4
3.梯形图输入程序。 4.调试并运行程序。
图6-1 四节传送带控制示意图
三、四节传送带故障设置控制语句表 1 LD I0.0 36 LD T41 71 R Q0.3,1 2 O M0.1 37 R Q0.3,1 72 = M1.3 3 A I0.5 38 = M0.6 73 LD M1.3 4 AN I0.1 39 LD M0.6 74 TON T47,+10 5 AN I0.2 40 TON T42,+10 75 LD T47 6 AN I0.3 41 LD T42 76 R Q0.4,1 7 AN I0.4 42 R Q0.4,1 77 LD I0.3 8 S Q0.4,1 43 LD I0.1 78 O M0.4 9 = M0.1 44 O M0.7 79 AN I0.0 10 LD M0.1 45 AN I0.0 80 R Q0.1,1 11 TON T37,+10 46 R Q0.1,1 81 R Q0.2,1 12 LD T37 47 = M0.7 82 R Q0.3,1 13 S Q0.3,1 48 LD M0.7 83 = M1.4 14 = M0.2 49 TON T43,+10 84 LD M1.4 15 LD M0.2 50 LD T43 85 TON T48,+10 16 TON T38,+10 51 R Q0.2,1 86 LD T48 17 LD T38 52 = M1.0 87 R Q0.4,1 18 S Q0.2,1 53 LD M1.0 88 LD I0.4 19 = M0.3 54 TON T44,+10 O M1.5 20 LD M0.3 55 LD T44 90 AN I0.0 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 I0.0M0.1M0.1I0.5TON T39,+10 56 R Q0.3,1 LD T39 57 = M1.1 S Q0.1,1 58 LD M1.1 LDN I0.5 59 TON T45,+10 O M0.4 60 LD T45 AN I0.0 61 R Q0.4,1 R Q0.1,1 62 LD I0.2 = M0.4 63 O M1.2 LD M0.4 AN I0.0 TON T40,+10 65 R Q0.1,1 LD T40 66 R Q0.2,1 R Q0.2,1 67 = M1.2 = M0.5 68 LD M1.2 LD M0.5 69 TON T46,+10 TON T41,+10 70 LD T46 四、四节传送带故障设置控制梯形图 Q0.4 SI0.1I0.2I0.3I0.491 92 93 94 95 T43R R R R = Q0.2R1M1.0Q0.1,1 Q0.2,1 Q0.3,1 Q0.4,1 M1.5 1M0.1T37IN+10PTTONM1.0T44IN+10PTTONT37Q0.3S1M0.2T44Q0.3R1M1.1M0.2IN+10T38PTT38TONM1.1IN+10PTT45TONQ0.2S1M0.3T45Q0.4R1I0.0I0.2M0.3IN+10T39PTT39TONM1.2Q0.1R1Q0.2R1M1.2Q0.1S1I0.0I0.5M0.4Q0.1R1M0.4M1.2IN+10T46PTT46TONM0.4IN+10T40PTT40TONQ0.3R1M1.3Q0.2R1M0.5M1.3IN+10T47PTT47TONM0.5IN+10T41PTT41TONI0.3M1.4I0.0Q0.4R1Q0.1R1Q0.2R1Q0.3R1Q0.3R1M0.6M0.6IN+10T42PTT42TONM1.4INPTT48M1.4TONQ0.4R1I0.0+10T48I0.1M0.7Q0.1R1M0.7Q0.4R1I0.0I0.4M1.5Q0.1R1Q0.2R1M0.7IN+10PTT43TON