hexagon logo

Need instruction or code

Hi.
I wonder if there is an instruction or code that to certain hour executes a program in PC dmis?

as always, thanks for any information.
  • Do you want to execute a program in PC-DMIS at a certain point in time (hour)?

    or...

    Do you want to know how long the program has been running?
  • Sorry if not explain me correctly.
    What I want to know is if exists a command or code that automatically to certain hour, execute "X program". For example: that be placed always in certain place upon finalizing the shift.
  • This must be new and innovative. Sorry I don´t get it. Do you mean you know when a production line will deliver and what it will deliver? It is fresh at least for me.

    But if anyone can do it, it is vpt.se he is the code master.

    And Vpt.se I´m so sorry that your post is gone. You did speak the absolute fuc!king truth about PC:sickSmileyMIS.
  • This must be new and innovative. Sorry I don´t get it. Do you mean you know when a production line will deliver and what it will deliver? It is fresh at least for me.

    But if anyone can do it, it is vpt.se he is the code master.

    And Vpt.se I´m so sorry that your post is gone. You did speak the absolute fuc!king truth about PC:sickSmileyMIS.


    Yeah, I saw that the post was gone too, haven't checked if the entire thread is removed yet though.
    I noticed that a certain moderator had visited my personal forum page too, so maybe they are thinking of removing me altogether...

    Anyhow - whisho, look up Windows scheduler. I don't know if you can execute a partprogram automatically by just using PC-DMIS. It might need an external application to actually execute the partprogram in PC-DMIS.
  • I think you can start a programm by a loop which turn untill systime >= time assignment. I don't know how write it, but it should be a good way to do it !
  • Thank you very much for all your comments. I will try with the options you have given me. Anyway, if someone has another idea, will be well received.

    Thanks again.
  • With Systemtime, you could write it like this :
    ASSIGN\TIME_TO_START="01:30:00"
    DO/
    ASSIGN\VAR1=SYSTEMTIME("hh':'mm':'ss")
    UNTIL/VAR1>=TIME_TO_START

    If you type hh, time is formated on 12 hours, if you type HH, it's on 24 hours.
    The programm runs on itself during all the time waiting time to start...
  • Thanks Jefman and all who have responded to my request. I appreciate your help.
    But what we really need is that the program is run from nothing, ie, that at a certain time, open PC DMIS, open the program and run ... or if already open, just open the program ... all of this automatically ..... it will be possible to do this with any instructions or codes?
  • If production don´t bring you parts that must be done periodically, it is not your fault or I still don´t understand why you would need such a code.
  • Thanks Jefman and all who have responded to my request. I appreciate your help.
    But what we really need is that the program is run from nothing, ie, that at a certain time, open PC DMIS, open the program and run ... or if already open, just open the program ... all of this automatically ..... it will be possible to do this with any instructions or codes?


    You would need to write a seperate application to do that, it's not something that would be done with PC-DMIS at all. This would be a better question for an application programmer not a CMM programmer.