Hello Guest it is April 12, 2021, 06:39:41 PM

Author Topic: CSMIO-ENC Spindle Orientation  (Read 16258 times)

0 Members and 1 Guest are viewing this topic.

Offline TPS

*
  •  2,102 2,102
    • View Profile
Re: CSMIO-ENC Spindle Orientation
« Reply #80 on: July 27, 2019, 07:50:32 AM »
ok, that means the Motor Controller tunning is OK.

have you tryed to reduce the spindle acceleration/deceleration in CSMIO plugin Setup ?

6000rpm/s is pretty high.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
    • DD Metal Products Ltd
Re: CSMIO-ENC Spindle Orientation
« Reply #81 on: July 27, 2019, 07:59:39 AM »
Will try that now
 :)
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
    • DD Metal Products Ltd
Re: CSMIO-ENC Spindle Orientation
« Reply #82 on: July 27, 2019, 08:37:29 AM »
Hmm,

I have been conversing a lot with member lion_rapid, great guy as you all are ;)

We have managed to get the spindle tuned now, also I can get orientation to work perfectly in the CSMIO plugin config page. I have it set so I can insert a locking pin into my spindle shaft to allow me to unlock collets etc.

BUT

In M3/M5 and M20 calls orientation fails every time, M20 throws up angle errors every time. Having "stop at position" turned on in config  just makes the spindle stop at random locations every M5 call.

Baffled now - so near but so far away ;)
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.

Offline TPS

*
  •  2,102 2,102
    • View Profile
Re: CSMIO-ENC Spindle Orientation
« Reply #83 on: July 27, 2019, 09:13:55 AM »
ok did a Little bit of reading about M20.

from the Manual (https://www.en.cs-lab.eu/technical-support/download/addons-macros/macro-m20-for-spindle-positioning/)

1.Settings:
a.Using M20 macro for spindle positioning, you can’t use „Align at stop” function at the same time (plugin „Spindle” tab) and reversely



3. The M20 macro verifies the set and real position after spindle positioning.
If the difference between those two values is higher than „Const Offset = 1” parameter value, the „M20 ERROR Offset !!!„ error will appear.
The „Const Offset” value can be reasonably adjusted to our needs (the value of 1 is usually optimal).


that means you can "Play" (increase) a bit with the

Const Offset = 1

in M20.M1S macro.


btw:
I can get orientation to work perfectly in the CSMIO plugin config page

how did you do this?
« Last Edit: July 27, 2019, 09:15:42 AM by TPS »
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
    • DD Metal Products Ltd
Re: CSMIO-ENC Spindle Orientation
« Reply #84 on: July 27, 2019, 10:22:36 AM »
Yes i read the bit about the M20 and align at stop, i have turned off AOS but M20 still fails.

The get it to work in config all we did was tune the servo better. I have no idea what to look for but lion_rapid did, we went through it on the phone and it runs much better now, apart from this M20 thing.
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.

Offline TPS

*
  •  2,102 2,102
    • View Profile
Re: CSMIO-ENC Spindle Orientation
« Reply #85 on: July 27, 2019, 10:55:59 AM »
and what angledifference does the M20 errormessage Show?
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
    • DD Metal Products Ltd
Re: CSMIO-ENC Spindle Orientation
« Reply #86 on: July 27, 2019, 03:44:13 PM »
Different error every time, can't see any pattern to it at all.

It's bugging me that it works 100% in the config window, but 0% in Mach3 - makes me think it could be a Mach3 or Interface problem, it wouldn't be the first one  ;)
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.

Offline TPS

*
  •  2,102 2,102
    • View Profile
Re: CSMIO-ENC Spindle Orientation
« Reply #87 on: July 28, 2019, 07:14:54 AM »
well sounds like it is time to contact CS Lab.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
    • DD Metal Products Ltd
Re: CSMIO-ENC Spindle Orientation
« Reply #88 on: July 28, 2019, 07:40:25 AM »
Yep,
I have an ongoing chat with a guy there, i have forwarded this last bit info to him.

Usually takes a week or two for a reply  :(

At least it proves it can work.
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
    • DD Metal Products Ltd
Re: CSMIO-ENC Spindle Orientation
« Reply #89 on: October 03, 2019, 06:55:29 AM »
CS-LAB have found the issue :)

In the CS-MIO plugin config, under spindle axis, do not use "reversed direction" - there is a firmware bug that stops spindle alignment working :)

I had to untick that box, tick "encoder reversed direction" and also reverse the motor direction inside the servo drive itself.

All working now, very accurate and also with the shared encoder ( i didn't tell them that though ;) )
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.