Most efficient Freelance language?
We are reaching the CPU load limit at one station.
Could it be possible to safe CPU load by re-designing user function blocks in a different language?
I wouldn't increase cycle time AGAIN!
What is the most efficient language in Freelance 2000?
AWL? FBS? KOP? ST? Or are they nearly equal?
Could it be possible to safe CPU load by re-designing user function blocks in a different language?
I wouldn't increase cycle time AGAIN!
What is the most efficient language in Freelance 2000?
AWL? FBS? KOP? ST? Or are they nearly equal?
Voted best answer
Hello,
the language with the smallest overhead would be AWL, but it is also the hardest to read and write. All other languages are internally compiled to something like AWL. Before rewriting programs you should consider to either split your application into 2 controllers, or replace your current controller with an AC 900F, assuming your current controller is a DCP02/10 or an AC 800F.
One comment on the side. If you are not familiar with AWL it could be that your result in rewriting code could actually need more CPU time than before, because the compilers of FBD or ST do actually a good job in breaking down statements of a higher language into small steps of the AWL like internal code.
If you have programs that do not need to work all the time or are situation dependent, you might consider using SFC (or AS in German). That could reduce the CPU load, because the programs of a step are only executed when the step is active.
the language with the smallest overhead would be AWL, but it is also the hardest to read and write. All other languages are internally compiled to something like AWL. Before rewriting programs you should consider to either split your application into 2 controllers, or replace your current controller with an AC 900F, assuming your current controller is a DCP02/10 or an AC 800F.
One comment on the side. If you are not familiar with AWL it could be that your result in rewriting code could actually need more CPU time than before, because the compilers of FBD or ST do actually a good job in breaking down statements of a higher language into small steps of the AWL like internal code.
If you have programs that do not need to work all the time or are situation dependent, you might consider using SFC (or AS in German). That could reduce the CPU load, because the programs of a step are only executed when the step is active.
Answers
Thanks for Answer.
AC900F is not an option because this devices does not fit our needs. All our IO go over DP and PA, 4 lines per AC800F. AC900F have only 2 bus lines.
Change Everything to AWL... Naaa. Changing the most used User Blocks would not have many effect, as you say there is no huge difference.
Seems only the "divide Controllers" option is left. Maybe i can switch one DP line with another controller.
AC900F is not an option because this devices does not fit our needs. All our IO go over DP and PA, 4 lines per AC800F. AC900F have only 2 bus lines.
Change Everything to AWL... Naaa. Changing the most used User Blocks would not have many effect, as you say there is no huge difference.
Seems only the "divide Controllers" option is left. Maybe i can switch one DP line with another controller.
Add new comment