Beckhoff Embedded PLC

gillettos

Member
Join Date
Aug 2018
Location
Derbyshire
Posts
2
Morning all, we have a CP2715-0010 1.46GHz Atom running Windows 10 Enterprise (Embedded PLC with the HMI). Problem being is the performance is incredibly slow, sometimes even effecting the HMI response time.

There's no big demanding program on the PLC just a 4 Motor drive config.

Anyone got any ideas what could be causing it or just a case of adding more RAM?
 
A couple of things I would be looking at.

TwinCAT 2 or TwinCAT 3?

The CP2715 comes in 3 cpu options, the base single core, or various upgrades to dual, and even quad core cpu.

If you have Windows 10 32bit, and are running TwinCAT 2, you can only access a single core for TwinCAT related control (regardless of if you have a dual or quad core cpu). TwinCAT 2 is limited IIRC a max of 90% cpu allocation for TwinCAT Runtime usage. I believe default is 80% but it has been a few years since I touched TwinCAT.

You would want to check your PLC and Runtime execution times to see how much of your TwinCAT Runtime is being utilized for PLC tasks or SAF/SVB tasks for NC PTP or NC I motion axes. If you have a 1ms or less EtherCAT master update rate, and 4 axes of motion on a single core cpu, that can chew into your available CPU pretty fast depending on the overall size of your process image moving on the EtherCAT bus.

PLC tasks can chew up available RT too if you have some errant while/loops or other large processing delays.

Ultimately TwinCAT will service the Runtime system as a priority before relinquishing control back to windows for general UI, User mode applications, HMI etc. You cant really gauge how much the TwinCAT side is using by anything in Windows (i.e. taskman), you have to use the tools on the TwinCAT side to gauge load.

There are some alternative ways to balance the load if you have a Dual core, or Quad Core CPU in the CP2715 *AND* you have TwinCAT 3. With Multiple core cpu's and TwinCAT 3, you can take advantage of something called core-isolation. With Core isolation and dual core or greater cpu, you can hide one or more cores from windows, and direct TwinCAT to utilize only the isolated cores for all PLC and Realtime work. This would effectively leave windows free to run without the impact of TwinCAT on the remaining core(s) and would allow windows to be more responsive, and by proxy the applications (hmi, etc.) running on it.


Sorry this email is a little stream of consciousness I wanted to get some information out there to you while I was on break at work. :whistle:

Kind Regards,
Patrick
 

Similar Topics

Hello, Does anybody knows that Beckhoff embedded PC, for example CX9020 or CX5120 can drive how many motions. now want to chose one controller...
Replies
6
Views
2,173
Hello Friends, I am using Vacon NXP drives and Beckhoff Embedded PC (TwinCAT 2) in my project. The communication protocol is Ethercat. I am...
Replies
6
Views
3,348
What's HMI Touch Screen which you prefer to be used with Beckhoff Embedded PC (CX5000, CX1x00)? I'm mostly use Beijer HMI with Beckhoff ADS...
Replies
2
Views
3,582
Hi everyone, This is my first time posting, so please forgive any omissions or mistakes. I am attempting to control the velocity of a stepper...
Replies
18
Views
1,026
Hello sameone have Beckhoff PLC Siemens Sinamics V90 configuration example?
Replies
0
Views
101
Back
Top Bottom