Totally Integrated Automation Portal TIA Portal provides you with unrestricted access to our complete range of digitalized automation services, from digital planning and integrated engineering to transparent operation. The new version shortens your time to market, for example by means of simulation tools, increases the productivity of your plant through additional diagnostics and energy management functions, and offers you broader flexibility by connecting to the management level.
The new options benefit system integrators and machine builders as well as plant operators.
SIMATIC WinCC (TIA Portal) ES
Consistently implemented, digitalization lets you run activities by different disciplines for a single project in parallel. By avoiding redundant steps, and thanks to higher programming code quality and time-saving libraries in TIA Portal, you can achieve an integrated engineering workflow and reduce the time spent on developing new machines. Continuous Integration is a well-known method in IT and is used for optimizing software development while also improving the quality of the results.
It can also be applied to engineering in automation projects with TIA Portal. Automation shows you how to work with TIA Portal more easily and efficiently to boost your productivity. Benefit from the constantly growing compendium of tips and tricks, including valuable inside knowledge, arranged clearly, and available whenever you want it. The new version of TIA Portal enables further applications through innovative handling functions, a new multifunctional hardware platform, and optimized drive integration.
TIA Portal enables access to the entire digitalized automation — from planning and engineering to operation. The bottom line: less complexity resulting in shorter time-to-market, transparent processes, and maximum productivity.
See all references. Time savings of approx. Consistency of the overall system with OPC UA for connecting a wide variety of hardware to the control system. Significantly shorter engineering cycles and greatly improved efficiency for intelligent lithium batteries. Mechatronic development combines mechanics, electronics, and automation with interdisciplinary teams.
TIA Portal networks all components from different manufacturers and link them to an overall system. Significantly increased number of possible applications thanks to the compact size of the new four-edge chipping machine. New developments, faster and more reliable implementation of customer requirements and commissioning. Increased efficiency and performance with regard to control and operation, particularly of more complex machines.
High productivity and efficiency thanks to fully coordinated technologies in the hardware and software. Continuous data exchange with the control system for access to up-to-date data — for all employees. Digitalize now and gain a competitive edge with the Digital Enterprise Suite.
You can also access a network shared drive if the HMI has been correctly networked. For this example, we'll just be saving the logs to a USB flash drive inserted into the comfort panel, but if you'd prefer saving to a network folder, Siemens has a post that explains how to correctly network, set up user administration, and share a folder with the HMI.
I'll be creating a file name that includes the current date. Create a new FileCtl. FileSystem object. Now we can create the required folder structure if there is one. We use the Dir method to check if our folder currently exists. If not, then we use the MkDir method to create the folder. I added some error handling to my script so that if there is a problem executing this command, it will get displayed on an alarm window that I have in my project.
You'll want to use the Open method, passing in the location and name of the file. This command will open the file if it currently exists, and create a new file if it does not.
If this is the case, you can use the LinePrint method to add comma separated column headers to the top of your file. Now you can concatenate all of your data into a comma-separated format and use the LinePrint method again to write to the CSV file. In my example, I'm using different time functions to create a timestamp for all of my data values to make each one unique.
Lastly, you just need something that will trigger the script to run. You have multiple options that provide varying levels of control. Find out more about DMC's Siemens expertise. Name required Name Is Required. Comment Is Required.
Notify me of followup comments via e-mail. Blog Categories. FileSystem" 'Check if the folder already exists If fso. Description Err. File" 'Open our csv file for appending fctl. Open fileLocation, 8 If Err.
LinePrint dataValues fctl. Close Step 6: Trigger the Script Lastly, you just need something that will trigger the script to run. Scheduled Tasks can be used to trigger the script automatically across longer time periods 1 minute - 1 year. HMI tags can also be used to trigger a VBScript if there is a specific program event that should cause information to be logged. Lastly, a button event can also be used to call the script.
Comments There are currently no comments, be the first to post one. Related Blog Posts.They are based on each other and are optimally tailored to the individual classes of operator panel. The larger software package always includes the configuration options of the smaller package. The engineering framework into which the software products are integrated standardizes all shared functions — also in their on-screen representation.
User benefits range from intuitive operation through the editors' integrated intelligence to the advantages of a shared database, which ensures highest transparency and absolute consistency. Reusability saves engineering effort and simultaneously increases the quality of the solution. Reusability extends to acquired knowledge in using the software just as much as it does to existing engineering blocks that have been developed and tested.
A comprehensive library concept makes them available for new projects, no matter whether they are single operator controls or entire visualization solutions.
For the first time, the TIA Portal combines the engineering systems for the diverse automation tasks. The shared framework, uniform interface, and the same type of configuration of comparable automation tasks ensures a short familiarization period with a high recognition value. For decades, the development of automation software was aimed at more functionality and more efficiency. Engineering software was developed to the point where it became a highly specialized, tailored tool for a given task.
Only with the increasing importance of software ergonomics did software developers begin to look beyond their own tool and begin to include the approaches of other developers with regard to user interfaces in their considerations.
The look and feel of the software products also became more uniform under the influence of office software. In this development, the TIA Portal represents the next logical step: from similar to shared, from related to integrated. The system generates all of the necessary settings, such as the connection, HMI tag and screen object for you. Whether you have selected an individual tag or are using a multiple selection plays no role in this. A user-friendly selection window allows you to select the corresponding object.
The entire TIA Portal provides selection windows for configuration, which eliminates error-prone, manual and especially multiple entries of the object names. One problem of traditional engineering systems is guaranteeing consistent data management. Every engineering tool only guarantees data consistency within its own system.
Even if an attempt is made to standardize the interfaces, the configuring engineer is mainly responsible for the availability and consistency of the data, with all of the accompanying disadvantages such as additional work expenditure and increased susceptibility to errors. The TIA Portal is based on shared data management: Any changes to application data which are made at any point in a project are automatically and immediately repeated at all of the other points of use.
The various editors of the TIA Portal do not have to be opened for this.Site Explorer Site Explorer. I'll be most thankful. It is exactly the same problem. Any other data type gets passed between script and supertag. Except string that is.
Now my problem is a bit serious as these strings are ingredient names being read from a recipe for making a blend. That is the whole purpose of automating this plant. Basically, there is list of ingredients stored in some tanks. There are many recipes. I am writing a script to associate ingredients from the recipe with the storage tanks, in order that the correct quantities to be drawn from them is calculated and the sequence of operations is given over to PLC for control.
It seems much more powerful than what is required for simple string comparison and assignment. Worse is that in the page WinCC reference there is hardly any reference to this issue with strings. This is bound to be a common problem as what is the use of a HMI based recipe system that can't handle ingredient names??
I dont understand your problem Its the ingredient quantity that matters from the recipe right. Cant you access a recipe by its position? I have been exploring various ways. I think I'll try the LookupText function. Have'nt understood it fully as yet. Assure you that I'll share what I find. If you include each element of the array as a HMI Tag, then you can index each element as follows:.
Industry Online Support. Product Support Services Forum mySupport. Rating 0. Thanks 1. Advanced Member. Experienced Member. Thanks Dawson for looking in. I am really hitting a wall. If you know ANY work around, I'll appreciate it. Thanks once again. In my system I have hundreds of recipes for different blends, taken from different storage spaces whose contents keep changing from time to time.
The recipe is the formula co-relating a ingredient's name and its percentage composition required in a product. The Information about where each Ingredient in inventory is kept is also separately updated manually and is always available to the PLC. So I thought I could do a search by script seeking where a ingredient is located.
I think it is straightforward as logic goes. Gold Member.Site Explorer Site Explorer. JPG Downloads. Industry Online Support.
Product Support Services Forum mySupport. Rating 3. Thanks 7. Experienced Member. I added a button and set "on click" to this script. When download to the panel and click the button, nothing. What am i missing in order to get a script to run on a comfort panel with Portal v11?
SOrry if its a dumb question, but i couldn't even find any decent winCC scripting info in the help file for Portal. Where is it? For WinCC there is a section in the "refernece" category in the help file that explains a bunch.
Where is this in portal? Platinum Member. Allows time for all data to be captured in database. A folder named with current date is created on the USB.
Attachment error Gold Member. Share this page:. Share this page on Presales info. Follow us on Twitter Youtube. Rate 0. I am tring to get a simple vbscript working.
TO start with i am just using some text constants to try it out.Though, this process starts to become tedious when there are many objects with many individual tag connections for visibility, location, and process values.
First, allow me to describe the situation that led to the need for a completely dynamic faceplate. A client gave DMC a project that needed an HMI interface that allowed operators to add, remove and edit steps in a user-defined sequence. Each step in the sequence had a type and several Boolean, integer, and floating-point values that the operator alters to change setpoints for that step. Because only some of the settings were used in each step type, and there were a lot of settings, we decided that it would be simplest if the HMI displayed only the parameters relevant to the selected step type.
At a high level, think of the dynamic faceplate as a junction box that connects the HMI objects to different PLC tags, depending on the step type. The faceplate contains 21 objects, seven switches, seven drop-down menus, and seven IO fields, that are all linked to tags internal to the faceplate.
The faceplate also has 15 interface connections, four Boolean, three Integer and eight Real, that can connect to PLC tags. When the faceplate receives a new mode, it pulls the values from the PLC tags and places those values in the corresponding HMI objects. The step type is a 32bit integer it uses the lower 28 bits that the faceplate interprets as seven, four bit, nibs.
Each nib contains a number from that corresponds to either a blank space or one of the 15 interface connections. The abbreviated code snippet below controls the visibility of the screen objects and passes the data from the screen object to the conection tag. The first script, shown above, runs when the current step type changes and the second script runs when any of the HMI objects values' change.
As mentioned, the first Visual Basic script runs when the step types' tag changes. It masks and shifts each nib to the left giving seven location modes each ranging from 0 to Because each of the seven locations on the HMI can be linked to any one of 15 different tags or left blank, there are a lot of possible modes,in fact.
Finding the desired modes and copying those into a project is not a trivial task.Siemens TIA Portal HMI tutorial - Create/Write to EXCEL file from WinCC RT (HMI RT)
To create a list of step types you have to fill in each row with the tags you want to appear on the HMI, and then copy the list of types and names into an HMI text list. This dynamic faceplate demonstrates how using Visual Basic scripts within faceplates can further increase faceplates versatility and capability, reducing project-specific complexity and needed PLC logic.
With this tutorial, you should have all the ideas and information you need to make your own dynamically linked faceplate for specific or general applications speeding up complex HMI development.
Name required Name Is Required. Comment Is Required. Notify me of followup comments via e-mail. Blog Categories. Why Faceplates? Uses Because each of the seven locations on the HMI can be linked to any one of 15 different tags or left blank, there are a lot of possible modes,in fact. Conclusion This dynamic faceplate demonstrates how using Visual Basic scripts within faceplates can further increase faceplates versatility and capability, reducing project-specific complexity and needed PLC logic.
Comments There are currently no comments, be the first to post one. Related Blog Posts.Site Explorer Site Explorer. JPG Downloads. Industry Online Support. Product Support Services Forum mySupport. Rating 3. Thanks 7. Experienced Member. I added a button and set "on click" to this script. When download to the panel and click the button, nothing. What am i missing in order to get a script to run on a comfort panel with Portal v11?
SOrry if its a dumb question, but i couldn't even find any decent winCC scripting info in the help file for Portal. Where is it? For WinCC there is a section in the "refernece" category in the help file that explains a bunch. Where is this in portal? Platinum Member. Advanced Member. Allows time for all data to be captured in database. A folder named with current date is created on the USB.
Attachment error Gold Member. Share this page:.
Totally Integrated Automation Portal
Share this page on Presales info. Follow us on Twitter Youtube. Rate 0. I am tring to get a simple vbscript working. TO start with i am just using some text constants to try it out. File" If Err. Description Err. Clear Exit Sub End If f.