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

Axis Interface: MB_AxisInterfaceBase Inputs

Axis Interface: MB_AxisInterfaceBase Inputs

bkautzman
Established Member

When I add the MB_AxisInterfaceBase function block to my Ladder program there are four inputs displayed that are not listed in the documentation(iOpMode, bStart, udiCycleCounter, CmdDoneInternal and DynLimDoneInternal).

bkautzman_0-1728484281167.png

I have been unable to find any information about these inputs, other that the tooltip text that appears when hovering over each of them. There’s no information about them in the ctrlX PLC Library Reference documentation and they also don’t appear via Intellisense when I add the same function block in a Structured Text program. The equivalent block in the MLC, MB_AxisInterfaceType01, does not display these additional inputs when added to a ladder program.

Does anyone have information about these properties?

 

4 REPLIES 4

Jochen_Mueller
Community Moderator
Community Moderator

Wy are you not using the standart way to insert the MotionInterface? So you don't have to care about the "internal" FBs...

Jochen_Mueller_0-1728537094491.png

Jochen_Mueller_1-1728537193442.png

The insert will

  • add a MotionInterface program to the project
  • and change the tast configuration
    • add MainTaskMotIF and call the main AxisInterface program (and some demo progs which can be deleted)
    • add a MotionTask, in which a possible motion sync prog part of the motion interface will be called.

Jochen_Mueller_2-1728537472108.png

Now you can easily command axis by

  • writing the global command array stuct
  • reading the global status array struct. 

Jochen_Mueller_3-1728538002506.png

 

Regards

Jochen

 

 

Hello Jochen,

 

Thank you for your response.

I am well aware of the standard way to add AxisInterface functionality to a project and I will be encouraging my customer to use this method. They were used to adding the function block directly in IndraWorks and this question arose after testing in the ctrlX ecosystem.

I would still like to understand why these inputs are displayed in this manner. Despite being an "internal" function block, it is still available to a user and is listed in library documentation. 

@bkautzman 

The mentioned inputs are only for internal use. These inputs should not be displayed (“attribute 'conditionalshow'”). But in LD unfortunately it will be visible. In ST not. (see Screenshot) We will check this behavior and try to find a way that this inputs always not visible. 

Regards

Jochen

Jochen_Mueller_0-1728886631783.png

 

Refactor them as properties and they will not be visible in LD (and will also be 100% compatible), and also if they are internal they should be marked as internal:

AndreasL_1-1728896141164.png

 

 

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