38
Restricted © Siemens Industry, Inc. 2015 All rights reserved. usa.siemens.com/summit Siemens Automation Summit Las Vegas, NV, June 2730 2016

Tips & Tricks for Motion with S7 1500 CPU

  • Upload
    dmc-inc

  • View
    731

  • Download
    7

Embed Size (px)

Citation preview

Page 1: Tips & Tricks for Motion with S7 1500 CPU

Restricted © Siemens Industry, Inc. 2015 All rights reserved. usa.siemens.com/summit

Siemens Automation SummitLas Vegas, NV, June 2730 2016

Page 2: Tips & Tricks for Motion with S7 1500 CPU

Restricted © Siemens Industry, Inc. 2015 All rights reserved. usa.siemens.com/summit

Tips and Tricks for Motion with S7-1500 CPUPresented by David Sestrich

Page 3: Tips & Tricks for Motion with S7 1500 CPU

David Sestrich

Systems Engineer at DMC, Inc.

B.S. in Mechanical Engineering from Purdue

Presenter Information

Page 4: Tips & Tricks for Motion with S7 1500 CPU

Established in 1996, offices in Chicago, Boston, & Denver and customers

throughout the worldemployees &

growing

100+Established in 1996, DMC serves customers

worldwide from offices in Chicago, Boston, Denver, New York, and Houston

Page 5: Tips & Tricks for Motion with S7 1500 CPU

• DMC Partners

Page 6: Tips & Tricks for Motion with S7 1500 CPU

• DMC Customers

Page 7: Tips & Tricks for Motion with S7 1500 CPU

Automotive Chemical & Food

Processing

Consumer Goods Defense Contracting Energy & Utilities Food

& Beverage Packaging Pharmaceutical Printing & Textiles

Semiconductor

Special Machinery Telecommunications Test & Measurement

Industries Served

Page 8: Tips & Tricks for Motion with S7 1500 CPU

Tips and Tricks for Motion with S7-1500

CPU

Page 9: Tips & Tricks for Motion with S7 1500 CPU

Siemens Motion

Offerings

SIMOTION• High Performance Motion Controllers• Scout Software

Page 10: Tips & Tricks for Motion with S7 1500 CPU

Siemens Motion

Offerings

SINUMERIK• CNC Machining Applications

Page 11: Tips & Tricks for Motion with S7 1500 CPU

Siemens Motion

Offerings

S7-300 Technology CPU• Advanced PLC Integrated Motion Control• Programming: Step 7• Configuration: Scout, Technology Object

Manager

Page 12: Tips & Tricks for Motion with S7 1500 CPU

Siemens Motion

Offerings

S7-1500 Series CPU• Basic Point to Point Motion Control,

Gearing, Superimposed Moves

Page 13: Tips & Tricks for Motion with S7 1500 CPU

Tips &Tricks

1. Configuration2. Architecture3. Novel Approaches

Page 14: Tips & Tricks for Motion with S7 1500 CPU

1. Configuratio

n

• G120 & S120• Set up• Commissioning

Page 15: Tips & Tricks for Motion with S7 1500 CPU

G120 v S120Features G120 S120

Commissioning Portal Scout

Positioning Standard Dynamic Servo Control

Cost + -Power With drive Separate module

Page 16: Tips & Tricks for Motion with S7 1500 CPU

Set up: G120

Note: Must have CU250 for Technology control!

1. Drag in the G1202. Connect network3. Configure

StandardTelegramm 3

Page 17: Tips & Tricks for Motion with S7 1500 CPU

Set up: S1201. Configure drives in Starter2. Select telegram options

I. Use Standard Telegram 5 for DrivesII. Use SIEMENS Telegram 370 for InfeedsIII. Use SIEMENS Telegram 390 for CUs

3. Bring in the S120 GSD to portal4. Set the Interface5. Ensure telegram types match

Page 18: Tips & Tricks for Motion with S7 1500 CPU

• Tune drive before working with CPU

• Recalculate motor parameters

• Stationary measurement• Rotating measurement

• Test movement from Control Panel

• Check motor direction• Check motor speed, load

Commissioning: Drive

Page 19: Tips & Tricks for Motion with S7 1500 CPU

• Control loop• Extra tuning• Dynamic Servo Control

• For First Commissioning, set gain = 0

• Prevents any accidental moves

Commissioning: Technology Object

Page 20: Tips & Tricks for Motion with S7 1500 CPU

• Data exchange• Can invert direction here• Make sure the encoder

parameters are set correctly!

• Dynamic defaults• Used when not specified• Make sure they are not

too high

Commissioning: Technology Object

Page 21: Tips & Tricks for Motion with S7 1500 CPU

• Understand and choose what drives to use• Do drive tuning before integrating with PLC• Set the Technology Object Gain to 0 during first commissioning• Reverse motor direction from Data exchange setup• Set the dynamic default speeds

Summary

Page 22: Tips & Tricks for Motion with S7 1500 CPU

2. Architecture

• Tips & Tricks• Reusable Blocks• Unique Blocks

Page 23: Tips & Tricks for Motion with S7 1500 CPU

• Keep commands together• Calling multiple commands will interrupt each other• Easier to track & debug

• Do not put logic on EN rung• Standard practice for acyclic blocks• Should be called every scan

Tips & Tricks

Page 24: Tips & Tricks for Motion with S7 1500 CPU

• Create helpful udts & blocks• Split the status word into bits• Make the error word more useful

Tips & Tricks

Page 25: Tips & Tricks for Motion with S7 1500 CPU

• All Axes in project can use an instance of the same block

• Changes get pushed to all at once• Easy to drop into place• Sequence and control logic outside

of the block

Example: Reusable Block

Page 26: Tips & Tricks for Motion with S7 1500 CPU

c

• Contain complicated logic• Some functions used with all moves

• Customize the interface for more intuitive control

• No unused commands• Saves memory

• Incorporate specific alarms

Example: Unique Block

Page 27: Tips & Tricks for Motion with S7 1500 CPU

• Keep motion commands together• Create reusable udts & functions• Choose a consistent architecture & use it

Summary

Page 28: Tips & Tricks for Motion with S7 1500 CPU

3. NovelApproaches

• Tracing• Gearing• Superimposed Moves• Alarms

Page 29: Tips & Tricks for Motion with S7 1500 CPU

• Great for debugging issues you cannot see

• High speed• Logic timing

Tracing

Page 30: Tips & Tricks for Motion with S7 1500 CPU

c

Page 31: Tips & Tricks for Motion with S7 1500 CPU

c

• Sample with any OB• MC-Servo does

servo calculation

• Trigger on tag• Make tag for events• Pre-trigger for more info

Tracing

Page 32: Tips & Tricks for Motion with S7 1500 CPU

• Velocity Gearing• Great at following speed

with ratio• Gear ratio is DINT/DINT• Approximate position

gearing

Gearing

Page 33: Tips & Tricks for Motion with S7 1500 CPU

c

• Adds a motion on top of the current motion• Can adjust the ending position in the middle of an absolute move• Can adjust the current position in a velocity move• Several possible

velocity profiles

Superimposed Moves

Page 34: Tips & Tricks for Motion with S7 1500 CPU

• Combine superimposed move with gearing• Monitor current position vs where it should be• Adjust if too far off using superimposed move

Combined

Page 35: Tips & Tricks for Motion with S7 1500 CPU

• Alarm based on the error word• TO_Axis.ErrorDetail.Number

• Technology Alarm• Text List based on alarm number

Alarming

Page 36: Tips & Tricks for Motion with S7 1500 CPU

• Use tracing to follow what you cannot see• Keep track of

Summary

Page 37: Tips & Tricks for Motion with S7 1500 CPU

Questions? www.dmcinfo.comDavid [email protected] 312.255.8757

Page 38: Tips & Tricks for Motion with S7 1500 CPU

Restricted © Siemens Industry, Inc. 2015 All rights reserved. usa.siemens.com/summit

End Presentation