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

MLC to ctrlX project Conversion

MLC to ctrlX project Conversion

YUL725
Long-established Member

Is there any plan for Project conversion from IW MLC to ctrlX ? Some of our OEM will be concerned about the re-use of hardly developped functionalites in the new platform. Thanks!

5 REPLIES 5

CodeShepherd
Community Moderator
Community Moderator

The is no tool to simply click a button and convert the code. But we already transferred several projects successfully. In my opinion the rule is:

If only codesys standard libraries were used on the "old" MLC system then it can be run on a ctrlX CORE nearly without changes.

When using MLC specific libraries like RIL_Commontypes and so on, most of them were already transferred to the ctrlX ecosystem and you simply have to change them to the CXA_... version (or only change the placeholders)

When using very firmware specific functions like winder and so on we are actually working on this topic.

The main difference is the fieldbus and firmware functions. Like e.g. there are no direct variables available. But on the other side there are also PLC-Open standard function blocks (CXA_PLCOPEN) for motion commands available like they have been before. And also read and write parameter function blocks that now use the EtherCat instead of the Sercos.

State machine like from the GAT compact are also portable/adaptable. I did that already two years ago.

For further suggestions it would be necessary to know which direct firmware functions and other interface customer is using.

POUL
Established Member

From the start you have to get the project moves from MLC to Corr device - after that compile and check errors.

But - I can't just open the MLC project and set the target. And I can't just export and import, because it is wrong level.

I try export/import PLCopenXML on CtrlX, but is not support on MLC

POUL_0-1676893725832.png

Is there some one that could explane just have to get started?

CodeShepherd
Community Moderator
Community Moderator

The function in the MLC side is just called "Export --> PLCOpen...".:

IndraWorks export PLCOpenIndraWorks export PLCOpen

Such files can be imported in ctrlX WORKS via "Import PLCOpen XML...". Used that function for bringing e.g. a GAT state machine into ctrlX PLC Engineering and also other standard code.

HmiGuide
Community Moderator
Community Moderator

PLC Open Export/Import is not the best solution, because CoDeSys visu can't be exported and some CoDeSys code is changed by PLC Open Export. There is a better way. Please see article: 

https://developer.community.boschrexroth.com/t5/ctrlX-PLC/Import-PlcOpen-export-from-IndraWorks-Engi...

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