Newbie Extract Data from Mazak Controllers


Results 1 to 13 of 13

Thread: Extract Data from Mazak Controllers

  1. #1
    Registered
    Join Date
    Aug 2014
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default Extract Data from Mazak Controllers

    Hi. What are my options, other than MTConnect, for extracting production data from the various Mazatrol controllers?

    For newer machines running Windows, I can add a network card and write Windows programs to capture the data if that is possible.

    Thanks,

    Arthur

    Similar Threads:


  2. #2
    Registered
    Join Date
    Jan 2009
    Location
    Australia
    Posts
    47
    Downloads
    0
    Uploads
    0

    Default Re: Extract Data from Mazak Controllers

    You can get all you need out of dprint.
    We have a matrix and output values from a renishaw probe as well as inputting values into variables from an excel spread sheet. We also run cyber scheduler and monitor. Monitor also emails any alarm or machine conditions you select.



  3. #3
    Member Digitech's Avatar
    Join Date
    Oct 2007
    Location
    India
    Posts
    53
    Downloads
    0
    Uploads
    0

    Default Re: Extract Data from Mazak Controllers

    Hi,

    CIMCO software can be used to monitor Machine Data.
    This supports, DPRNT also & MTConnect also.

    We offer a turn-key solution using CIMCO.

    Deepak
    digitechpune@gmail.com



  4. #4
    Member
    Join Date
    Jul 2010
    Location
    Ireland
    Posts
    62
    Downloads
    0
    Uploads
    0

    Default Re: Extract Data from Mazak Controllers

    I use camlink from Griffo Brothers or Mazlink.



  5. #5
    Member
    Join Date
    Feb 2006
    Location
    United States
    Posts
    338
    Downloads
    0
    Uploads
    0

    Default Re: Extract Data from Mazak Controllers

    For Matrix controls, the running machine page info is saved on the machine in *.lbd files going back a year.
    C:\RUNMNG\LOG\*.lbd You can export 7 days at a time from the file menu to C:\RUNMNG\CSV\*.csv files and then work with that in Excel

    I have mostly decoded the header labels to something meaningful and made a vbs script to convert most of the lbd data to csv files like what the machine outputs. Error codes are only partly decoded.
    I attached a zip with my lbd_to_csv.vbs and 2 library vbs files it uses if anyone wants to play with it or read it to figure out the columns. This is probably horrible code thrown together, but it works. Lots of comments on the .CSV file data.
    But the real work is making nice presentations of the data if someone wants to take a go at that.

    Edit: My log files are from a QTN 250MSY There are columns that my machine does not use and other will. Anyone with other machine types that want to share .lbd and .csv files along with info on the machine I'll take a look at it.

    Attached Files Attached Files
    Last edited by dpuch; 05-29-2015 at 12:18 AM.


  6. #6
    Calju's Avatar
    Join Date
    Jan 2016
    Location
    San Luis Potosi
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by dpuch View Post
    I attached a zip with my lbd_to_csv.vbs and 2 library vbs files it uses if anyone wants to play with it or read it to figure out the columns. This is probably horrible code thrown together, but it works. Lots of comments on the .CSV file data.
    But the real work is making nice presentations of the data if someone wants to take a go at that.

    Edit: My log files are from a QTN 250MSY There are columns that my machine does not use and other will. Anyone with other machine types that want to share .lbd and .csv files along with info on the machine I'll take a look at it.
    Hi, I would like to see those files as I´m also trying to make sense of the CSV file. In this case, I´m working with a QTN100-II MS. I don´t see them attached to the post. How can I get them?



  7. #7
    JasonLu's Avatar
    Join Date
    Dec 2017
    Location
    jas
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default

    ialso have Extract Data from Mazak Controllers problem
    what is mazak smart MTConnect default port number?5000?7878?or other?



  8. #8
    Member tukusejssirs's Avatar
    Join Date
    Jul 2019
    Posts
    0
    Downloads
    0
    Uploads
    0

    Lightbulb Re: Extract Data from Mazak Controllers

    Dear Mr Dale Puch,

    could help me out? I need to port your lbd_to_csv.vbs script to perl and make it work on Linux. I have no problem to get my hands dirty, however, I an not an advanced programmer nor I have any experience with vb scripting. All I would need is the algorithm you used to decode the Mazak LBD log binary data to ASCII.

    Here's a list of the main issues I currently have:

    (1) I can successfully convert only some LBD logs. Some would complain (see error.png).
    (2) When I view the logs that I can successfully convert, using (for example) `xxd -ps 20190304.lbd`, it is mostly zero only. There is something I miss (probably somthing with the info on lines 67-99 in lbd_to_csv.vbs).
    (3) We need to have the program name currently running on the machine, but after the conversion, it is somehow scrumbled. Our program names consist of numbers only (about 5 to 7 digits in length), however, in the .csv it is mostly about 3 chars long and many times it starts with letter w.

    Anyway, nice work and thank you for sharing!


    Content of the attached zip file:
    (1) error.png (error message that your script throws on some LBD files when trying to convert them)
    (2) 20190304_bin_output (output of `xxd -ps 20190304.lbd | tr -d '\n'`)
    (3) 20190304.lbd
    (4) 20190304_.csv (converted by your script)

    Attached Files Attached Files


  9. #9
    Member
    Join Date
    Feb 2006
    Location
    United States
    Posts
    338
    Downloads
    0
    Uploads
    0

    Post Re: Extract Data from Mazak Controllers

    An update for the vbs script I uploaded a few years ago. I added support for LBA files from older controls, and also larger 1.1MB lbd files from smooth controls.

    Enjoy

    Attached Files Attached Files


  10. #10
    Member edwardinchains's Avatar
    Join Date
    May 2017
    Location
    1111
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default Re: Extract Data from Mazak Controllers

    Quote Originally Posted by dpuch View Post
    An update for the vbs script I uploaded a few years ago. I added support for LBA files from older controls, and also larger 1.1MB lbd files from smooth controls.

    Enjoy
    I can retrieve the .lbd files from the controller & have setup the folder for the csv output - do I need to set a paarameter or change a setting to output the csv - the folder is empty!

    Cheers in advance!



  11. #11
    Member edwardinchains's Avatar
    Join Date
    May 2017
    Location
    1111
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default

    Hi dpuch, I'm looking to expand on your research, I have enabled the folder to csv output on the machine C:\RUNMG\CSV (or something similar ) - the folder however isn't getting populated with a csv, the lbd file is still updating. Do I need to enable something on the controller to print out the csv file?

    Any help would be appreciated



  12. #12

    Default Re: Extract Data from Mazak Controllers

    Hi all,

    I had tried to covert the .lbd file to CSV and still unable to do so. Can u please advise how to convert that file? Thank you very much.



  13. #13
    Member mholtberget's Avatar
    Join Date
    Feb 2024
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Re: Extract Data from Mazak Controllers

    Quote Originally Posted by aishah View Post
    Hi all,

    I had tried to covert the .lbd file to CSV and still unable to do so. Can u please advise how to convert that file? Thank you very much.
    Hi.

    Probably not the most active thread, but I'll give it a go anyways.

    Aishah, you just have to drag, and drop the .lbd file on the script named "lbd_to_csv.vbs", and it will be converted to csv.

    Thanks for sharing this dpuch.

    Have you also been able to decode everything in the outputted csv files?



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Extract Data from Mazak Controllers

Extract Data from Mazak Controllers