DEFINE_PROGRAM is not running, why?
Anarckos
Posts: 41
which can prevent running the DEFINE_PROGRAM?
the message will not appear. the issue is not just about the message, anything that puts to run depending on the time is not done.
the message will not appear. the issue is not just about the message, anything that puts to run depending on the time is not done.
(***********************************************************) (* THE ACTUAL PROGRAM GOES BELOW *) (***********************************************************) DEFINE_PROGRAM WAIT 10 { IF (TIME = '18:00:00') { SEND_STRING 0,"'Show Message'" } } (***********************************************************) (* END OF PROGRAM *) (* DO NOT PUT ANY CODE BELOW THIS COMMENT *) (***********************************************************)
0
Comments
Problem solved.
the code works, the problem is with the clock of the controller.
I noticed that the time displayed in the diagnostics is the time of the computer and not the master.
English by google, sorry.