Motion Control Solutions

You might also like

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

About Latest Thinking Services

Blog

Categories

Motion Control Solutions with Technology Objects in Po


Siemens TIA Portal

Dec
12/0

TIA Portal, Technology Objects, Siemens Startdrive, How To

Otto Gottlieb DM
3 Comments
02/25/2015
09/

This article goes through setting up and using the Siemens S120 drive inside TIA Portal
after configuration in STARTER. While several other Siemens drives can be started with
Siemens Startdrive (G120, G120C, G120D, and G120P), performing a hardware
configuration of an S120 drive is not yet integrated into TIA Portal. I have heard that the
next big release will have this feature!

DM
TIA Portal Setup Bus
09/
In this example project, I’m using an S7-1500 CPU and a CU320 control unit as seen in
the below Network view
the below Network view.

In the Device View of the CU320, I select a DO SERVO Module and select its telegram
from the Submodules. This telegram must match the telegram used when configuring
the drive in STARTER.

Next, I add a Positioning Axis to the Technology objects.


And now I have a Positioning Axis in my project so that I can continue to do simple
configuring.

To compile successfully, the one action I must take is to assign the correct drive to this
Technology Object.
TIA Portal’s Configuration tool has many items to customize for your application like
Position Limits, Dynamic Limits, and Homing. It is worth exploring all available options to
see if this configuration can make programming your application easier.

TIA Portal Commissioning


TIA Portal has several other useful tools to utilize once you download your project to the
PLC:

1 Th C i i i t l ll t f j l it l ti
1. The Commissioning tool allows you to perform jogs, velocity moves, relative moves,
absolute moves, and homing routines on your drive. I use this to determine the
velocities, accelerations, decelerations, jerks, and homing routines I want to use in my
application.

NOTE: If you have programmed the PLC to send commands to the drive. This tool does
not let you activate the Axis until you disable those PLC commands. Remember to
deactivate the Commissioning tool when finished (I have run into some problems when
having an activated Axis when I disconnect from the PLC).

WARNING: You need to be careful when using this so that you don’t harm anything or
anybody.

2. The Diagnostics tool provides useful information about the servo when you are online
with your controller. Use this information in the controller’s logic.

Axis Programming
Accessing the Diagnostics information inside my Ladder code is very helpful when
programming axes so I created a function block to do just that As seen below the
programming axes, so I created a function block to do just that. As seen below, the
Axis’s status word is sent into my function block, which is where I organized all its
information into a data block that is more user-friendly.

The below screenshot shows the breakdown of the status word.

I assign each bit from the Positioning Axis’s status word into the function block’s
corresponding Boolean.
To program the Axis’s movements, I placed all the built-in Siemens Technology Motion
Control blocks into another function block as seen below.
Then I used some of the data from the Axis status word breakdown for the motion logic.
I can also use data from the built-in Motion Control blocks for my logic. In this case, the
MC_POWER block has a Status bit that is synonymous with the StatusWord.Enabled bit.

Summary
Siemens has made motion control applications simple and straightforward with TIA
Portal.

The Configuration and Commissioning tools create an easy commissioning process.


The Diagnostics tool helps online troubleshooting and programming.
The built-in Motion Control blocks are intuitive, and the Siemens help files provide
additional information on how to utilize the Motion Control blocks effectively.

L b t DMC' ti t l i C t tU t t t t d
Learn more about DMC's motion control services or Contact Us to get started on a
project today.

Related Blog Posts

Getting Started with OPC UA in Virtualizing a DCS in PCS7 How to Link Hardware / IO in
Beckhoff TwinCAT 3 Beckhoff TwinCAT 3

Related Services
Allen-Bradley Kinetix Programming

B&R Automation Studio Programming

Beckhoff and TwinCAT 3 Programming

Legacy PLC Upgrade and Conversion Services

Mitsubishi MELSEC Motion

Comments
# Marco Tulio

Wednesday, April 19, 2017 12:14 PM

thank you so much for your information, was very useful for me.

# Vorapob

Sunday, June 26, 2016 9:11 PM

Can you give me a manual and Example project for me please my email:
tonsc2002@hotmail.com Thanks alot

# Achraf

Thursday, March 24, 2016 4:18 AM

hi
have you some videos of this configuration of motion controle ? , and what if I want controle a
servopack of yaskawa it' is the same procedure ? thank you very much

Post a comment
Name (required)

Email (required)

Comment

Enter the code shown above:

Add Comment

Notify me of followup comments via e-mail

Our Company Blog Services W


Employee Bios Videos Manufacturing Automation and Intelligence T

Core Values Case Studies Test and Measurement Automation C

Industries Served Press Room Embedded Development & Embedded Programming O

Partners Newsletter Application Development F

Digital Workplace Solutions

Sign up for our newsletter

Your email

DMC Chicago HQ DMC Austin DMC Boston DMC


2222 N Elston Ave (512) 537-8957 20 Holland St 7875
Suite 200 Suite 408 Cinc
Chicago, IL 60614 Somerville, MA 02144 (513
(312) 872-0067 (617) 758-8517

DMC Dallas DMC Denver DMC Houston DMC


2929 Carlisle St 1860 Blake St 8 Greenway Plaza 901 W
Suite 380 Suite 410 Suite 250 Suite
Dallas, TX 75204 Denver, CO 80202 Houston, TX 77046 Nash
(972) 432-5536 (303) 223-1801 (713) 322-9192 (615

DMC New York DMC San Diego DMC Seattle DMC


141 W 36th St 4180 La Jolla Village Dr 506 2nd Ave 1034
19th Floor Suite 125 Suite 910 Suite
New York, NY 10018 La Jolla, CA 92037 Seattle, WA 98104 St. L
(917) 473-0030 (858) 477-8349 (206) 388-5186 (314)

DMC Washington, D.C.


810 Seventh St NE
Suite 230
Washington, D.C. 20002

Call Us: (888) DMC-4400

Copyright © 2023 DMC, Inc. Privacy / Terms / Trademarks

You might also like