SUGIH4D Autom Solusi Super Scatter Zeus Sugih 4D

< All Topics
Print

Galileo V7 – V10 difference increment

La conversion de variable est différente sous les deux versions de Galileo

Un client avait un probleme avec un projet converti, lors de l’utilisation d’un bouton fonction “Inc 1” il pouvait incrementer de 0,1 en 0,1 sous la version 7 mais plus sous la version 10 dans laquelle l’increment etait maintenant de 1 en 1 apres la conversion du projet.


Probleme

Hello,

I have too many files in progress, I need help to respond to customers, can you help me to respond to this problem?

A customer changed an XVS400 for an XV300, he converted the project with Galileo V10 but encounters problems on a variable.

The machine operator say him that when he used the “+” button (see picture below) he increment the value of 0,1 by 0,1

But since the new version is installed, the increment is 1 by 1.

The function used in the project is “Key Inc 1”.

The program has not been changed.

I told them that the function key cannot increment by 0.1 and that the project is the same in the old version and in the new one but the end customer is not budging!

I quickly analyzed the old version and the new one a few weeks ago but I found nothing in the pages or in the scripts.

Do you have any idea?

I share the two projects with you via Onedrive.

Sorry again to put you to the test but I can’t manage everything anymore, thank you very much in advance

Reponse

Hello Bruno,

I had a look at the projects and they are basically the same but the way how variable conversions work has changed.

In Galileo 7 variable conversions were assigned to the variable and a variable always had just one conversion. I assume that the increment function checked for the last digit of the variable in Galileo 7 which was due to the conversion the xx.0 so the increment was always 0.1.

In Galileo 10 the conversion is not connected to the variable but to the different functions. This makes it possible to use several conversions for different functions with the same variable. The increment function now has a second optional parameter for a conversion and we have to use this parameter.

Right now the conversion which was imported from Galileo 7 is just mirroring the PLC value to the HMI value. To stream a 0.1 increment into the PLC variable I would add a second conversion and only use this on the increment and decrement buttons on M05_Stationen.

The conversion should look like this:

With this conversion the button still increments or decrements 1 but the PLC receives 0.1. This conversion has to be added to every increment and decrement button but not to the value displays otherwise they would should the PLC value multiplied by 10.

I hope this instruction helps the customer to get the old behavior back. If there are any questions regarding this just reply to this email.

Powered by WordPress