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

Getting data from MTX using OPC or an SDK - how to?

Getting data from MTX using OPC or an SDK - how to?

AlbertMN
New Poster

Hello guys.

We're trying to interface with the Rexroth MTX CNC controller (used for a large-scale 3D printer), but having issues getting started.

It seems we need to connect to the "OPC" to get data this way, but we've had no luck with establishing a connection. We've tried from Python and C#.

The thing we're trying to build, is something that runs on the Windows machine, not a direct part of the PCL, but we need our program to be able to get data from the PLC.

So, my questions are;

1) How do we best do this? Is OPC the way to go, or is there an SDK we can use? (we tried getting "MLPI" to work, but without luck)

2) How to do this? Are there any code examples or example projects anywhere? It looks like it should be pretty straight-forward, but 8 hours of trying, with direct access to the machine, didn't get us any closer - we simply couldn't get the OPC connection up and running, or MLPI


We're quite positive the OPC UA server is running, and we have successfully interfaced with the PCL using the OPC test client, but when attempting to connect ourselves, no combination of... anything... has worked.

If anyone has any code examples on how to do this, we'd be very grateful (we're probably just missing the obvious here - but we're just not able to crack it).

Thanks!

2 REPLIES 2

AlbertMN
New Poster

It seems like the MTX is only running a OCP DA server, and not UA - so that is probably the reason our attempts fail. But seeing UA is its successor, and it's a quite new machine (and the documentation says it supports, and should run, UA), you'd think we'd be able to set up the UA server, right?

No luck with this either - any help is appreciated.

Thoomas
Community Moderator
Community Moderator

At first: Sorry of not answering, I don't know what happened here. 

Secondly: Is the question still a question, or did you find the right answers in the meantime?

If not, then just some words: Yes, the MTX supports an OPC UA server at the controls for years! MLPI belongs only to the MLC.

It also exist a documentation what includes all information how to establish a OPC UA connection and how to get the data and the prerequisites to get PLC data in particular (symbol data ...).

In case you need some more information related to your application, please send me a private message here. Give some information about your hard/software and "goal to achieve" too, please.

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