SlideShare a Scribd company logo
Flexibility and
Standardization Using
Dynamic IO
Addressing and
Option Handling
David Berno, DMC Inc
usa.siemens.com/summitUnrestricted © Siemens 2019
Unrestricted © Siemens Industry, Inc. 2019
Page 2
2019 Automation Summit
• Title:Flexibility and Standardization Using Dynamic IO Addressing and Option Handling
• Track: PE
• Presenter: David Berno
• Company: DMC
• Session # (for your survey): 11.2
DMC Overview
Established in 1996, offices in Chicago, Boston, &
Denver and customers throughout the world
Established in 1996, DMC serves customers worldwide from offices in
Chicago, Boston, Dallas, Denver, Houston, New York, Seattle, and St. Louis
employees & growing
170+
DMC has the highest number of S7 certified engineers in the US.
Siemens Expertise
35+
DMC Customers
Industries Served
Energy & Utilities
Printing
Automotive
Food & Beverage
Semiconductor
Chemical
Oil & Gas
Engineering
Specialty Machinery
Consumer Goods
Packaging Machinery
Programming
Telecommunications
Defense Contracting
Pharmaceutical
Test & Measurement
David Berno
Systems Engineer
• BS Mechanical Engineering
• The University of Notre Dame
• With DMC since 2016
• SIMATIC Technical Certification
Presenter Info
1. Option Control
2. Dynamic IO Addressing
3. Case Study
4. Comparison
5. Questions
Pain points for managing IO:
• Managing slightly different hardware configurations
• Managing a large volume of IO
• What tools as a programmer do you have for dealing with
complexity and scale?
IO Management
• System constants that are
created when a hardware
configuration is built
• Software key to unlocking a
variety of different things
regarding a piece of hardware
Hardware Identifiers
• A machine is built with
multiple different
configurations
• Each configurations adds
or subtracts hardware
from the system, either at
the module or the slot
level
Option Control
• Allows hardware modules
to be designated as
optional in the hardware
configuration
Optional Hardware Modules
• A data record is created to
reconfigure either the entire
Profinet IO system or a
single module on the
network
Data Records
• A data record is created to
reconfigure either the entire
Profinet IO system
• PLC can be left in RUN
mode
Data Records – Module Level
• Uses the hardware identifier for the Profinet IO system to disable,
reconfigure and the enable all optional hardware
ReconfigIO function
• Data records can also be configured to changed the slot
configuration on a remote IO rack
Data Records – Slot Level
• Uses the hardware identifier for the module to reconfigure the
slot
WRREC function
• Tiered control system offerings at volume
• Future potential expansion to existing control system
• No programmer needed to change hardware configuration
When should I use option control?
• Standard approach - create PLC tags that are linked to I & Q
addresses that correspond to an IO rack or device
• IO tags are manually named, linked and used throughout the
code
Large Volume of IO
Standard IO Addressing
• Tedious, time consuming process especially when dealing with a
large number of IO points
• Why not skip the middleman of PLC tags and have the function
block look up the I&Q addresses it should be using?
Standard IO Addressing
Dynamic IO Addressing
Hardware identifiers and extended instructions:
1. RD_ADDR
2. PEEK
3. POKE
RD_ADDR
• Queries a hardware identifier and returns the associated I & Q
addresses
• The process image associated with the hardware can now be
read from and written to in the PLC program
PEEK
• Used to read the value from the I addresses returned from the
RD_ADDR function
POKE
• Used to write a value to the Q addresses returned from the
RD_ADDR function
Case Study – Automotive Assembly
• DMC worked with a tier 1 automotive supplier whose assembly
lines provided a unique framework for flexible IO addressing
• Each assembly line is divided into zones and stations
Case Study – Automotive Assembly
• Extraordinarily large hardware configuration
Hardware
• 1 S7-1518F PLC per assembly line
• ET200 Remote IO
• 3rd Party Devices – cameras, scanners, torque tools etc.
Case Study – Automotive Assembly
• Each station has the option to contain the following devices:
• Pick to lights
• Camera
• Scanner
• Torque Tool
• Digital Inputs
• Digital Outputs
• And many more
Maximizing Indirect Addressing
• Each device FB is assigned a zone, station and number
• These three items create a unique identifier that each function
block can use to look up a different hardware address
• Each function block is able to be reused across all zones and
stations and even assembly lines without changing the code
• Standard wiring scheme is defined and followed for each device
without exception
Case Study – Automotive Assembly
• Customer Benefits
• Reduced IO check time significantly
• Reduced programming errors with mislinked IO
• Provided easier field wiring for electricians
• Creates an easily expandable framework for making
hardware additions to the line
• Allows reuse of device logic across assembly lines
dbHWIdentifiers
• Arrays of zone, station and device types used for storing HW
identifiers and device type
dbHWAddresses
• HW Identifiers are parsed using the RD_ADDR function to
determine the input and output addresses used
Device Example – Pick to Light
• The pick to light is a common device used for reducing error in
the selection of parts in the assembly process
Pick Light IO Map – Type 1
Pick Light IO Map – Type 2
fbPickLight
• Contains logic for controlling a generic set of outputs with
optional corresponding inputs – depending on the type
• Peek function used to read input status of feedback from
picklights
• Poke function used to write outputs to the picklights for
controlling the status and color
When should I use indirect addressing for my IO?
• Large amount of IO
• Standard wiring schemes
• 3rd party devices with standard interfaces
Option Control vs Indirect Addressing
Option Control Indirect Addressing
Multiple deployments of different configurations Large Volume of IO
Reduce programmer involvement Standardized IO mapping
Manage a known number of hardware
configurations
Reduce overhead of PLC tag creation
• Do not need to be used exclusively!
Takeaway
• Before you begin your next project, think outside the box when
it comes to how you interact with your IO
• Consider option handling for any hardware that may be added
or subtracted in the future
• Consider indirectly addressing your IO where possible to reduce
the number of PLC tags that must be created and linked
Questions?

More Related Content

PPTX
Multi-site WinCC 7 Development with Centralized Process Historian & Informati...
PPTX
Dynamic and Scalable Systems Using WinCC OA
PPTX
Siemens Open Library- Summit 2016
PPTX
DMC Siemens Automation Summit 2014 Presentation: Getting the Most Out of WinC...
PPTX
What is the Siemens Open Library, and How it Decreased Development Time for E...
PPTX
Siemens oil and gas 2016 LACT unit
PPTX
DMC Siemens Automation Summit 2014 Presentation: Siemens Best Practices When ...
PPTX
Tips & Tricks for Motion with S7 1500 CPU
Multi-site WinCC 7 Development with Centralized Process Historian & Informati...
Dynamic and Scalable Systems Using WinCC OA
Siemens Open Library- Summit 2016
DMC Siemens Automation Summit 2014 Presentation: Getting the Most Out of WinC...
What is the Siemens Open Library, and How it Decreased Development Time for E...
Siemens oil and gas 2016 LACT unit
DMC Siemens Automation Summit 2014 Presentation: Siemens Best Practices When ...
Tips & Tricks for Motion with S7 1500 CPU

What's hot (20)

PPTX
DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC
PPTX
Pushing Data from S7-1200 to Cloud
PPTX
Improving and Scaling SCADA Systems: Is WinCC OA Right for Me?
PPTX
Auto Code Generation and Rapid Brewery/Distillery Automation
PPTX
Siemens oil and gas 2016 WinCC OA
PPTX
Sitec 2017 Siemens Open Library Presentation
PPTX
DMC NI Week 2014 High Speed Vision
PPTX
Lightning Fast SCADA Development with Open Library for WinCC OA
PPTX
5 Tips for Using TIA Portal V14 to Decrease Safety Development Time
PPTX
Dmc patco siemens og presentation
PPTX
Frank Riordan Siemens Automation Summit 2016 Presentation
PPTX
Taking your Siemens PLC s7-1200 to industry 4.0
PPTX
Advanced Motion Control: Using the New 1500TF Processor and Siemens LAxis Lib...
PPTX
Real-World Case Study: For Connecting CompactRIO's to Microsoft Azure IoT
PDF
Siemens connect event webcast 1 rev 1
PPTX
What's New in LabVIEW 2017
PPTX
NI Week 2019 Overview
PPTX
Graduation Project Presentation
PDF
Harmonizing policy management with Murphy in Genivi, AGL and Tizen IVI
PPTX
Justin Morris - Enhancing your lync 2013 rollout to make it a killer success ...
DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC
Pushing Data from S7-1200 to Cloud
Improving and Scaling SCADA Systems: Is WinCC OA Right for Me?
Auto Code Generation and Rapid Brewery/Distillery Automation
Siemens oil and gas 2016 WinCC OA
Sitec 2017 Siemens Open Library Presentation
DMC NI Week 2014 High Speed Vision
Lightning Fast SCADA Development with Open Library for WinCC OA
5 Tips for Using TIA Portal V14 to Decrease Safety Development Time
Dmc patco siemens og presentation
Frank Riordan Siemens Automation Summit 2016 Presentation
Taking your Siemens PLC s7-1200 to industry 4.0
Advanced Motion Control: Using the New 1500TF Processor and Siemens LAxis Lib...
Real-World Case Study: For Connecting CompactRIO's to Microsoft Azure IoT
Siemens connect event webcast 1 rev 1
What's New in LabVIEW 2017
NI Week 2019 Overview
Graduation Project Presentation
Harmonizing policy management with Murphy in Genivi, AGL and Tizen IVI
Justin Morris - Enhancing your lync 2013 rollout to make it a killer success ...
Ad

Similar to Flexibility and standardization using dynamic IO addressing and option handling (20)

PPT
PLC Training Intro
PPT
Computer organization and architecture -
PPTX
An overview of siemens plc address mapping
PPTX
Chapter 5 programming concepts iv
PPTX
Input output in computer Orgranization and architecture
PDF
Manual micrologix 1100
PPT
Interfacingiodevice
PDF
Input Output
PDF
ITFT_Device management in Operating System
PPT
Design an I/O system
PDF
Unit 6
PDF
Programmable logic controllers
PDF
CSE491_Computer_Interfacing_and_Peripherals_Lec6_Handsout.pdf
PPT
Chapter 5
PDF
PC Based Instrumentation and Control 3rd Edition Mike Tooley Ba
PPTX
Engineer the Future Now!
PPTX
Io processing
PDF
DOCX
PDF
3245731 tele-controlled-steper-motor-thesis
PLC Training Intro
Computer organization and architecture -
An overview of siemens plc address mapping
Chapter 5 programming concepts iv
Input output in computer Orgranization and architecture
Manual micrologix 1100
Interfacingiodevice
Input Output
ITFT_Device management in Operating System
Design an I/O system
Unit 6
Programmable logic controllers
CSE491_Computer_Interfacing_and_Peripherals_Lec6_Handsout.pdf
Chapter 5
PC Based Instrumentation and Control 3rd Edition Mike Tooley Ba
Engineer the Future Now!
Io processing
3245731 tele-controlled-steper-motor-thesis
Ad

More from DMC, Inc. (10)

PPTX
VI package manager
PDF
NI Package Manager
PPTX
Ni week 2018 DMC presentation IoT
PDF
Ni week 2018_ux_lab_viewcandothat
PPTX
Ni week 2018 LLAMA presentation
PPTX
Career Development Plans as a Competitive Advantage
PPTX
10 Tips for Using SharePoint to prepare for the CSIA Audit
PPTX
Tools for Managing your LabVIEW Source Code
PPTX
Improving and Scaling SCADA Systems: Is WinCC OA Right for Me?
PPTX
Democratizing Digital Marketing: Motivating and Managing Your Engineers to Cr...
VI package manager
NI Package Manager
Ni week 2018 DMC presentation IoT
Ni week 2018_ux_lab_viewcandothat
Ni week 2018 LLAMA presentation
Career Development Plans as a Competitive Advantage
10 Tips for Using SharePoint to prepare for the CSIA Audit
Tools for Managing your LabVIEW Source Code
Improving and Scaling SCADA Systems: Is WinCC OA Right for Me?
Democratizing Digital Marketing: Motivating and Managing Your Engineers to Cr...

Recently uploaded (20)

PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
Well-logging-methods_new................
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
additive manufacturing of ss316l using mig welding
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
PPT on Performance Review to get promotions
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Geodesy 1.pptx...............................................
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Digital Logic Computer Design lecture notes
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
bas. eng. economics group 4 presentation 1.pptx
Model Code of Practice - Construction Work - 21102022 .pdf
Well-logging-methods_new................
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Foundation to blockchain - A guide to Blockchain Tech
OOP with Java - Java Introduction (Basics)
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
additive manufacturing of ss316l using mig welding
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPT on Performance Review to get promotions
UNIT 4 Total Quality Management .pptx
Geodesy 1.pptx...............................................
CH1 Production IntroductoryConcepts.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Operating System & Kernel Study Guide-1 - converted.pdf
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Digital Logic Computer Design lecture notes
Lecture Notes Electrical Wiring System Components
bas. eng. economics group 4 presentation 1.pptx

Flexibility and standardization using dynamic IO addressing and option handling

  • 1. Flexibility and Standardization Using Dynamic IO Addressing and Option Handling David Berno, DMC Inc usa.siemens.com/summitUnrestricted © Siemens 2019
  • 2. Unrestricted © Siemens Industry, Inc. 2019 Page 2 2019 Automation Summit • Title:Flexibility and Standardization Using Dynamic IO Addressing and Option Handling • Track: PE • Presenter: David Berno • Company: DMC • Session # (for your survey): 11.2
  • 3. DMC Overview Established in 1996, offices in Chicago, Boston, & Denver and customers throughout the world Established in 1996, DMC serves customers worldwide from offices in Chicago, Boston, Dallas, Denver, Houston, New York, Seattle, and St. Louis employees & growing 170+
  • 4. DMC has the highest number of S7 certified engineers in the US. Siemens Expertise 35+
  • 6. Industries Served Energy & Utilities Printing Automotive Food & Beverage Semiconductor Chemical Oil & Gas Engineering Specialty Machinery Consumer Goods Packaging Machinery Programming Telecommunications Defense Contracting Pharmaceutical Test & Measurement
  • 7. David Berno Systems Engineer • BS Mechanical Engineering • The University of Notre Dame • With DMC since 2016 • SIMATIC Technical Certification Presenter Info
  • 8. 1. Option Control 2. Dynamic IO Addressing 3. Case Study 4. Comparison 5. Questions
  • 9. Pain points for managing IO: • Managing slightly different hardware configurations • Managing a large volume of IO • What tools as a programmer do you have for dealing with complexity and scale? IO Management
  • 10. • System constants that are created when a hardware configuration is built • Software key to unlocking a variety of different things regarding a piece of hardware Hardware Identifiers
  • 11. • A machine is built with multiple different configurations • Each configurations adds or subtracts hardware from the system, either at the module or the slot level Option Control
  • 12. • Allows hardware modules to be designated as optional in the hardware configuration Optional Hardware Modules
  • 13. • A data record is created to reconfigure either the entire Profinet IO system or a single module on the network Data Records
  • 14. • A data record is created to reconfigure either the entire Profinet IO system • PLC can be left in RUN mode Data Records – Module Level
  • 15. • Uses the hardware identifier for the Profinet IO system to disable, reconfigure and the enable all optional hardware ReconfigIO function
  • 16. • Data records can also be configured to changed the slot configuration on a remote IO rack Data Records – Slot Level
  • 17. • Uses the hardware identifier for the module to reconfigure the slot WRREC function
  • 18. • Tiered control system offerings at volume • Future potential expansion to existing control system • No programmer needed to change hardware configuration When should I use option control?
  • 19. • Standard approach - create PLC tags that are linked to I & Q addresses that correspond to an IO rack or device • IO tags are manually named, linked and used throughout the code Large Volume of IO
  • 21. • Tedious, time consuming process especially when dealing with a large number of IO points • Why not skip the middleman of PLC tags and have the function block look up the I&Q addresses it should be using? Standard IO Addressing
  • 22. Dynamic IO Addressing Hardware identifiers and extended instructions: 1. RD_ADDR 2. PEEK 3. POKE
  • 23. RD_ADDR • Queries a hardware identifier and returns the associated I & Q addresses • The process image associated with the hardware can now be read from and written to in the PLC program
  • 24. PEEK • Used to read the value from the I addresses returned from the RD_ADDR function
  • 25. POKE • Used to write a value to the Q addresses returned from the RD_ADDR function
  • 26. Case Study – Automotive Assembly • DMC worked with a tier 1 automotive supplier whose assembly lines provided a unique framework for flexible IO addressing • Each assembly line is divided into zones and stations
  • 27. Case Study – Automotive Assembly • Extraordinarily large hardware configuration
  • 28. Hardware • 1 S7-1518F PLC per assembly line • ET200 Remote IO • 3rd Party Devices – cameras, scanners, torque tools etc.
  • 29. Case Study – Automotive Assembly • Each station has the option to contain the following devices: • Pick to lights • Camera • Scanner • Torque Tool • Digital Inputs • Digital Outputs • And many more
  • 30. Maximizing Indirect Addressing • Each device FB is assigned a zone, station and number • These three items create a unique identifier that each function block can use to look up a different hardware address • Each function block is able to be reused across all zones and stations and even assembly lines without changing the code • Standard wiring scheme is defined and followed for each device without exception
  • 31. Case Study – Automotive Assembly • Customer Benefits • Reduced IO check time significantly • Reduced programming errors with mislinked IO • Provided easier field wiring for electricians • Creates an easily expandable framework for making hardware additions to the line • Allows reuse of device logic across assembly lines
  • 32. dbHWIdentifiers • Arrays of zone, station and device types used for storing HW identifiers and device type
  • 33. dbHWAddresses • HW Identifiers are parsed using the RD_ADDR function to determine the input and output addresses used
  • 34. Device Example – Pick to Light • The pick to light is a common device used for reducing error in the selection of parts in the assembly process
  • 35. Pick Light IO Map – Type 1
  • 36. Pick Light IO Map – Type 2
  • 37. fbPickLight • Contains logic for controlling a generic set of outputs with optional corresponding inputs – depending on the type • Peek function used to read input status of feedback from picklights • Poke function used to write outputs to the picklights for controlling the status and color
  • 38. When should I use indirect addressing for my IO? • Large amount of IO • Standard wiring schemes • 3rd party devices with standard interfaces
  • 39. Option Control vs Indirect Addressing Option Control Indirect Addressing Multiple deployments of different configurations Large Volume of IO Reduce programmer involvement Standardized IO mapping Manage a known number of hardware configurations Reduce overhead of PLC tag creation • Do not need to be used exclusively!
  • 40. Takeaway • Before you begin your next project, think outside the box when it comes to how you interact with your IO • Consider option handling for any hardware that may be added or subtracted in the future • Consider indirectly addressing your IO where possible to reduce the number of PLC tags that must be created and linked

Editor's Notes

  • #3: Session # will be provided with the June scheduling email.
  • #6: Here are some of DMC’s 1,200 customers
  • #7: Our diverse experience in technology, industry and processes allows us to bring best practices from many areas.  We deliver solutions not available from singularly focused organizations. Our experience is broad and deep.  We have a proven track record in a wide range of industries.
  • #9: Dynamic IO Addressing – what does that even mean? At runtime Automotive case study
  • #10: Who has done a project that doesn’t involve IO? No one Basic building block for every project Managing complexity and volume
  • #11: Set the stage with the hardware identifier Each rack, slot and even profinet network has a hw identifier
  • #12: Deals with complexity Optional pieces of your hardware configuration
  • #14: Won’t dive too technical into the structure, but
  • #16: Link the HWID for the profinet network, the data record and mode 1,2,3 PLC does not need to be stopped to reconfigure modules
  • #17: PLC set to stop mode
  • #19: Programmers are not needed in order to change the hardware configuration anymore! Probably not worth the programming effort for a one off machine – but at volume it starts to make sense
  • #20: Switching gears to dealing with a large volume of tags
  • #21: PLC tags are defined in the HW configuration and then linked to a device function block. All done manually. Error prone
  • #22: Program some intelligence into your function blocks regarding what IO they should be acting on
  • #23: Dynamic/indirect addressing Want to show how I used these three functions to build function blocks for devices that can look up their IO addresses
  • #28: In the hundreds of devices
  • #31: ZS# creates a unique key
  • #32: IO check in the code and in the wiring All the scanners work the same, all the torque tools work the same etc.
  • #33: Provides a single view to translate the hardware configuration
  • #34: Error checking based on the expected number of inputs/outputs are
  • #35: Error checking based on the expected number of inputs/outputs are
  • #36: Pick with Feedback Remake this table for a DI/DO module
  • #37: Pick without feedback
  • #38: Contains logic for managing which picklights are turned on
  • #39: To recap:
  • #40: Next steps for the customer in our case study is to begin mixing option control to allow them to add hardware without a programmer