03-27-2008 05:51 PM
03-28-2008 08:58 AM
03-28-2008 09:08 AM
03-28-2008 06:29 PM
03-28-2008 08:44 PM
I can probably send you something next week. The PMAC takes ASCII serial, also. If you only want to send it to a few positions, then you may want to try that. Before tackling the Labview portion of it, you have to be comfortable doing the same thing with the Delta Tau software. I assume that you have PEWIN32Pro2. Is your system set up yet?
You can just do jog moves if the moves are simple, and not coordinated with any other axes. "J=10000" would send your slide to position(counts) 10000. If you want to do coordinate system moves, then they must be in a program. They easiest way to do that over comms is to set up a program in the PMAC that uses variables for feedrates and positons, then run the program over comms.
03-29-2008 06:59 AM
03-29-2008 11:51 AM
If you will be using ActiveX, then you don't have to find the dll. I forget what the ActiveX control name is. I will look it up. If you have a serial cable, you may want to try that. Let's say you had program 1 saved on the PMAC. Program 1 would look like this:
OPEN PROG1 CLEAR
From comms you would just define P1 and P2 as position and feedrate("P1=10,P2=5"). Then send "&1B1R", which means run program 1 in coordinate system 1.
03-29-2008 01:15 PM
03-30-2008 10:17 PM
Brian Beal has given you great advice (Thanks for all the input, Brian!). You do need to feel comfortable communicating in the Delta Tau software before going to ActiveX. If you would like to look at some ActiveX examples in LabVIEW go to Help >> Find Examples... >> Communicating with External Applications >> ActiveX
Serial examples: Help >> Find Examples... >> Hardware Input and Output >> Serial
Since you are new to LabVIEW, you also may find the following KnowledgeBase helpful: How to Learn LabVIEW. There are links to a three-hour and six-hour introduction tutorial on this page.