Getting Started on Mazak Machine

Posted By tbm0115 11/19/2014 4:01:50 PM
Add to Favorites1
Author Message
tbm0115
 Posted 11/19/2014 4:01:50 PM
Supreme Being

Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)

Group: Forum Members
Last Active: 2/26/2017 4:01:15 PM
Posts: 17, Visits: 125
We've got a Mazak Variaxis i-700, which is a native MTConnect device. So far, we've been able to make a barebones dashboard from the default stream. However, after much research, we still have some basic questions (please forgive me if these are no brainers) about getting started...

  1. How do you know which port MTConnect is streaming to? (We initially tried the using just the controllers pc name, but stumbled upon a brochure mentioning the use of port 5000. This worked, but I wonder if there is a way to find it on the controller.)
  2. How can you add/delete/edit data items (the XML stream from a probe request)? (We couldn't find any MTConnect related filesystems on the machine controller)
  3. Combination of the two previous questions: If you have multiple machines with native MTConnect support, is it possible to combine their streams? (Please, no ghostbusters references...)
I have tried getting ahold of Mazak support, but they haven't responded in the past week and a half. Tried both email and phone.



Thanks in advance,

Trais


Trais
rkwadd
 Posted 11/20/2014 8:53:49 AM
Supreme Being

Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)

Group: Administrators
Last Active: 12/6/2018 3:33:06 PM
Posts: 33, Visits: 148
1. Not sure on this question, sorry

2. Typically the XML stream would be parsed or filtered in an external database driving your dashboard application or in the dashboard application itself depending on the architecture. In other words you take the XML that's output from the control and delete or edit; no option to add more data items. Not sure if this is a correct interpretation of your question though.

3. Don't cross streams...It would be bad. Oh wait you said DON'T make a Ghostbusters reference...
The answer to this is pretty similar to my answer for 2, although I'm more confident that I'm reading this question correctly. Data streams from multiple machines are combined in whatever database or software you're using to drive your dashboard. There's no convention for the best way to do this with MTConnect data; at this part of the implementation it doesn't really matter what type of data you're combining so the best mechanism depends on your need and what software tools you're best at using or learning. Once you have multiple streams, "how to best combine data" is no different for MTConnect streams than with any other generic XML data.

There are some Mazak people on this forum so hopefully you get a response here if not from your earlier communications; ultimately they are probably best equipped to answer the first question if not the second two.
tbm0115
 Posted 11/20/2014 5:25:37 PM
Supreme Being

Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)

Group: Forum Members
Last Active: 2/26/2017 4:01:15 PM
Posts: 17, Visits: 125
Thank for your quick response. I'm still very new to MTConnect, so at this point I don't know what I don't know, but I'm assuming I must be misinterpreting something.

In regards to your second answer: I'm not sure if know the correct terminology, but I think I'm looking for editing the device information. Basically the XML that defines the available devices in the entire network and subsequently what data is output in a current request.

So far, it seems like I'd have to edit the agent that used to output the information as opposed to an XML file directly (as I was initially hoping). Is this

What I'm understanding from your third answer is that it's "normal" or at least acceptable for multiple streams available within the same network. For example:

Mill #1 has a stream at http://Mac1:5000/current

Lathe #1 has a stream at http://Mac2:5000/current

If this is the case, I'm equipped to handle this with a "watcher" console program I wrote. I could just open another instance of it on the server and have it save the streamed data to another table in the database. What I was wondering, was if I could instead tell the agent on one machine to route the stream from say Lathe #1 to the stream of Mill #1 so I could access the current streams of both machines with the same URL of http://Mac1:5000/current. If this is even possible, it would definitely reduce the amount of load on my "watcher" program on the server.



Sorry for the confusion and thank you for your help!


Trais
rkwadd
 Posted 11/20/2014 7:04:34 PM
Supreme Being

Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)

Group: Administrators
Last Active: 12/6/2018 3:33:06 PM
Posts: 33, Visits: 148
No worries, it's not that much confusion for a first post and early on in an implementation. I think I understand your question about device information, but unfortunately I don't have an answer for you.

Regarding multiple streams, I don't see any reason you COULDN'T route a stream through another machine...but on the other had I don't know if this has been done or how exactly to do it!

In both cases, I think there are some more technically competent and experienced people on this forum that will need to pitch in to give you more definitive answers. I'll watch this thread for a few days, and if nobody weighs in I'll make a few calls to try and get some input.
NeilD Marked As Answer
 Posted 11/24/2014 12:58:31 PM
Supreme Being

Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)

Group: Forum Members
Last Active: 10/11/2018 6:33:31 AM
Posts: 11, Visits: 34
Trais:



The default port for all the Mazak Agents are 5000.

http://machineIP:5000/probe

http://machineIP:5000/current

Filtering...

http://machineIP:5000/current?path=//Controller/Components/Path/DataItems/DataItem[@type="EXECUTION" or @type="CONTROLLER_MODE"]



Mazak has a sample Dashboard to use that will show basic info for TWO machines for free.

It is possible to configure one AGENT that supports multiple machines.

Mazak has MTConnect BOOT CAMP training sessions available....

https://support.mazakcorp.com/Anonymous/Training/Classes

For more detailed info, you can send an email request to MTConnect@mazakcorp.com


https://www.mazakusa.com/machines/mtconnect/
http://www.mtconnectforum.org/forum/Uploads/Images/e89c43dd-44f9-428e-8f45-b636.png
tbm0115
 Posted 11/24/2014 2:03:06 PM
Supreme Being

Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)Supreme Being - (7,128 reputation)

Group: Forum Members
Last Active: 2/26/2017 4:01:15 PM
Posts: 17, Visits: 125
Thanks to you both!

Both of your answers solidified my question about handling multiple machine streams.



NeilD: Clarification on Mazak ports helps a lot, as we have multiple Mazak machines and intend on acquiring more. I've looked up the MTConnect BOOT CAMP, are there any brochures that go over what would be covered in the course?


Trais
NeilD
 Posted 11/24/2014 5:54:52 PM
Supreme Being

Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)Supreme Being - (5,018 reputation)

Group: Forum Members
Last Active: 10/11/2018 6:33:31 AM
Posts: 11, Visits: 34
We have a class syllabus. Send an email to MTConnect@mazakcorp.com asking for it. I will send it right away.

Basically, the first day is "101" (what is MTConnect, what can I do with it, etc.)

Day two is installing, testing, troubleshooting, configuring AGENTS.


https://www.mazakusa.com/machines/mtconnect/
http://www.mtconnectforum.org/forum/Uploads/Images/e89c43dd-44f9-428e-8f45-b636.png
rkwadd
 Posted 12/5/2014 3:03:08 PM
Supreme Being

Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)Supreme Being - (13,085 reputation)

Group: Administrators
Last Active: 12/6/2018 3:33:06 PM
Posts: 33, Visits: 148
This is a little late, but I was reviewing the MTConnect standard document and thought it held some relevant information for this question. This is just a small piece of it reproduced, but see Part 3, Section 3 if you haven't already:

Below is an example XML Document response for an Agent with two devices, mill-1 and mill-2. The data isreported in two separate device streams.


<MTConnectStreams>


<Header/>


<Streams>


<DeviceStream name="mill-1" uuid="1">


<ComponentStream component="Device" name="mill-1" componentId="d1">


<Events>


<Availability dataItemId="avail1" name=="avail" sequence="5"


timestamp="2010-04-06T06:19:35.153141">AVAILABLE</Availability>


</Events>


</ComponentStream>


</DeviceStream>


<DeviceStream name="mill-2" uuid="2">


<ComponentStream component="Device" name="mill-2" componentId="d2">


<Events>


<Availability dataItemId="avail2" name="avail" sequence="15"


timestamp="2010-04-06T06:19:35.153141">AVAILABLE</Availability>


</Events>


</ComponentStream>


</DeviceStream>


</Streams>


</MTConnectStreams>


The sequence numbers areunique across the two devices in the example above. The applications MUST NOT assume that the event and sample sequence numbers arestrictly in sequence. All sequencenumbers MAY NOT be included. An exampleof this case would occur when a Pathargument is provided and all the Samples, Events,and Condition are not selected or when the Agent is supporting more than one deviceand data from only one device is requested. Refer to MTConnect®Part 1, Overview and Protocol, Section 5: Protocol for more information.


milindp479
 Posted 8/28/2018 7:38:28 AM
Junior Member

Junior Member - (63 reputation)Junior Member - (63 reputation)Junior Member - (63 reputation)Junior Member - (63 reputation)Junior Member - (63 reputation)Junior Member - (63 reputation)Junior Member - (63 reputation)Junior Member - (63 reputation)Junior Member - (63 reputation)

Group: Forum Members
Last Active: 9/5/2018 7:04:34 AM
Posts: 1, Visits: 27
63
A few questions around Mazak HCM4000 SmoothC machines

1. Do I need to buy MTConnect adapter separately ?

2. How do I get an access to Mazak API ?

Mazak claims SmoothC machines are MTConnect ready, what does it mean ?

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top

Advertisements