cancel
Showing results for 
Search instead for 
Did you mean: 

codesys Soft Motion / MC_TouchProbe

codesys Soft Motion / MC_TouchProbe

Fred74
Member

Hello,

 

It looks like the fb "MC_TouchProbe" doesn't work. 

Does someone has experience with Touch Probe with codesys SoftMotion.

 

 

7 REPLIES 7

FranzClt
Established Member

Hello

If you wand to use the probe function in the Drive the easyed way is to add the signal word to the drive telegramm.

See the discribtion.

And then you can add the drive function to the signal comand word and to the siganl staus word.

 

FranzClt_0-1670914396580.png

FranzClt_1-1670914407037.png

 

 

Same problem here,

Yes, with the Signal Ctrl Word and Status Word works but this is via parameters, not Softmotion,

It should work with the MC_Touchprobe function block and I have also modified the .xml of the softmotion but the problem still persists,

Is this still an issue or can this topic be closed?

It is an issue the MC_TouchProbe should work with the Drive

CQ2023
New Poster

hi,

I test probe function in drive with external signal, and it works.

First, you need to add signal word to drive telegram

menber2023_0-1675058241678.jpeg

Then, add the signal to PLC Data Layer Realtime node

menber2023_1-1675058241679.png

And last, when the probe signal triggered, you can got the record position.

menber2023_2-1675058241680.png

menber2023_3-1675058241681.png

menber2023_4-1675058241683.png

 

Yes, it works with the bFastLatching = FALSE that could do the thing in some applications (the probe is executed in the cycle of the task)

Ideally it should be executed in the Drive with the bFastLatching = TRUE, however it seems that this option is not working

I do agree with Eric.

We need to read the position which has been latched by the drive in order to be acurate

MC-touch prode doesn't work because My goal is to get rid of the PlcTask.

I tried to read the latched position S130 of the drive In the AT but then there is a problem because S130 if not in the same unit of the Feedback position of Codesys soft which is calculated in the 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