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

Single Axis Motion for axes configured as a gantry pair

Single Axis Motion for axes configured as a gantry pair

craigthomp
Established Member

We are using motion app 1.10.1.

I have 2 axes configured as gantry axis.  I am unable to call moveVelocity or MoveAbsolute on either axis unless gantry mode is activated.

craigthomp_0-1639019101037.png

Application requirements:

1) Need to be able to individually jog and position the axes before turning on gantry mode.  This is need for initial alignment.

2) Need to be able to break out of gantry mode for slave during movement and switch to indiviual MotionAboluste command to realign the axis in final positioning.

 

 

5 REPLIES 5

TheCodeCaptain
Community Moderator
Community Moderator

Hi Craig,

a MoveVelocity is not yet build in, a MoveAbsolute can be done in the following ways?

1. For an individual movement an axis you have to explicitly allow it and disable the gantry monitoring function for the time.

This can be done via the Datalayer:

motion/axs/YOURAXIS/cfg/functions/coupling/gantry/move-allowed

It is recomended to reset the bit to false after the singe axis movement for safty reasons.

2. The message in your picture is because you configured the axes to be able to be part of a gantry but you didn't couple the gantry yet.

This has to be done with "ML_AxsAddToGantry" and remove it with "ML_AxsRemoveFromGantry"

3. Break out of the gantry mode is not possible while moving, you have to be in standstill (see description of ML_AxsRemoveFromGantry)

 

A workaround for you could be not to use gantry mode but to copy the command values from one axis also to the other axis in your application. But you have to do all the errorhandling by your application as well.

 

For gantry alignment there is an uncompiled example function block in CXA_GANTRYALIGNMENT which can be used and also adapted to your needs. This takes also care about the "move-alowed" bit.

This is a large gantry on wheels in a track and final position is made based on sensor inputs on both sides.  It would be more flexible to go from Gantry mode to MoveAbsolute on Fly.

Where can this library be found?

Hi Craig,

thanks for the feedback, will give it to the development for future improvements.

The library can be found in the PLC Engineering from Version 1.12 on.

see also the documentation "Functions" --> "Gantry coupling"

MichaelB
Community Moderator
Community Moderator

Here is the link to the actual documentation for Gantry coupling.

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