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

Booting axis profile / motion app fails with "State Machine Error" when connected to a IndraDrive Cs

drschiffler
Established Member

Booting axis profile / motion app fails with "State Machine Error" when connected to a IndraDrive Cs

Hi everyone,

Problem statement:

- Release SW Version for all used Apps RM 21.03

- EtherCAT Master bind to X50

- axis profile "Servo over EtherCAT" created and connections assigned to drive

- Indra Drive Cs (Firmware MPB V18)

- Try to switch motion app to the state RUN

--> Fails with message: "AxisProfile state machine error, Switch state machine to running failed"

Any ideas?

4 REPLIES 4
CodeShepherd
Community Moderator

Re: Booting axis profile / motion app fails with "State Machine Error" when connected to a

There are several posibilities:

  • The axisprofile itself could be incorrect. So please check the mapping.
  • Please also have a look to drive if there are any pending errors.
  • The EtherCat could not be in OP.
  • The system is still in SericeMode.
  • The scheduler is stopped.
  • After boot up the axisprofile could stay in configuration but can switch to running with a another click on play
    • this is already under investigation
drschiffler
Established Member

Re: Booting axis profile / motion app fails with "State Machine Error" when connected to a

Solved!

During boot up the EtherCAT communication the "axis profile" do a SoE-Sync read on the drive. One of the parameters asked for is S-0-0533. This parameter is used for scaling the torque values.

It seems that drives (IndraDrive Cs Firmware MPB V18 ) have here a default value (not defined or "0") which lead to the failing boot up. 

Solution: Set the parameter S-0-0533 correctly.

Hint for debugging: Turn on trace messages in the datalayer for "comm" (payload "true,true,true") and also in the logbook.

@CodeShepherd,
Thanks for the hints.

Kangcunfen
New Poster

Re: Booting axis profile / motion app fails with "State Machine Error" when connected to a

Dear Sir,

Where is axisprofile saved, in the ctrlx or PC?

The same project is downloaded in two ctrlx and the same drive is used. When booting, one ctrlx is ok. Another has axisprofile error and the red light is blink in the ctrlx.

 

CodeShepherd
Community Moderator

Re: Booting axis profile / motion app fails with "State Machine Error" when connected to a

The axis profile is part of the app data stored on the ctrx CORE.

axisprofiles in app dataaxisprofiles in app data

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