Hello Guest it is March 28, 2024, 04:55:26 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - xavi

Pages: 1 2 »
1
Hello Ian;

Thanks you very much for your replaying. It is what I was looking for. I will trie it up. 

Thanks

Xavi

2
VB and the development of wizards / Help with Input/Output control...
« on: December 16, 2010, 01:27:41 PM »
Dear All;

I am new on CNC machine and Mach-3. I have built a X-Y table positioner which we will be using to move antennas into predefined positions and making measurement with network analyser.  The X-Y table is to be controlled through Mach3. In practice we want to move the antenna in one position, waiting for the network analyzer to make the measurement, then moving the antenna to another position and repeat the measurement. We are thinking of having a sort of handshake protocol between Mach3 and the network analyser instrument.. so that Mach3 moves the antenna into a position and then sends a signal into the network analyser to start measurements. Once it finishes measuring, this sends a signal back into Mach3 so that it moves into the next position, and this cycle is repeated for all the positions.

The Mach3 is interfaced with DSPMC/IP controller which has lot of spare input and output ports that we can use for the communication. The problem is I am not familiar with Mach3 codes to output a signal to a port and wait for an input signal before it moves. I have read the G-code and M-code in the manual but this seems to be code related to the movement of the axis.  I appreaciate any of your suggestions.

Thanks in advance.

Xavi   

3
dspMC/IP Motion Controller / Re: DSPMC AxisWorks Configuration
« on: May 04, 2010, 09:16:08 AM »
Hi Rufi.

I don't know the motor turns/mm. I have tuned this setting with Mach3 axis calibration (under setting tabs) and used a dial gauge indicator (to give me the distance), Mach3 automatically gave me the pulse /mm.  I don't know yet how I am going to work out the backlash...  still trying to figure it out...

I am also having problem referencing the axis to its home position.
I have configured the home switch to be x-- (x-axis) and y-- (y-axis)... when i press the "Ref all home" the axis travels to the switch and once it finds it stops the program.  and the status box reads: "Limit switch triggered".   On diagnostic page both the "--Limit" and "Home Led" lights up as expected, but the program is not considering it as home switch when I tell it to home...  Any idea what might be the problem.  

Thanks

xavi

4
dspMC/IP Motion Controller / Re: DSPMC AxisWorks Configuration
« on: May 03, 2010, 03:57:07 PM »
Thanks Guys...

I am able to Jog motors with mach3, also the limit switches, e-stop are working fine... I trying to tune the axis (encoder count/mm) with mach3...
I am not sure wht should be the setting for RPM on the dspmc.xml file. The servo motor/driver user manual gives the number of encoder pulses of 2048 pulse/rev  and a encoder divider rate of 1000 pulse/rev.  i don't know which of these figure i should multiply by 4 and use as setting for the RPM....


Xavi

5
dspMC/IP Motion Controller / Re: DSPMC AxisWorks Configuration
« on: April 27, 2010, 02:59:15 PM »
Dear Rufi;

My apologises for late replaying... I had a bit of set back as the labs were being used by student... I have played with the setting you suggested and attached a pic of the graph...

I have question on Starting DSPMC with Mach3... On DSPMC user manual I couldn't find information on the Map of J2 pins into Mach3... I am driving my axis through the DAC J2 pins... How are these mapped into Mach3...  or rather wht setting shold I use for Motor output on Mach3... Because the Mach3 Motor output setting it uses "step, direction" for the axis...     Looking forward to your replay...
Thanks in advance

xavi

6
dspMC/IP Motion Controller / Re: DSPMC AxisWorks Configuration
« on: April 09, 2010, 08:44:16 AM »
Hi Rufi;

Thanks you for your replay... The problem was on the polarity as you mentioned.  I am now trying to tune (by trial and error) both of the axis.  I have attached pictures of the corresponding axis S-curve, i am wondering if more improvement is needed in your opinion.  Also do have  any reference (website) that explain these parameter CFF and CDFF gain? Thanks again for your help.

Regards

Xavier

7
dspMC/IP Motion Controller / Re: DSPMC AxisWorks Configuration
« on: April 07, 2010, 10:21:32 AM »
Hi Rufi;

For the input source index, I use the same number as the selected axis. The setting on dspmc.xml are different from the ones I am using. As I have moved this file before into the MACH3 software folder, when i was installing the MACH3. Right now I am changing the setting from the axiswork software one axis at time.  

I have saved the control configuration and PID setting I am using for each axis. The problem axis being "axis 2" the setting was saved on "axis2_Y" file. The good axis is on "axis 1" setting saved as "axis1_X", the same PID values are used for both axis.
I have also included screenshot of the PID tuning graph for the good axis both in reverse . I was wonder if the curves
reflects a good result. Looking forward hearing from you.

Thanks

xavi
 

8
dspMC/IP Motion Controller / DSPMC AxisWorks Configuration
« on: April 06, 2010, 12:45:48 PM »
Dear All;
I am Xavi. I have posted on the forum few months ago about Interfacing OROM Servo Driver – Motor and DSPMC controller.   Following some suggestions and the user guides I have made all the connections for the two needed axis (X and Y).  I am trying to tune the motors with AXIS-WORK Rev 4.6 software but I am having lot of problems.  I don’t know for sure whether the problems are due to my connection or the chosen Axis work settings.  The motor encoder signal (passing through the servo driver) for axis X is connected to DSPMC (J6) Ch 0 and axis Y to Ch 1.

Using AXIS-WORK Rev 4.6 software Problem:
One of the axes (Y) is working fine, although I had to set the speed and acceleration to less than 6 and 10 respectively. Higher than this value the program gives a follow error.
AXIS – X
For this axis as soon as the PID is armed the motor automatically starts running and then stops and the program gives a follow error. Only when the feedback source is set to any channel other than where it’s connected, on the “configure control “option, the motor run when I press execute  but no changes on the position Axis display.  

I have tried solving it by connecting the motor encoder signal to channel 2, by changing the setting values (speed, acceleration, PID), or by grounding the analogue signal to motor (so that it never moves), but I still have the same problem (quick automatic start and stop).
I have swapped the axis connections between (axis X & Y) on the breakout board and found that whichever axis connected to DSPMC ch1 (J6) and analogue output 1(J4) the motor run fine without follow error on axiswork.  For the other I have problem.  


I wonder if some of you may have experienced this or have some ideas on how I might be able to solve it.  Looking forward to your replying.
 
PS: I have attached a .doc file of my connections. The pdf user guide of the servo and dspmc controller are on my previous post.

Regards

Xavi

9
Dear Mike;

Thanks for you comment. At the moment I haven't yet made all the connection as the health and safety guys decided we have to put all the power supply units on special box.  As soon as it sorted I will post or keep you guys with possible problems I might face.

Thanks

xavi

10
Hi John...
You are right the encoder signal is digital and I will be connecting it to servo driver and from servo driver CN1 port pin (20 -25) I will connect it to the controller J6 to from the feedback network. 
My problem is from the controller connection diagram (on page 18) the ports J4 or J5 are used to connect the switches (home, limit, e-stop etc), moreover there is also connection(s) that goes to the servo amplifier "e.g AMP enable output". I don't really know what does it do and where in my servo driver port CN1 I should connect.  I have included the pdf files for the controller and the Onrom servo driver. the CN1 pin configuration are on chapter 5 page5-8. 

On your design apart from the signal for the axis, switches and encoder, are there any other you are using....
Looking forward for your replaying.

regards
xavi

 
 

Pages: 1 2 »