Dear Community User! We are updating our platform to a new system.
Read more: Important information on the platform change.

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

ctrlX PLC Motion Interface how to get Axis in reference bit?

ctrlX PLC Motion Interface how to get Axis in reference bit?

Open
Occasional Contributor

Hi Community,

I have setup Motion app. Indradrive in SoE.

Open_0-1730788951645.png

I want to get the drive axis in reference bit.

2024-11-05_14h37_55.png

When i try Admin.SetAbsRefDone it is for Admin.SetAbsRef done feedback. 

Open_1-1730789074904.png

Are there a bit for axis in reference bit i can use?

Warmest regards,

4 REPLIES 4

CodeWasi
Occasional Contributor

Hello,
I could not reproduce your described behaviour.
Based on 1.20 version :
- core status in Operation.
- ctrlXDriveEngineering used to delete the Ref-status
- check within the Datalayer the cmd and it works form Motion-app side:

CodeWasi_0-1730796618727.png

- Used the axis-interface

CodeWasi_1-1730796668825.png

Please verify that the motion is in operational and without failure blocking the command. 
Check ist the araxisctrl_gb.... SetAbsMass gets a rising edge.

Please return with your result.

Bye

 

Open
Occasional Contributor

Hi @CodeWasi ,

Thank you for your reply!

Setting absolute reference is working. However i want to read the Axis in reference bit in ctrlX PLC using the motion library is it possible else are there any other ways to achieve it?

Warmest regards, 

CodeWasi
Occasional Contributor

Hi Open,
sorry i did not realisze the lag.
in 1.20 version the "homed" info is not yet supported. Since 2.x version the homed bit is not supported like expected - since the it is updated during PowerOn on the axis.
I recommend to place the S403 info into the cyclic telegram and check this inside the PLC by realtime-add.

CodeWasi_0-1730803623836.png

Closing with the positive info that malfunction is placed as fixed soon.

Thanks

 

CodeShepherd
Community Moderator
Community Moderator

As it seems you are using version 1.20 of the ctrlX OS. In this version you need to add the axis in reference bit (S-0-0403 bit 0) to the cyclic data to have it available in the ctrlX CORE and read it e.g. via the data layer realtime node in the PLC.

From version 2.6 on the information can be found in the CXA_MotionInterface: arAxisStatus_gb[1].Data.DeviceStatus.Homed

 

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