Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
PLC and HMI Development with Siemens TIA Portal

You're reading from   PLC and HMI Development with Siemens TIA Portal Develop PLC and HMI programs using standard methods and structured approaches with TIA Portal V17

Arrow left icon
Product type Paperback
Published in Apr 2022
Publisher Packt
ISBN-13 9781801817226
Length 436 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Liam Bee Liam Bee
Author Profile Icon Liam Bee
Liam Bee
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Section 1 – The TIA Portal – Project Environment
2. Chapter 1: Starting a New Project with TIA Portal FREE CHAPTER 3. Chapter 2: Creating Objects and How They Fit Together 4. Chapter 3: Structures and User-Defined Types 5. Section 2 – TIA Portal – Languages, Structures, and Configurations
6. Chapter 4: PLC Programming and Languages 7. Chapter 5: Working with Languages in TIA Portal 8. Chapter 6: Creating Standard Control Objects 9. Chapter 7: Simulating Signals in the PLC 10. Chapter 8: Options to Consider When Creating PLC Blocks 11. Section 3 – TIA Portal – HMI Development
12. Chapter 9: TIA Portal HMI Development Environment 13. Chapter 10: Placing Objects, Settings Properties, and Events 14. Chapter 11: Structures and HMI Faceplates 15. Chapter 12: Managing Navigation and Alarms 16. Section 4 – TIA Portal – Deployment and Best Practices
17. Chapter 13: Downloading to the PLC 18. Chapter 14: Downloading to the HMI 19. Chapter 15: Programming Tips and Additional Support 20. Other Books You May Enjoy

Managing simulated inputs

S7-PLCSIM does not provide a solution for managing the simulation of input signals. It is up to the programmer to choose one of the following solutions:

  • Create a watch table and modify its input signals
  • Create an input mapping layer with dedicated simulation data

These two approaches both have strengths and weaknesses, but creating an input mapping layer is the correct choice when you wish to create standard control objects and UDTs.

Using watch tables to change inputs

In the Project tree area, open the Watch and force tables folder. Double-click the Add new watch table item; a new watch table called Watch table_1 will be created:

Figure 7.9 – The watch table view

The new watch table will open with no tags to be monitored. In the Address column, an Input address can be added that you can monitor.

Note

When input cards and remote I/O are added to a CPU in the Device configuration window, input memory...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime