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

SMC_PositionTracker added,many errors happened

SMC_PositionTracker added,many errors happened

lilian
New Poster

MicrosoftTeams-image (4).png

 when i used this FB, i just declare SMC_PositionTracker and build the project. These errors happens.if i use this FB, do i need to add other components?

5 REPLIES 5

CodeShepherd
Community Moderator
Community Moderator

Moved to corresponding sub forum CODESYS - PLC Add-ons.

Which version of the ctrlX PLC Engineering is used and in which library this function block is included? It sounds a library from our IndraMotion MLD.

I use SM3_CNC_Visu.lib as shown in the picture

lilian_0-1693366507229.png

the PLC Engineering is version  1.20.1

lilian_1-1693366653726.png

 

JordiLaboria
Established Member

On page 42 of this manual is detailed the module you comment. To me it worked without problems and without adding any additional thing to part of the variables commented in the image

 

Best Regards

Jordi Laboria

E-Mail: jordi.laboria@boschrexroth.es

https://www.youtube.com/channel/UCzE-ieCIkyMsuvyE0UDji9g

DCET/SLF4-ES

Hi Jordi

thanks for your reply

I compare introducation of smc_positionTracker  with what I used .

The lib  Version is 4.1.0.0 in  attached document.

lilian_0-1693569619442.png

The version I used is 4.5.1.0

lilian_1-1693571138418.png

Is there a bug in this version?

 

 

JordiLaboria
Established Member

Good morning Lilian

I've been checking what you say and it works for me.

It is important to modify the execution speed of the display task.

In the example of my manual, I have a value of 100ms seconds in the visualization task that was sufficient in simulation mode. As you can see I have changed it to 15ms and the "Position Tracker" works.

JordiLaboria_0-1693811970522.png

 

This is already mentioned in the manual, since it depends on whether we are using the simulation mode or with real axes the system works slightly differently and the values must be adjusted in both cases.

JordiLaboria_1-1693811989547.png

 

I am using the 4.5.10 library of SM3_CNC_Visu

JordiLaboria_2-1693812016434.png

 

Best Regards

Jordi Laboria

E-Mail: jordi.laboria@boschrexroth.es

https://www.youtube.com/channel/UCzE-ieCIkyMsuvyE0UDji9g

DCET/SLF4-ES

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