Motion HandsOn Ex4 EN

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

S7-1200 Basic Controller

Motion: HandsOn Ex4

Basic Learning Path


Hands-on Exercise #4: Smart Conveyor Belt Control

HANDS ON 15 min

1. Create a Smart Conveyor system to


package 2 muffins inside one box.
Conveyor 2. Add and configure a CommandTable
Technology Object
Smart Conveyor 3. Motion Sequence: Move Conveyor
200mm, Stop 1s, Move Conveyor
Product
Product
80mm, Stop 1s;
Sensor
Sensor 4. Test the Motion using the Watch
Tables
E
Conveyor N
C

Encoder

Seite 2 Unrestricted | © Siemens 2021 – 2022


S7-1200 Basic Controller
Motion: Sample Solution

Basic Learning Path


Programming of Smart Conveyor
3

1.Create new ConveyorControl FB


2.Define the ConveyorControls FB parameters
3.Add the functions into your project:
MC_Power, MC_Reset. MC_Home, MC_Halt

Seite 4 Unrestricted | © Siemens 2021 – 2022


Main OB Programming 2

3
1.Create new conveyorSignals DB and configure
the variables as shown
2.Add the conveyorAxisTO positioning axis and
configure it as shown
3.Add the ConveyorControl FB in Main and
configure it as shown

Seite 5 Unrestricted | © Siemens 2021 – 2022


TO Command Table

2
1

1.Add new CommandTable TO


2.Configure the Command Table parameters and
Add the 4 steps required for the application
3. Add the MC_Command Table FB from the Motion
Control task cards in the Main OB

Seite 6 Unrestricted | © Siemens 2021 – 2022


Test Smart Conveyor Logic
1

1.Insert a new SCL network and program the loop


logic for the Smart Conveyor
2.Create a watch table to test the Smart Conveyor
logic
3. Observe the motion of the smart conveyor using
the TO parameters

Seite 7 Unrestricted | © Siemens 2021 – 2022

You might also like