
B-4
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
You can write a program to control the conveyor belt shown in Figure B-1
using absolute values that represent the different components of the conveyor
system (see Table B-2). Figure B-2 shows a ladder logic program to control
the conveyor belt.
Table B-2 Elements of Absolute Programming for Conveyor Belt System
System Component
Absolute Address
Push Button Start Switch I 1.1
Push Button Stop Switch I 1.2
Push Button Start Switch I 1.3
Push Button Stop Switch I 1.4
Sensor I 1.5
Motor Q 4.0
I 1.1
Q 4.0
Push Button Start Switch
“S1”“S1”
S
Motor
“MOTOR_ON”
Push Button Start Switch
I 1.1
“S3”
I 1.3
Network 1: Pressing either start switch turns the motor on.
Network 2: Pressing either stop switch or opening the normally closed contact at the end of the belt
turns the motor off.
Q 4.0
Push Button Stop Switch
“S2”
R
Motor
“MOTOR_ON”
Push Button Stop Switch
I 1.2
“S4”
I 1.4
Sensor
“S5”
I 1.5
Figure B-2 Ladder Logic for Controlling a Conveyor Belt
Absolute
Programming
Programming Examples
Kommentare zu diesen Handbüchern