WinCC Unified v17 # 11: Unified JavaScript Object Model 🧰

Поділитися
Вставка
  • Опубліковано 26 гру 2024

КОМЕНТАРІ • 7

  • @namdarjp14
    @namdarjp14 Рік тому +1

    It's an excellent explanation. Thanks

    • @WinCCGURU
      @WinCCGURU  Рік тому +1

      Glad it was helpful! thanks for watching!

  • @Ahmed-mu6jj
    @Ahmed-mu6jj 7 місяців тому

    Thank you for your great videos. I've learned a lot from you. I have a question regarding the two buttons: 'Write Tag' and the i/o field 'speed'. I would like to enter a number in the 'speed' field, for example, for the bottom button 'Write Tag'. Next, I would like to enter a 'speed' value for the upper button. But when I press the lower button again, the last written value for the bottom button should be displayed again. How can I achieve that?

    • @WinCCGURU
      @WinCCGURU  7 місяців тому +1

      thanks for your kind comment, glad you learned some stuff! If I understand, you want to hold temporary values to write to a tag. There are a few ways to do what you want. One way involves having low and high limit internal tags which would hold the current high and low values you want to write. The button would just read that tag and write that value into the speed tag.
      Another way is to use a global script variable for the high and low values you want to store. see ua-cam.com/video/28feASbIifQ/v-deo.html for some tips, however make sure you don't declare it as a constant.

    • @Ahmed-mu6jj
      @Ahmed-mu6jj 7 місяців тому

      @@WinCCGURU Thank you, i will try it

  • @PatrickDreyerCapo
    @PatrickDreyerCapo 5 місяців тому

    My Traceviewer is not updating with anything. It stays blank. I am in V19.

    • @WinCCGURU
      @WinCCGURU  5 місяців тому

      Check the filters you have set