CODESYS: Calling a Dialog Box (and using Date Picker) in visualization

Поделиться
HTML-код
  • Опубликовано: 30 янв 2025

Комментарии • 18

  • @patvey
    @patvey 2 года назад +2

    Hi Tohid, another excellent video. I know you did it a while back, but it saved me today. A question about the OK and Cancel. Your demo does not really show properly the Cancel functionality. Do do you do with the Dialog OK and Cancel to make it work properly?

    • @TohidAlizadeh
      @TohidAlizadeh  2 года назад +1

      Hi Patrick, thanks for your comment!
      I will check this out and update you later.

  • @АндрейГаранян-п7ч
    @АндрейГаранян-п7ч 7 лет назад +2

    How use keypad? That operator can input value to integer variable. Tap on rectangle, opendialog 'KeyPad', input something, and closedialog.

    • @TohidAlizadeh
      @TohidAlizadeh  7 лет назад +2

      It is quite similar. I will prepare a video tutorial soon. Stay tuned!

    • @TohidAlizadeh
      @TohidAlizadeh  7 лет назад +2

      Have a look at this video:
      ruclips.net/video/N5lbkpfNmJs/видео.html

  • @jorp78
    @jorp78 6 лет назад +2

    Hi, How can I launch DialogBox from code? specifically using structured text, example: an alarm and show in a popup. Thanks for yours videos

    • @BoyPenTa-o8b
      @BoyPenTa-o8b Год назад

      Please help how to trigger pop up using boolean signal from PLC

  • @MERGUL-ec5no
    @MERGUL-ec5no 2 года назад +2

    Hello Mr.Alizadeh, OK Button and Cancel Button in Dialog Screen have only one function that make Close Dialog Box. Why are they used same time for same funtion. Why Cancel Button isn't functional for Cancelling Date Assigment Operation. or Why OK Button isn't functional for Confirming Date Assigment Operation

    • @TohidAlizadeh
      @TohidAlizadeh  2 года назад +3

      Merhaba Ergul bey,
      That's true. I just had a look at it again. With the current settings of the project the variables are updated once you click on the corresponding button, as the ST code is executed. Then clicking on OK or Cancel closes the dialog.
      There is a difference in the application of the OK and Cancel buttons as they provide different Result, and the visualization could be configured such that clicking on Ok updates the variables and clicking on Cancel does not.
      I will try to make another tutorial and explain this at some point.
      Thanks again for your comment.

  • @birgunes
    @birgunes Год назад +1

    when i try to add datetimepicker there is error "the global text list is not available" how can i found this

  • @JoshuaChristianJavier
    @JoshuaChristianJavier Год назад +1

    May I know if you have videos for setting up the Time in Visualization in which I can adjust the time like the Date adjustment in this videos. Thanks hope you see my message

    • @TohidAlizadeh
      @TohidAlizadeh  Год назад +1

      Thanks for your comment. You can find a list of all videos I have made in the Road Map document that I have prepared. The link to the most updated version can always be found in the pinned comment under the corresponding vide: ruclips.net/video/UEYMi9hZYP4/видео.html
      Please look through it to see if I have a video on a special topic.

    • @JoshuaChristianJavier
      @JoshuaChristianJavier Год назад +1

      @@TohidAlizadeh Thank you sir Tohid I already check your Roadmap but unfortunately the one that Im finding was not in your videos which is about TIME. I only see about your Date picker. My conflict about TIME using DATE and Time Picker is that Initially the time is running but whenever I adjust the timer the time stops and stays with the numbers that I input.

    • @TohidAlizadeh
      @TohidAlizadeh  Год назад +1

      I see, I will check this out and get back to you later.

    • @JoshuaChristianJavier
      @JoshuaChristianJavier Год назад

      @@TohidAlizadeh Thank you very much sir Tohid. Im really grateful for all your videos and learned a lot of things. And what I notice is that you actually repyling to your Subcribers and thats awesome.

  • @jimmychen6998
    @jimmychen6998 5 лет назад +1

    Hi @UC_qsTO2Z8tAt3Vx4P2SdH6w, thanks for the video! Just wondering if there is a way to "drag" that dialog around, or how to dynamically/programmatically move the dialog around?
    Thanks in advance :)

  • @JoshuaChristianJavier
    @JoshuaChristianJavier 2 года назад

    Thank you Sir for all your videos. I just want to ask How do you find the value that will put on Text this %t[yyy-MM-dd]. Hope you my message Thanks.