Tips & Tricks for Motion with S7 1500 CPU

Preview:

Citation preview

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

Siemens Automation SummitLas Vegas, NV, June 2730 2016

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

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

David Sestrich

Systems Engineer at DMC, Inc.

B.S. in Mechanical Engineering from Purdue

Presenter Information

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

• DMC Partners

• DMC Customers

Automotive Chemical & Food

Processing

Consumer Goods Defense Contracting Energy & Utilities Food

& Beverage Packaging Pharmaceutical Printing & Textiles

Semiconductor

Special Machinery Telecommunications Test & Measurement

Industries Served

Tips and Tricks for Motion with S7-1500

CPU

Siemens Motion

Offerings

SIMOTION• High Performance Motion Controllers• Scout Software

Siemens Motion

Offerings

SINUMERIK• CNC Machining Applications

Siemens Motion

Offerings

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

Manager

Siemens Motion

Offerings

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

Gearing, Superimposed Moves

Tips &Tricks

1. Configuration2. Architecture3. Novel Approaches

1. Configuratio

n

• G120 & S120• Set up• Commissioning

G120 v S120Features G120 S120

Commissioning Portal Scout

Positioning Standard Dynamic Servo Control

Cost + -Power With drive Separate module

Set up: G120

Note: Must have CU250 for Technology control!

1. Drag in the G1202. Connect network3. Configure

StandardTelegramm 3

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

• 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

• Control loop• Extra tuning• Dynamic Servo Control

• For First Commissioning, set gain = 0

• Prevents any accidental moves

Commissioning: Technology Object

• 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

• 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

2. Architecture

• Tips & Tricks• Reusable Blocks• Unique Blocks

• 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

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

Tips & Tricks

• 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

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

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

Summary

3. NovelApproaches

• Tracing• Gearing• Superimposed Moves• Alarms

• Great for debugging issues you cannot see

• High speed• Logic timing

Tracing

c

c

• Sample with any OB• MC-Servo does

servo calculation

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

Tracing

• Velocity Gearing• Great at following speed

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

gearing

Gearing

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

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

Combined

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

• Technology Alarm• Text List based on alarm number

Alarming

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

Summary

Questions? www.dmcinfo.comDavid Sestrichdavid.sestrich@dmcinfo.com 312.255.8757

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

End Presentation

Recommended