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

Undefinable movement issue

Undefinable movement issue

alink
New Contributor

Hello,

since some time there is something strange in motion.

Without changing anything in motion (code) with an established movement this happens:

An engine should rotate right with speed and number of turns (positioning) then a turnaround and rotate left with speed and number of turns (positioning). This never was an issue.

But now, especially when it is working and after an online change with ctrlX PLC Engineering, after the first movement, it stops. The turnaround doesn't happen. But there is no error in CtrlX-Core!

Being online with PLC Engineering, command is set and it is waiting for "Axis[1].Admin.CmdDone", but without movement it never will be done!

I use this as well: "arAxisCtrl_gb[AxisIndex].Admin.Config.UpdateEveryInput := TRUE;" But it doesn't seem to have issues. This config is reseted if functionblock with motion is not enabled (now, for a test).

With ctrlX Drive Engineering I started scope. The strange thing:

There are position commands / targets for the first direction (righthand movement). When command is done, then there is no new target postion! Target is "0" but there should be a lefthand movement.

Another new issue, there is an option for manual right/left rotation on my VISU / HMI. If doing this, it can work but it is possible to get an error. This error is available in CtrlX-Core: It is:

090F2002 + 0C570100

To get everything back to work, in most cases, a PLC-Reset (warm) is necessary!

Current apps are 1.18.

alink_0-1696494065114.png

Before, I run 1.16 and had no issues like that (currently I am working with a test system).

Currently, I have no idea why and when this issue happens and how to solve it.

Doing a warm reset can, but musn't help.

Any hints?

12 REPLIES 12

CodeShepherd
Community Moderator
Community Moderator

Could you please use the latest officially released version of 1.20, as 1.18 is not longer supported.

The documentation for your error number (090F2002 + 0C570100) can be found in the online documentation.

When doing the tests please switch on motion traces and create a system report (like mentioned here) in case of the existing erroneous behaviour or error.

OK, I see V1.20 but a V2.02 as well, why not V2.02?

CodeShepherd
Community Moderator
Community Moderator

You can check with both.

1.20 is the current long term support version (LTS) that is delivered when a ctrlX CORE is ordered and should be used for productive machines.
2.02 is a early adopter version not accessible for everyone and should be used for feature testing purposes only.
See "Release cycle of apps and engineering software"

Thanks for information.

Now I updated to 1.20, let's see if issue comes again.... as reported, it's strange with no (PLC-program) reason. The called error (code) is suddenly after a log in with ctrlX Engineering. First it works with no issue, then it doesn't with that error. Or, a motion process is working good a long time, after a new log in, it doesn't with no error code. 

Updated.

But now: if using jog-mode with my VISU, fine. When turning right, it is possible with max speed of 2469rpm.

alink_0-1696581935016.png

 

But when starting motion process (right / left rotation and positioning) with same speed I get error in CtrlX Core:

alink_1-1696581998842.png

But all limits inside CtrlX are set as high that they never could be exceeded (all limits are set in Drive):

alink_2-1696582113846.png

 

Attached you'll find a system report.

Another question: Motion apps hangs in Config after update to V1.20.

Don't know why, did what is written here in release notes:

alink_3-1696582377230.png

Is that the right solution?

Edit 1: no, it isn't

Edit 2: deleted Motion App and reinstalled -- no effect, making new Axis and AxisProfile -- no effect. Motion.core doesn't run.....

CodeShepherd
Community Moderator
Community Moderator

I guess you are using different commanding ways in your visu and in your continuous command.

Please check the set limits in the MotionInterface as they are not equal to the motion absolute limits but own limits for the movement itself:

  • araxisctrl_gb[].VelMode.DynValues.Acceleration
  • araxisctrl_gb[].VelMode.DynValues.Deceleration

Could please confirm if parameter mentioned in the release notes is readable on your site?

I checked the commands:

When jogging with VISU

This is working

alink_2-1696591921542.png

 

When motion process, these commands are used:

alink_0-1696591829073.png

alink_1-1696591882608.png

Result: Error with a speed limit exceeding which nowhere is set (limit 10rpm, commanded any other about 1000...2469rpm)

In both cases, the speed, acceleration and deceleration is the same.

It's a input at my VISU

--------------------

The parameter mentioned in release notes is S2 as I read, means S-0-0002?

alink_3-1696592432233.png

Currently, I don't see an issue with EtherCat.

----------------

But, I can't do any further test anymore because motion app isn't running...neither after boot nor manualy

alink_5-1696592637747.png

EtherCat seems to be OK

alink_4-1696592491227.png

So, there are 2 things.....

------------------------

Update: I deleted all APPS, reboot, reinstalled all APPS.

Switching to 'operating' motion keeps in 'config', still the same issue:

alink_5-1696592637747.png

---------------

next update:

Found two times axisprofile in Scheduler ctrlx Automation -- issue?

alink_0-1696596590090.png

------------

next UPDATE:

deleted all APPS again, scheduler is 'empty'

alink_1-1696597385669.png

No APP is installed, after reboot this message:

alink_2-1696597499461.png

What, where? The placeholders?

---------------

Update:

after all tryings, still this error:

Motion keeps in 'Config'. No chance to set in run........

alink_0-1696599954511.png

 

CodeShepherd
Community Moderator
Community Moderator

Could you share your PLC code with so I can have a look to it? Or could we have an online meeting to check it? please send me a private message with your project/contact data.

For your scheduler issue you can check out this post how to reset the settings.

What is mentioned in the logbook why the switching to running fails? On your last screenshot it seems that axisprofile is booting up well but motion is not because of axis settings.

Don't have so much experience with DataLayer, how to "send {} to "scheduler/admin/cfg/reset-programs" via the data layer."

In that screen it's not possible, isn't it?

alink_0-1696843782803.png

After uninstall motion app, reboot, reinstall motion, I could swith motion to run.

In scheduler it looked that way (there is a "motion"):

alink_1-1696843940773.png

After a reboot, it looked that way (instead of "motion" it's now "_placeholder_motion"):

alink_2-1696844053336.png

Motion isn't booting.

I will PM you, I don't have any further idea.

CodeShepherd
Community Moderator
Community Moderator

After an online meeting we did following:

  1. Reset scheduler configuration, because it seems there were artefacts of an older system. This is currently happening when updating app by app over several versions
    1. Scheduler configuration of ctrlX MOTION still not correct
  2. To generate new callable configuration of ctrlX MOTION
    1. Uninstall ctrlX MOTION app
    2. Install ctrlX MOTION app
  3. To generate new callable configuration of ctrlX EtherCat master
    1. Delete EtherCat master instance
    2. Create EtherCat master instance
  4. As system seemed to be crashed rebooted control
  5. Grab a system report after booting up in secure state
  6. Rebooted control
  7. Checked and updated motion configuration
  8. Added "arAxisCtrl_gb[].VelMode.DynValues.Velocity" = "arAxisCtrl_gb[].VelMode.Velocity" to customer code

Now system is working like expected.

Also we found a bug in "PosMode" that "arAxisCtrl_gb[].PosMode.Velocity" and "arAxisCtrl_gb[].PosMode.DynValues.Velocity" is always set to the same value.

Hi CodeSheperd,

motion app startet in RUN after turning on tomorrow. No issue till now. Thanks for help yesterday.👍

As an addition, in SetupMode ".DynValues.Velocity" doesn't limit speed, it's without function (and not set as in PosMode with ".velocity" - value automatically).

As seen, ".SetupMode.DynValues.Velocity" is not used in code. ".SetupMode.Vel" is set to 1000.

Below, in whatchlist, is seen: SetupMod-DynValus-Velocity is 10. But engine speed can be set to and rotate with 1000 (or any other value) without error.

alink_0-1696924008872.png

Now, either DynValues have a limit effect or not for all functions (VelMode, PosMode, SyncMode(not tested), SetupMode).

But now, having two different ways of working is not a good idea.

Did several log in / log off and online changes during developing.

The initial issue with "Undefinable movement issue" could not be reproduced till now.

Before, with V1.18, sometimes after first online change and log on / off something with commands for right/left rotation direction, speed and acceleration / deceleration was broken. In both cases, if using ".SetupMode" or ".PosMode"

Now with V1.20 no problems but I will keep an eye on it. Till now, there is no idea why it and what happened and why it should be solved with v1.20.

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