We encounter a problem at our lab machine that once a day the Controller switches to service mode.
As advised in this community, I have added the IecCheck library, but the system logger afterwards has no extra information.
Is it definitely a logical error or it can be related to HW issue(I have already switched the Module supervised setting configuration to off)?
Is it possible to read the backtrace info and relate it to the specific program that caused this?
Can anyone advice how I can get to the root cause of this Error ?
As advised in this community, I have already added the IecCheck library but the system logger afterwards has no extra information.
No lines in the backtrace with a green arrow next to them(as appears in the screenshot attached).
We have about a hundred cyclic programs â moving some of them out and inspect this error may not produce the Error because the functionality of the machine will not work.
Here is a Thread in the Community how to use the Profiler for such an analysis, if the default Profiler does not contain enought data. How to use Profiler
Checking the newest Versions of Software-Components in the Project can be also a good idea. In rare cases there are issues which got fixed in newer Versions.
And at the end, just go the hard way of an software review. In cases all other Diagnostics will not help and the error canât be encircled.
It looks like you got some good suggestions from multiple users here, and it has been a couple of weeks since the last activity on this post. If the answers helped you with your question, can you help the next person with the same question by marking the solution on the information which helped you the most. If you still have open questions on this topic, can you provide an update?
Regarding the wrong time logs, currently the time zone setting in the PLC configuration is set to GMT but the time is wrong. How can I check and set the correct system time (PLC: 5APC2100_BY01_000)?
Regarding the profiler, âContinuous recordingâ means that once the PLC is in run mode it is being overridden Continuously but once the PLC will switch to SERV mode(the problem we face occasionally) the last profiler will remain?
regarding âupdate all hardware module versionsâ, will it update the FW version that is supported by the currently installed Automation studio(4.9.2.046) of all devices on the machine? this update might require me to update the Automation studio or automation runtime(B4.73) or any other action accordingly?
Regarding the wrong time logs, currently the time zone setting in the PLC configuration is set to GMT but the time is wrong. How can I check and set the correct system time (PLC: 5APC2100_BY01_000)?
There are several options. The simplest thing will be to use AS for this:
it just means the profiler will continously run (= ring buffer) until it is stopped. When PLC enters SERV all actions will stop anyway. Unfortunately the memory preserved for profiling set by default configuration is often to small so you should increase that. To save the new configuration it has to be transferred to âUSRROMâ