Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing LOGO timer values from Virtuino
#6
(06-30-2023, 10:55 AM)GianniPower Wrote: Hi, 
Sorry if I wasn't clear. 
I want to send the value from application to plc.
In a different widget I want to see the timer running time but I can only get the value as a decimal, for example 16,75 hours

Yes you can.
The app can convert a variable in seconds or milliseconds  to time formated value.

In this video: https://virtuino.com/downloads/videos/time.mov
the variable V0 contains a number that can be displayed as seconds or as time with format  hh:mmConfuseds or hh:mm.
Using a script you can convert the seconds of the variable V0 to minutes or any other value you want to send to PLC.
You have to replace the Emulator 1 with the PLC variable. The every time you change the time the app will send the converted value to PLC.
This happens because the value is stored in the 0 as milliseconds or seconds.
I hope to help you
Reply


Messages In This Thread
RE: Changing LOGO timer values from Virtuino - by iliaslamprou - 06-30-2023, 08:57 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)