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 .data and .diag

Axis .data and .diag

alink
New Contributor

Hello,

using AxisInterface, I'd like to get .data.actual.... and .diag.... feedback of the drive(s)

.Data.ActualPosition - WORKS

.Data.ActualVelocity - NO WORK

.Diag.Error - WORKS

.Diag.Message - NO WORK

.Diag.NumberMain - NOW WORK

Why do some work and some not? - see picture

Is it possible to read out the parameter directly, i.e. S-0-0040 or S-0-0084 of the drive(s)?

Working with: ctrlXPLC 1.12.3

Apps:

Motion: 1.12.5

PLC: 1.12.4

2 REPLIES 2

CodeShepherd
Community Moderator
Community Moderator

The "Diag" part is empty as long as there is error present at the drive.

The actual values can only be shown as they are present in the PLC. The actual position is part of the cyclic data but in standard the others are not. If you need this actual values, you can configure S-0-0040 and S-0-0146 into the AT.

axisinterface axis statusaxisinterface axis status

Of course you can read all drive parameter asynchronous. With the function MB_ReadParameter from the CXA_EthercatMaser library. Or also when ctrlX CORE - DRIVE Connect App is installed via a standard Data Layer read (CXA_DATALAYER -> MB_ReadParameter). See this thread as example.

OK, found another solution.

Till now, I used IndraDrive MLD for drives, so I am a greenhorn, especially with ethercat...

Now, I know how to config ethercat - data and to add parameters to write/read via ehtercat as well as to implement them in PLC.

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