用西门子PLC构成四节传送带控制系统
2024-02-10  来源: www.im100.com

一、设计目标

 

PLC构成四节传送带控制系统

 

 

二、实验内容

 

1. 1 控制要求

 

起动后,先起动最末的皮带机,1s后再依次起动其它的皮带机;停止时,先停止最初的皮带机,1s后再依次停止其它的皮带机;当某条皮带机发生故障时,该机及前面的应立即停止,以后的每隔1s顺序停止;当某条皮带机有重物时,该皮带机前面的应立即停止,该皮带机运行1s后停止,再1s后接下去的一台停止,依此类推                                    

 

2I/O分配

 

                          输入                        输出

起动按钮:    I0.0                  M1Q0.1    

停止按钮:    I0.5                  M2Q0.2  

负载或故障AI0.1                  M3Q0.3   

负载或故障BI0.2                  M4Q0.4    

负载或故障CI0.3

负载或故障DI0.4

 

 

三、四节传送带故障设置控制语句表

   

1

LD

I0.0

36

LD

T41

71

R

Q0.31

2

O

M0.1

37

R

Q0.31

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.41

7

AN

I0.4

42

R

Q0.41

77

LD

I0.3

8

S

Q0.41

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.11

11

TON

T37+10

46

R

Q0.11

81

R

Q0.21

12

LD

T37

47

=

M0.7

82

R

Q0.31

13

S

Q0.31

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.21

86

LD

T48

17

LD

T38

52

=

M1.0

87

R

Q0.41

18

S

Q0.21

53

LD

M1.0

88

LD

I0.4

19

=

M0.3

54

TON

T44+10

89

O

M1.5

20

LD

M0.3

55

LD

T44

90

AN

I0.0

21

TON

T39+10

56

R

Q0.31

91

R

Q0.11

22

LD

T39

57

=

M1.1

92

R

Q0.21

23

S

Q0.11

58

LD

M1.1

93

R

Q0.31

24

LD

I0.5

59

TON

T45+10

94

R

Q0.41

25

O

M0.4

60

LD

T45

95

=

M1.5

26

AN

I0.0

61

R

Q0.41

 

 

 

27

R

Q0.11

62

LD

I0.2

 

 

 

28

=

M0.4

63

O

M1.2

 

 

 

29

LD

M0.4

64

AN

I0.0

 

 

 

30

TON

T40+10

65

R

Q0.11

 

 

 

31

LD

T40

66

R

Q0.21

 

 

 

32

R

Q0.21

67

=

M1.2

 

 

 

33

=

M0.5

68

LD

M1.2

 

 

 

34

LD

M0.5

69

TON

T46+10

 

 

 

35

TON

T41+10

70

LD

T46

 

 

 

 

四、四节传送带故障设置控制梯形图



 

 

五、四节传送带载重设置控制语句表

   

1

LD

I0.0

38

=

M0.6

75

R

Q0.21

2

O

M0.1

39

LD

M0.6

76

=

M1.3

3

A

I0.5

40

TON

T42+10

77

LD

M1.3

4

AN

I0.1

41

LD

T42

78

TON

T48+10

5

AN

I0.2

42

R

Q0.41

79

LD

T48

6

AN

I0.3

43

LD

I0.1

80

R

Q0.31

7

AN

I0.4

44

O

M2.1

81

=

M1.4

8

S

Q0.41

45

AN

I0.0

82

LD

M1.4

9

=

M0.1

46

TON

T43+10

83

TON

T49+10

10

LD

M0.1

47

=

M2.1

84

LD

T49

11

TON

T37+10

48

LD

T43

85

R

Q0.41

12

LD

T37

49

R

Q0.11

86

LD

I0.3

13

S

Q0.31

50

=

M0.7

87

O

M2.3

14

=

M0.2

51

LD

M0.7

88

AN

I0.0

15

LD

M0.2

52

TON

T44+10

89

R

Q0.11

16

TON

T38+10

53

LD

T44

90

R

Q0.21

17

LD

T38

54

R

Q0.21

91

=

M2.3

18

S

Q0.21

55

=

M1.0

92

LD

M2.3

19

=

M0.3

56

LD

M1.0

93

TON

T50+10

20

LD

M0.3

57

TON

T45+10

94

LD

T50

21

TON

T39+10

58

LD

T45

95

R

Q0.31

22

LD

T39

59

R

Q0.31

96

=

M1.6

23

S

Q0.11

60

=

M1.1

97

LD

M1.6

24

LDN

I0.5

61

LD

M1.1

98

TON

T51+10

25

O

M0.4

62

TON

T46+10

99

LD

T51

26

AN

I0.0

63

LD

T46

100

R

Q0.41

27

R

Q0.11

64

R

Q0.41

101

LD

I0.4

28

=

M0.4

65

LD

I0.2

102

O

M2.4

29

LD

M0.4

66

O

M2.2

103

AN

I0.0

30

TON

T40+10

67

AN

I0.0

104

R

Q0.11

31

LD

T40

68

R

Q0.11

105

R

Q0.21

32

R

Q0.21

69

=

M2.2

106

R

Q0.31

33

=

M0.5

70

LD

M2.2

107

=

M2.4

34

LD

M0.5

71

TON

T47+10

108

LD

M2.4

35

TON

T41+10

72

LD

T47

109

TON

T52+10

36

LD

T41

73

R

Q0.21

110

LD

T52

37

R

Q.31

74

=

M1.3

111

R

Q0.41

 

六、四节传送带载重设置控制梯形图