FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
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.
12-09-2021 04:19 AM
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.
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.
Solved! Go to Solution.
12-09-2021 08:44 AM - edited 12-09-2021 08:49 AM
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.
12-09-2021 01:52 PM
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?
12-09-2021 02:05 PM
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.
12-10-2021 12:06 PM
see also the documentation "Functions" --> "Gantry coupling"
05-06-2022 08:07 AM
Here is the link to the actual documentation for Gantry coupling.