Posted on Leave a comment

Application of Siemens Touch Screen Variable Pointer

In some projects, we need to display multiple values on the touch screen. For example, we need to display the temperature values sampled through the analog module. Because the screen of the selected touch screen is relatively small, we can’t display all the temperature values on the touch screen. If we want to achieve this function, we may choose to display this temperature on multiple screens. But for Siemens touch screen, we can use the function of variable pointer to realize it. Now all the temperature values are displayed on a single screen, but at the same time it has the disadvantage that only one number can be displayed at the same time.

How to achieve this function? Mainly in the following steps to achieve.

First, to create variables, besides setting up the temperature values that you need to store from the analog module, you also need to set up a variable that shows our temperature and a variable that puts a pointer. For example, if we have ten temperature channels to display, then we need to set up twelve variables. For the variable selection of this pointer, we can choose the data type of “INT”. Other variable data types can be selected according to the actual situation.

Second, configure variables. Select the temperature value in the variable, then select “pointing” in its properties, and enable the pointing function in it. The index variable chooses our “temperature pointer” variable, and then each index value corresponds to a temperature value.

Thirdly, to create a text list, the function of the text list is to display the name of the temperature we are currently displaying and which channel temperature we are displaying. Create a new text list named “Temperature Name Display” and select it as a range in the next “Select” item. Configure the following list entries and display them as 1 channel temperature when the value is equal to 0. When the number equals 1, it is shown as 2 channel temperature value… Configure the remaining list entries in turn.

Fourth, configure the picture, drag and drop a symbol I/O field in the picture. Configure it, set its type mode to “Input/Output” in the general item of its property, and display “Text List” as the “Temperature Name Display” text list we just established. The process variable chooses the variable named “temperature value variable pointer” in the established variable.

In addition, an I/O field is established beside the temperature value to display the temperature and set to “output” mode in the type. Variables are linked to temperature values in decimal format. After configuring these, we can achieve this function.

Leave a Reply

Your email address will not be published.