Page 3 of 5 FirstFirst 12345 LastLast
Results 25 to 36 of 54

Thread: Paramteric Program

  1. #25
    Registered Ashish B's Avatar
    Join Date
    May 2009
    Location
    India
    Posts
    380
    Downloads
    0
    Uploads
    0

    Hi

    Hi James L,

    had a minor doubt. Where should assignment of #4=101 & #5=199 values should be commanded. Are they need to be commanded in Main Program or at the start of Subprogram..( before POPEN Command ) or where else ?.

    Ash


  2. #26
    Registered
    Join Date
    Feb 2009
    Location
    USA
    Posts
    64
    Downloads
    0
    Uploads
    0

    Assigning variables

    In macros you assign the variables when you call the program. Sinha mentioned them when he spoke of sending 'arguments' to the macro. In this macro we need #4 and #5. These are recognized by the control as I and J, respectively. So when you call the macro, use the syntax :

    From main program or MDI screen :

    G65 P8200 I(whatever value you wish to assign #4). J(#5).;

    for example - G65 P8200 I101. J199.; would assign 101 to #4 and 199 to #5, and the macro would start it's loop.


  3. #27
    Registered
    Join Date
    Feb 2006
    Location
    india
    Posts
    1,273
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by James L View Post

    G65 P8200 I(whatever value you wish to assign #4). J(#5).;

    for example - G65 P8200 I101. J199.; would assign 101 to #4 and 199 to #5, and the macro would start it's loop.
    It is definitely a good practice to use decimal points in macro arguments. But, I never use decimal points in cases where integer values are expected (e.g., number of holes), because it looks awkward. Am I asking for trouble (parameters can do strange things)?


  4. #28
    Registered
    Join Date
    Feb 2009
    Location
    USA
    Posts
    64
    Downloads
    0
    Uploads
    0

    Deicmals

    Most of the time a decimal is not needed in a macro. It doesn't really hurt not to use them but I like to use the same format with them as I would calling up a normal canned cycle. I usually just go by the control's requirements - if decimals are needed in canned cycles then I use them in macro arguments. In this macro, it probably would look cleaner to go without them.


  5. #29
    Registered Ashish B's Avatar
    Join Date
    May 2009
    Location
    India
    Posts
    380
    Downloads
    0
    Uploads
    0

    Format for assigning a group of variables a common Value

    Hi All,

    I need to assign a value 0.001 to variable serial from 100 to 149, how should is command it ?

    Is that so that we have to right,Just LIKE -

    #101=0.001
    #102=0.001
    .............
    ...........
    #149=0.001

    Is there a Format or a single command to solve the above purpose?

    Ash


  6. #30
    Registered
    Join Date
    Jun 2008
    Location
    United States
    Posts
    1,509
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Ashish B View Post
    Is there a Format or a single command to solve the above purpose?
    #1=0
    WHILE[#1LT48]DO1
    #[101+#1]=.001
    #1=#1+1
    END1

    Stevo


  7. #31
    Registered Ashish B's Avatar
    Join Date
    May 2009
    Location
    India
    Posts
    380
    Downloads
    0
    Uploads
    0

    nEED Help

    Hi

    Its a long time I have fixed a RE232C cable but the connection is not yet established.

    The MACHINE Dealer says that to use DPRNT command u need a special FANUC software & it costs thousands of rupees. Is that so ?

    Can anyone write the procedure for establishment of a RE232 Connection & a clarification of whether any software (on PC ) is required or what ?

    Ash.


  8. #32
    Registered
    Join Date
    May 2007
    Location
    USA
    Posts
    939
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by stevo1 View Post
    #1=0
    WHILE[#1LT48]DO1
    #[101+#1]=.001
    #1=#1+1
    END1

    Stevo
    You were too quick for me. Just got home a few minutes ago. Finally something I could answer, but you beat me to it!


  9. #33
    Registered Ashish B's Avatar
    Join Date
    May 2009
    Location
    India
    Posts
    380
    Downloads
    0
    Uploads
    0

    Talking Thanks

    Hi

    Thanks Stevo for that program.

    Well can anyone address & let me know the COMMUNICATION Setup for RE232C Link?


    Thanks for you TIME, PATIENCE & SUPPORT

    Ash


  10. #34
    Registered
    Join Date
    Jun 2008
    Location
    United States
    Posts
    1,509
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by g-codeguy View Post
    You were too quick for me. Just got home a few minutes ago. Finally something I could answer, but you beat me to it!
    LOL…..Sorry Dale I didn’t mean to steal your thunder . I have been so busy the only things I have had time to answer are the quick easy ones.

    Ash…I have never set up the DNC on a Mitsubishi control before. I have attached a note of the settings I have from a quick guide. Also here are 2 links I found for the M50 control and the 300-500 control. I did not see anything on the M64. The wiring should be the same so I have also attached the pinout that I use.

    Mitsubishi M50
    http://www.aggsoft.com/cnc-dnc/mitsubishi-m50.htm

    Mitsubishi 300-500
    http://www.aggsoft.com/cnc-dnc/mitsubishi-300-500.htm

    Stevo
    Attached Thumbnails Attached Thumbnails Paramteric Program-mits.pdf   Paramteric Program-wiring.pdf  


  11. #35
    Registered Ashish B's Avatar
    Join Date
    May 2009
    Location
    India
    Posts
    380
    Downloads
    0
    Uploads
    0

    HI

    Hi Stevo,

    Thanks a lot for that VALUEABLE ATTACHMENTS

    I need to know in context of RE232C setup. I mean like does it required a software to recieve the data on PC or it will work on the HYPERTERMINAL program (which is a standard feature in Windows PC )?


    Also Stevo, can u suggest me some of the Software Names which i can google down & download & work with it.


    Ash

    Thanks for your time, support & PATIENCE.


  12. #36
    Registered
    Join Date
    Jun 2008
    Location
    United States
    Posts
    1,509
    Downloads
    0
    Uploads
    0
    Ash…..you’re welcome for the info.

    There are a lot of different softwares out there that you can get for communication. I currently use Enet. I really like Dostek as I used it a lot in the past, the support was good, and it was only a few hundred bucks. Now there is free software out there but I do not know the name of it. I remember seeing a post sometime back by Al_the_man with a link to some free software so maybe a search or a PM might get that for you. Dan Fritz is the DNC guru and does have his own software and is always willing to help so it might not hurt to check that out as well.

    HyperTerminal does work for transfer and some people still use it. So all you will need is the cables.

    Stevo


Page 3 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. Mazatrol Program into a G Code Program
    By fuzzman in forum Mazak, Mitsubishi, Mazatrol
    Replies: 15
    Last Post: 09-25-2012, 11:27 AM
  2. Replies: 12
    Last Post: 03-14-2010, 09:19 PM
  3. Program Restart in mid program?
    By Donkey Hotey in forum Haas Lathes
    Replies: 16
    Last Post: 03-18-2008, 03:19 PM
  4. Need a CAM program
    By SteveD in forum CNCzone Club House
    Replies: 3
    Last Post: 09-28-2006, 02:46 PM
  5. Replies: 11
    Last Post: 10-09-2005, 12:45 AM

Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.