501,631 active members
8,264 visitors online
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Registered
    Join Date
    Jun 2006
    Posts
    3

    Talking passing arguments to a sub program

    I am porting programs from a Kitamura 5 axis mill to a Mazak 5 axis mill with the mazatol 640T controller. We don't do any 5 axis machining rather the machine is used as an indexer to different faces of a block. A lot of time we are putting the same connection in the block except with the differance of a drill depth or maybe a different thur drill diameter I would like to create a sub program to make the connections but I want to pass some aruguments from main to sub program depending on where the block is indexed. Is the possible and does someone have a example. I would prefer both the main and sub programs to be mazatol. Thanks for any help!

  2. #2
    Registered
    Join Date
    Jun 2006
    Posts
    478
    Arguments connot be designated for M98 but can for G65. I'm not exactly shur what you mean by "pass some (aruments) from the main to the sub maybe an examle of your prog. would clarify?

Posting Permissions

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