1
VB and the development of wizards / Programming question
« on: August 20, 2016, 12:08:52 PM »
I've been a long time licensed Mach3 user. I recently ran into an application where I need control from a piece of software but without the Mach GUI. I'm wanting to use my USB SmootherSteeper to drive the motion control board. The software I'll be using hands off the motion commands in the form of .bat files to the motion control software, waits for the motion to be complete then continues. Is there a way to accomplish this with Mach? I primarily need to operate a rotary axis.
The manual for the software I'm referring to can be found here page 99 (5-98) the section on the PLUS version
http://cdn2.hubspot.net/hub/68377/file-15229185-pdf/docs/prolase7_manual.pdf
My question to them was: Are there any alternatives to using Indexer LPT & a LPT port? Specifically something USB?
Their reply:
Yes, most of my OEM customers have set up other control methods, many using USB indexers. This way of control cost a lot more money than LPT Indexer. American LaserWare dosnt get involved with that end of a system, the integrator handles that. ProLase provides a general interface in which ProLase will call an external program (written by the integrator) and pass this program the name of each axis and the position ProLase wants each axis to go to. The external program takes this axis ID and position information and forms movement commands in the language of the specific controller and sends those commands over the USB port. The external program then checks the status of the indexer until all axis are finished moving, then quits, which returns control to ProLase. After ProLase calls the external program it simply waits until the program finishes before continuing. ProLase will call this program every time it wants to move one or more axis. This general interface can be used to control almost any kind of motion control system including stepper and servo. Usually this program can be written very quickly (its quite simple, sometimes just a BAT file) and for a relatively low cost. The reason we do it this way is because there are hundreds of control systems, all having there own command set. Some call the Axis XYZ, some ABC, and others 123. Some use commands like MOVE, FEED, GOTO and others use "G" codes. We don't want to write drivers for hundreds of different controllers, this general interface will work with all of them.
The manual for the software I'm referring to can be found here page 99 (5-98) the section on the PLUS version
http://cdn2.hubspot.net/hub/68377/file-15229185-pdf/docs/prolase7_manual.pdf
My question to them was: Are there any alternatives to using Indexer LPT & a LPT port? Specifically something USB?
Their reply:
Yes, most of my OEM customers have set up other control methods, many using USB indexers. This way of control cost a lot more money than LPT Indexer. American LaserWare dosnt get involved with that end of a system, the integrator handles that. ProLase provides a general interface in which ProLase will call an external program (written by the integrator) and pass this program the name of each axis and the position ProLase wants each axis to go to. The external program takes this axis ID and position information and forms movement commands in the language of the specific controller and sends those commands over the USB port. The external program then checks the status of the indexer until all axis are finished moving, then quits, which returns control to ProLase. After ProLase calls the external program it simply waits until the program finishes before continuing. ProLase will call this program every time it wants to move one or more axis. This general interface can be used to control almost any kind of motion control system including stepper and servo. Usually this program can be written very quickly (its quite simple, sometimes just a BAT file) and for a relatively low cost. The reason we do it this way is because there are hundreds of control systems, all having there own command set. Some call the Axis XYZ, some ABC, and others 123. Some use commands like MOVE, FEED, GOTO and others use "G" codes. We don't want to write drivers for hundreds of different controllers, this general interface will work with all of them.