0% found this document useful (0 votes)
35 views7 pages

Motion HandsOn Ex2 EN

Uploaded by

swattrap
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views7 pages

Motion HandsOn Ex2 EN

Uploaded by

swattrap
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

S7-1200 Basic Controller

Motion: HandsOn Ex2

Basic Learning Path


Hands-on Exercise #2: Labelling Axis Control

Label drum HANDS ON 10 min

1. Create Motion Control Logic to control


the position of the Labelling Axis
2. Add and configure the Motion
Commands MC_Power, MC_Reset,
MC_Home, MC_Halt,
Stepper Motor Shaft MC_MoveAbsolute
Product 3. Test the MotionControl FB functionality
v Sensor
using Watch Tables

E
Conveyor N
C

Encoder

Page 2 Unrestricted | © Siemens 2021 – 2022


S7-1200 Basic Controller
Motion: Sample Solution

Basic Learning Path


Motion Control Programming
of Labeling Axis
1

2 1.Create new MotionControls FB


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

Seite 4 Unrestricted | © Siemens 2021 – 2022


Motion Control Programming of Labeling Axis

3 Call the MotionControls FB in the Main OB


1 Create new Data Block motionSignals

2 Define the following parameters

4 Assign the Inputs and Ouputs to the


MotionControls FB

5 Save, Compile and Download project


to the CPU
Seite 5 Unrestricted | © Siemens 2021 – 2022
Motion Control Programming of Labeling Axis

3 Call the MotionControls FB in the Main OB


1 Create new Data Block motionSignals

2 Define the following parameters

4 Assign the Inputs and Outputs to the


MotionControls FB

5 Save, Compile and Download project


to the CPU
Seite 6 Unrestricted | © Siemens 2021 – 2022
Motion Control Programming Testing

1 Create new Watch Table

2 Set desired Final position and


velocity

3 Enable Axis

4 Reset Axis

5 Home Axis

6 Start Move Absolute motion Note: In order to use Move


command Absolute function it is required
to first home the axis

Seite 7 Unrestricted | © Siemens 2021 – 2022

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy