Dear Community User! We are updating our platform to a new system.
Read more: Important information on the platform change.

cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

F0220281 with ML_SwitchOnPath

F0220281 with ML_SwitchOnPath

aFouraker
Occasional Contributor

I am using the ML_SwitchOnPath and have received the F0220281 error on the block. This error only seems to go away after the controller is restarted but eventually it recurs. When I scope the target and actual position of the kinematic the data looks good and thr robot has no issue executing the commands. I am not sure what triggers this error on the block. 

6 REPLIES 6

NormalOne
Established Member

According to the help you have an invalid floating point parameter. So in my opinion you have to check the parameters of the fucntion block.
Do you e.g. use some pointer and the pointer is not initialized?
Do you work with OnlineChanges, that the storage is overwritten?

NormalOne_0-1712897564571.png

 

aFouraker
Occasional Contributor

@NormalOne, no pointers are used. Some online changes but also performed a clean with download and saw the problem come back. 

SchneJoe
Established Member

@aFouraker , did you you test different values? Even without decimal digits? If yes, I think we need to open a T&R ticket. Do you have a simple project to reproduce the problem?

NormalOne
Established Member

The error message signals that floating point parameter is not correct. So there are different possibilites for it. Above I mentioned some reasons, but there could be more, e.g. division through zero.
So in my opionion you should check the real inputs of the function block in the error case. One input is in my opinion not correct.
There exist also a open function block with which you can check the values before you assign them to the function block.

aFouraker
Occasional Contributor

@NormalOne Added this check and will see if this resolves the problem. Thanks!

aFouraker
Occasional Contributor

@NormalOne, this did not seem to fix the problem though I have found other use for that code. I ended up rewriting the ML_SwitchOnPath for my purposes for now and opened a ticket internally on the issue. Thanks. 

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