Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

JamesQ

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

JamesQ's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, I would like to retreat current Main Program No (O1111, refer attachment) and Subprogram No (O1610, refer attachment) by using following Focas script: Focas1.ODBPRO odbpro = new Focas1.ODBPRO(); code = Focas1.cnc_rdprgnum(pHdl, odbpro); json["Current_SubProgram"] = odbpro.data; json["Current_MainProgram"] = odbpro.mdata; According to https://www.inventcom.net/fanuc-focas-library/program/cnc_rdprgnum, result of cnc_rdprgnum should get me sub & main program no in .data and .mdata properties. However, we found that only main program no (O1111) is returned in both properties. Anyone here encounter similar issue or have successfully extracted current Subprogram No via Focas? Appreciate if you could share me your advise and experience. Thank you.
  2. Hi, Can I have some advise on the interfacing methods (similar to Fanuc Focas, opensource or free if possible ) to extract data (cutting time, machine status etc.) from Mikron machines with Heidenhain controller? My main goal is to get actual cutting time for each NC program and daily machine running time. My current plan is to extract and filter machine log through TNCremo / TNCcmd, then treat these data using python text processing script. But I couldn't find much information online regarding TNCcmd commands and its script example. Appreciate if anyone here could share the example or idea to get these information. Thank you.
  3. Hi, I am new to this field and need to record cutting time from Makino V33 and V56 (Professional 5 Controller) using dprnt. Currently I am working on following macro to send text to machine internal card (attachment), which is configured as FTP server to receive gcode files from PC. My plan is that since 'Internal Card' folder is shared, my PC will be able to retreat dprnt result from machines if I could get the machine to write text or variable value to this folder as .txt file. Can I please have your advice on following questions: 1) Any way I can determine whether 'Internal Card' folder is a dataserver or flash card storage? 2) May I know the steps/code to dprnt variable value to 'Internal Card' folder? Do I need to have additional command like 'G10L52' & 'N20R4' to change channel no to 'Internal Card' folder? If yes, what channel number is required in this case. 3) As I know 'User Macro Action' has to be turned on for dprnt command to work. May I know how to turn on this parameter in my machines? Apart from Makino with Pro 5 controller, I looking for way to have same proposal to work for other machines with controllers like Fanuc 18i-M, 18i-Mb, Mori Seiki MSX-701 and Heidenhain etc. Any advice is appreciated Thank you. POPEN DPRNT[*************************] DPRNT[Testing*Program*Started] DPRNT[Testing*Program*Ended] DPRNT[*************************] PCLOS

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...