AC500 Start/Stop using Diagnostic while CPU is in run mode
I have an AC500 Cpus which have ethernet ports.
My customer had problems with plant director and ask me that if ı can stop cpu's between 11:00 am - 17:00 pm.
I mean stop CPU in a predetermined time and start it again at predetermined time.
I can reach CPU time via using RTC_GET_Tıme and do some operations. I also can compare my predetermined time with current time
Only ı need is a diagnostic function
Anybody use such a function?
Thanks for answers.
If the PLC goes into stop mode, then the PLC program stops and cannot put the PLC into run mode ....
So the answer to your question has to be "No" you cant just stop the CPU.
You can of course start and stop the Programs inside the PLC even though the PLC is in run mode. Have a look at the task control functions. Your supervisory program that checks the PLC clock will have to remain running, but you could stop the other PLC programs running under different tasks.