Happy new year everyone,
Yes i havent been back at work a day and i'm in trouble...
I have an inherited machine which basically hasnt worked well since an upgrade (additional crane) prior to its transfer to us.
The manufacturer has gone bust, so no assistance there.
Basically OB35 is called every 10mS to execute positioning code for 2 transporters, this morning i had the following fault in the diagnostic buffer:
If i understand the Fault correctly, the code in OB35 doesnt execute completely before the next call is triggered 10mS???? then OB80(loaded in the PLC)is called.
I spoke to a guy who was involved with the project from the start, and he said that a CPU Upgrade was suggested when the second crane was installed(request declined) so the OB35 code was toggled for each encoder per interrupt.
The CPU currently installed is a CPU 316-2 DP
6ES7 316-2AG00-0AB0 /1.1
The program is large and riddled with Any/DB pointer code, the scan time is also 130mS+
I'm looking at upgrading the CPU and seeing if this helps, although a blank OB121 PROG_ERR is loaded - so i expect mistakes in the code.
despite this the machine still runs although it under/overshoots alot.
What would you guys do?
Thanks for your help
Steve
Yes i havent been back at work a day and i'm in trouble...
I have an inherited machine which basically hasnt worked well since an upgrade (additional crane) prior to its transfer to us.
The manufacturer has gone bust, so no assistance there.
Basically OB35 is called every 10mS to execute positioning code for 2 transporters, this morning i had the following fault in the diagnostic buffer:
If i understand the Fault correctly, the code in OB35 doesnt execute completely before the next call is triggered 10mS???? then OB80(loaded in the PLC)is called.
I spoke to a guy who was involved with the project from the start, and he said that a CPU Upgrade was suggested when the second crane was installed(request declined) so the OB35 code was toggled for each encoder per interrupt.
The CPU currently installed is a CPU 316-2 DP
6ES7 316-2AG00-0AB0 /1.1
The program is large and riddled with Any/DB pointer code, the scan time is also 130mS+
I'm looking at upgrading the CPU and seeing if this helps, although a blank OB121 PROG_ERR is loaded - so i expect mistakes in the code.
despite this the machine still runs although it under/overshoots alot.
What would you guys do?
Thanks for your help
Steve