Hello Guest it is April 24, 2024, 09:56:05 AM

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 - Vital System Support

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 »
331
dspMC/IP Motion Controller / Re: Pokeys and MPG
« on: February 04, 2011, 12:36:12 PM »
the mpg encoder should go to a hardware encoder, or a soft-encoder on the dspmc connectors.  see the manual for mpg.

regards,
Rufi

332
dspMC/IP Motion Controller / Re: Problem with the Z axis.
« on: January 26, 2011, 01:31:32 PM »
here is part of the email I sent you earlier:
------------------------------------------------

you can connect the analog outputs as you suggested  X =0 Y=1 Z=2 A=3
 
make sure you set the slave axis in mach3.
 
and also in the plugin config window, set the input source index for the salve axis equal to master axis.
 
eg if A is slave of X, set the input index to 0 for A.  For all other axis, input index should be equal to axis number.
 
Axis Input Index
x      0
y      1
z      2
a      0
 
for the slave, you may have to set the input gain to +1 or -1 if it is moving opposite to the master axis.
 
for the rest of axis (b..e), input and output should be set to undefined.
 
only tune the master axis.
 
yes, the A axis become invisible and the two axis’s are tune together when you tune the master. when you do test moves,  only execute motion in the master axis.  slave will move automatically.  the PID setting of slave will be taken from master axis pid setting. so you donot need to put anything in the slave pid settings.
 
once you put everything in the plugin config tabs, hit OK and close mach3.  this will make sure all config is saved.  then restart mach3 and do tuning and testing.
 
....



333
dspMC/IP Motion Controller / Re: Problem with the Z axis.
« on: January 26, 2011, 09:34:06 AM »
hi Graham,

Mike is correct,  make sure MFE is non zero.  in the manual there is section about it.

for tunning, start with scale 1000 and P 100, MFE at 5000, low pass at 5.  all others at zero.   do test motions.  if no motion observed, start increasing P until you see motion.   If the actual motion is in the opposite direction of commanded, change the encoder polarity in the system tab.  once you get a decent graph, (ie acutal folows commanded), start adding I and D and VFF terms to fine tune the graph, ie actual should be as close to commanded as possible.  when you set I term > 0, make sure Max error I should also be non zero, otherwise you will get uncontrolled oscillations. eg start I with 10 and max_error_I as 50, and gradually increase.   Do the test motions for small and large moves, ie few mm to 100 of mms.

As far as I know, velocity mode requires tacho feedback from motor to drive, while in torque mode, there is no such requirement.  If speed feedback is already builtin in your motor/drive setup, you can try both modes and see which gives the best performance.  I know some people are using torque mode with no problems,  although they tell me that torque mode is more difficult to tune than velocity mode.

I hope to update the manual soon based on your feedback.  did you get my email few days ago for slave axis setup?

regards,
Rufi



334
dspMC/IP Motion Controller / Re: Problem with the Z axis.
« on: January 26, 2011, 12:17:00 AM »
hello Graham,

looks like the z pid setting is putting too much power and/or you have a very high value in the following error.  check that P is not too high. If you have some value in I term, make sure you have max_error_I to limit the integral error.

also, have you enabled debounce on the encoder signals?  this will make sure noise is not corrupting encoder counters.

hope this helps.

regards,
Rufi

335
the motors will jump and bounce if PID I term is non-zero and you keep max-error-I at zero.   there must be a limit on I error.  eg if you set I to 5,  set max-error-I to 25.

rgds
Rufi

336
for tunning, you start with scale 1000 and P 100, MFE at 5000, low pass at 5.  all others at zero.   do test motions.  if no motion, start increasing P until you see good motion.  then start adding I and D terms to fine tune the graph, ie actual should be as close to commanded as possible.  when you add I term, make sure Max error I should also be non zero, otherwise you will get uncontrolled oscillation.   do the test motions for small and large moves, ie few mm to 100 of mms.

hope this helps.

regards,
Rufi

337
The encoder counts are entered in mach3 motor tuning screen.  eg if you have 500 line encoder and 5 turn/inch screw,  you will enter 500 x 5 x 4 = 10000 count/inch.

for digital input/outputs, pls refer to the manual.  there are tables in the manual that shows the mapping between mach3 pin numbers and the 7535 screw terms.  you assign i/o pins in mach3 ports and pins config screen.

>  "but now i see All the mach3 pin #'s are 0"
Can you give more info, or a screen capture where you are seeing all 0's.  the dspmc plugin does not change any configuration inside mach3.

regards,
Rufi




338
I beleive you bought the system in 2009, I am sure your dspmc Firmware is way old and you have not upgraded it.  just copying the plugin dll to mach3 plugins folder is not enough.  you have to run the upgrade software to burn the new firmware in the dspmc.  the new files are available at www.vitalsystem.com/dspmc.  pick the 7761 files.  the manual has a chapter that tells you step by step how to upgrade the firmware.

once you have the latest firmware and matching plugin loaded, all your config downloaded error will go away.

regards,
Rufi



339
dspMC/IP Motion Controller / Re: DSPMC and Windows 7
« on: October 31, 2010, 10:00:13 AM »
hi Mark,
 
Mike is right!  you dont need to run axisworks any more.  the new plugin has integrated axisworks.  so if you can run mach3, you are all set.  

regards,
Rufi

340
dspMC/IP Motion Controller / Re: AxisWorks tuning
« on: September 16, 2010, 02:38:28 PM »
hi Peter,

I just emailed a new firmware that implements IIR filter (low pass) for more smooth DAC output.  I tested here on my desktop mill and on the scope the output is very clean with no sudden (square wave) changes.

regards,
Rufi

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 »