Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

not enough memory for command

not enough memory for command

CristianERuiz
New Poster

Hello collegues im having a problem in PLC program when im trying to start a continous motion the the ctrlX report me the next image

CristianERuiz_0-1694108715362.png

and all Cores fromCPU go to 100% of processing.

CristianERuiz_1-1694108942430.png

 

in this situacion i cant open the ethercat server and the follow screen come when this happn, just response the ctlX plc Engeneering. 

CristianERuiz_2-1694109043105.png

 

 

10 REPLIES 10

CristianERuiz
New Poster

Adding more information i have this Core

CristianERuiz_0-1694109329164.png

and this drives

CristianERuiz_1-1694109464126.png

working under Ethercat.

and im using this Function

CristianERuiz_2-1694110251048.png

 

 

Could you please tell us which version of the system apps and specially ctrlX MOTION is used? Also ctrlX PLC Engineering and used CXA_MOTION library are interesting.

Please keep in mind that this is function and will be executed each time the PLC code will get to it. So after executing once you have to make sure it will not be again in the next cycle. Otherwise you will start it with each cycle again and load up the CPU and RAM utilisation depending on your cycle time of the PLC.

Hello!... its strange cuz i was using this same code with 2 Drives HCS01 ands was working perfect the application... when i exchange for the new drives starting this problems... im not in argentina now but maybe in few days ill give you that information!... ty so much for the fast answer.

CristianERuiz_0-1694725258219.pngCristianERuiz_1-1694725349689.png

 

I still cannot see the system apps (would be really nice to have) but only the application apps. And what I first see is that there is strange mixture of 1.12, 1.20 and also 2.02 apps. I generally suggest to use apps of the same version. And also you should use the latest released patch.

Did you check if code is called each cycle and spamming the ctrlX CORE? Could you send me your program via a private message?

In general there is no difference in the ctrlX MOTION between using HCS and ctrlX DRIVE. Did you both add via SoE? Could you add the firmware versions of the drives?

Sure ill send you all to private ty!

Just to clarify in you did not use the HCS connected to a ctrlX CORE? I guess you used a MLD solution and directly wrote to drive parameter right, is that correct? Could you a little be more describe your former setup and used commands?

In the ctrlX MOTION the command command ML_AxsVelocity is not designed to be called each cycle. But you could try using it as unbuffered command thst will overwrite old commands (see documentation).

Currently you could do a cyclic velocity commanding of the drives by hand (see this documentation) or use a cyclic position command (see this documentation).

Hello, yes i use the same ctrlX core... but with 2 hcs01... in this case i just exchange the 2 hcs01 for ctrx drives.

im writing this parameters every cicle

CristianERuiz_0-1695142762044.png

ill see the documentation ty!.

 

Is there a reason, that you insert the velocity after calling the function? I would suggest to do it the other way around. And like mentioned add "buffered":

Write_Vel1.In.AxisName := 'Axis_1';
Write_Vel1.In.Velocity := r_X_Final;
Write_Vel1.In.Buffered := FALSE;
ML_AxsVelocity(Data:=Write_Vel1);

 

@CristianERuiz Are there any news? Is this still an issue? Or can this topic be closed?

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist