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:

eltklas

Verified Members
  • Posts

    118
  • Joined

  • Last visited

Everything posted by eltklas

  1. I've had problems uploading the file and I share it from my cloud. I hope it serves you. Thank you https://1drv.ms/u/s!Aj4JpjG6sPY-h9V4wo-jY6jnpVNaQg?e=DTmIi6
  2. This is the zip2go. There are some specific info about the company. I dont know if I can have problems wiht that. In other reply I put the sample file. Thanks 1122975099_intialcutforchuckmcam.ZIP
  3. I'm sorry but I'm Spanish and I don't speak English, I use a translator and I haven't been able to understand your explanation well. Is there no possibility of obtaining the values that actually appear in the construction plans of each operation? I need to write those values at the beginning of each operation, it's an old machine and it doesn't work otherwise. It is usually done by hand and it is a job that I thought I could automate by modifying the post. Thanks for your help anyway.
  4. I am trying to write the X, Y, Z coordinates of the construction plane of each operation, but they appear to me interchanged and of a different sign than those that are in the planes part of each operation.
  5. I am trying to write the X, Y, Z coordinates of the construction plane of each operation, but they appear to me interchanged and of a different sign than those that are in the planes part of each operation.
  6. Hello everyone. When I try to extract the values of the construction or tool planes values with a table, or through OPINFO, the values of the axes appear changed in sign or axis. It is a multi-axis operation that groups several operations, and also those operations are in different construction planes. How can I get the correct values? Thanks for the help.
  7. I found a solution: I have created a table of strings #table of user strings table sample definition str_index :0 #selector vble #string array selector str_1 :"string1" #string number 1 value of sts_index = 0 str_2 :"string2" #string number 2 value of sts_index = 1 str_3 :"string3" #string number 3 value of sts_index = 2 str_4 :"string4" #string number 4 value of sts_index = 3 str_target :"" #target vble fstrsel str_1 str_index str_target 4 -1 #end oftable of user strings table sample definition If I use de selector vble, I can pass it in a postblock as an argument and I can use the string that I need. Sorry for my english. Thanks for help
  8. Hello everyone. According to the post documentation, to a postblock I can only pass numerics arguments, is there a way to do the same but with string arguments?. II have to repeat a postblock multiple times because a couple of string variables change. Thanks
  9. It's true, I remember that in X4 the strings should start with "S", but now you can name the variable as you want. if an error occurs the MP.DLL shows it to you with the line number and position in the line. It is very easy to find it.
  10. Yes, Is a string variable because it will store a file complete name and folder. Thanks
  11. It is a question about a very specific problem and I don't know if it will help other colleagues.
  12. I found the solution. There is a function for that my_vble = no2asc(034) + my_vble + no2asc(034) Thanks to all.
  13. I am trying to open a txt file with the command Launch, but I need add the ascii 034 caracter before and after of my variable with the complete name of the file. my_txt_var = 034 + my_txt_var + 034 < - - - - - -this sentence is wrong result = launch( "notepad.exe", my_txt_var,0) but It doesnt work. the error is that I am using numbers and string in the same operation. Can Anybody help me to resolve that. Is there any way to use directly de ascii value? Thanks to all for your help
  14. When finish de post process the NC Program is OK, but It show me the errors that are above with the respective line: PST(812)- The value of the string select selection variable is out of range:3 pcantxt1, pbld, n$,"G38", pccomp, p_decalaje, e$, n$ , sgabsinc, *sg20code, pwtcode,pfxout, pfyout, pctype, pwtout, pfrout, strcantext, e$ PST(822)- The value of the string select selection variable is out of range:3 pcantxt1, pbld, n$, sgabsinc, *sg20code, pwtcode,pfxout, pfyout, pctype, pwtout, pfrout, strcantext, e$ PST(1148)- The value of the string select selection variable is out of range:3 pcantxt1, pbld, n$, sgabsinc, pccomp, *sg20code, pwtcode, pfxout, pfyout, pzout, parc, pctype, pwtout, pfrout, strcantext, e$ PST(817)- The value of the string select selection variable is out of range:3 pcantxt1, pbld, n$, sgabsinc, *sg20code, pwtcode,pfxout, pfyout, pctype, pwtout, pfrout, strcantext, e$ I dont know what selection table is not correct. If the operation are of a older version I have the error, but If I make again the operation no errors apears. Even If I select the new version of pst the errors are there. Only when I make new operations are no errors Thanks for your help. UNA.err.txt
  15. Can I do that with VBS?. If I create a script, Can I access to that part of the operations?. Thanks for your answers.
  16. X9. But I want to learn programming addons. I use visual Basic .net. Is posible with visual studio 2019?. If you can show me to conect with mcam and make it for me self. Thanks
  17. Hello everyone and thank you for helping me. I need a macro to change some values in all the operations of my mcx file. I have programmed in Wire for a specific height in 10 different operations, but if I want to use another height I must change each operation individually. Is there a way to automate that in VBS? Thanks to everyone again
  18. I want to start programming with .NET and Mastercam, I have installed Visual Studio 2022, but there is an error when I try to install the templates. Is the 2022 version the problem?. I searched the 2017 o 2019 version but only find the 2022. Thanks
  19. Hi to all. I need use exitpost but when I use it is made the head of the NC file and it is save in disk. Is there any way to abort the NC writting?. for example If I have processed two operation but if the third is not correct I want to cancel the NC writing. Thanks for your help.
  20. Hello to all. Is there any way to change the image that apears in mastercam default cicles?. I need put my own image but I dont find the mode. Thanks for your help.
  21. Hi to all. I am new in this topic. I know Visual Basic net and I use Visual Studio 2019. Is there examples in VB?. Is there any book or information to learn?. Thanks for your help

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...