585,754 active members*
4,420 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2005
    Posts
    35

    Need Help please with Inputs and Outputs

    I had an old rutex 4 axis system that I gutted out a few years ago. R990 drives, motherboard and relay board.

    I have a full size mill with an Anilam control, and running a job that I need an indexer for. Tonight I assembled a single axis sytem with a rotary table that I had. So now I have stand alone indexer.

    What I need now is to figure out the simplest way of getting signal and ack IO's to Mach.

    When a program an M10 in the Anilam I have a relay that goes to ground. This need to be "wired" into the computer to tell Mach to start the program and then when the servo has completed its move I need Mach to send 5v to the mill so it can resume the program. I'm pretty sure the input and output that I need to accomplish this can just be momentary not continuous.

    Can any of the extra step and direction outputs be used since I'm only using one axis? or relay IO's (4 also) that are on the motherboard be reprogrammed or setting changed in Mach to accomplish this.

    Any help is appreciated.

    Thanks

  2. #2
    Join Date
    Feb 2007
    Posts
    4553

    Post

    Write a macro that triggers a output to switch the relay on and off.
    Patience and perseverance have a magical effect before which difficulties disappear and obstacles vanish.

  3. #3
    Join Date
    Feb 2005
    Posts
    35
    OK that will work great for the output from Mach but what about the input to Mach?

  4. #4
    Join Date
    Feb 2007
    Posts
    4553

    Post

    You can map a input to a Mach Button by using a OEM trigger and then define the trigger as a Mach3 button in the Hotkeys section.

    A list of the oem numbers is posted in the Wiki.

    http://www.machsupport.com/MachCusto...le=OEM_Buttons

    Five inputs are available on the first parallel port, you may need a 2nd parallel port card if you need more inputs.

    You can also use a macro and a GetOEMButton() call to do more complex logic (i.e test to see if a function is active by looking at a corresponding LED) and read it through the same OEMTrigger Inputs

    Jeff...
    Patience and perseverance have a magical effect before which difficulties disappear and obstacles vanish.

Similar Threads

  1. Trying to get Mach 3 to connect to outputs
    By wld99 in forum Mach Software (ArtSoft software)
    Replies: 7
    Last Post: 03-22-2022, 12:19 PM
  2. High current on the PIC outputs?
    By 3dfernando in forum Stepper Motors / Drives
    Replies: 0
    Last Post: 05-29-2009, 05:35 PM
  3. Programming with conditionals and inputs/outputs (URGENT)
    By nilimpa in forum G-Code Programing
    Replies: 4
    Last Post: 09-22-2007, 04:43 PM
  4. inputs outputs
    By sintratech in forum Machines running Mach Software
    Replies: 6
    Last Post: 04-01-2007, 08:17 PM
  5. Inputs/Outputs
    By UKRobotics in forum CNC Machine Related Electronics
    Replies: 13
    Last Post: 08-03-2006, 03:52 AM

Posting Permissions

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