Hello Guest it is April 25, 2024, 01:56:51 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 - Davek0974

51
CS-Lab / Re: CSMIO-ENC Spindle Orientation
« on: July 23, 2019, 06:01:21 AM »
No luck at all getting this to work, i asked CSL and got this reply...

Quote
Construction:
a.      M20 macro for spindle positioning can only be used if the spindle is driven by a servo drive that works in position mode (never in opened position loop).
b.      If there's gear between a servo motor and a spindle, then it has to be non-slip gear, e.g. toothed belt used.
c.      The encoder for revs and spindle angle reading must be installed directly on a spindle or through the non-slip gear (e.g. the tootled belt) , with ratio 1:1.
d.      The encoder for revs and spindle angle reading can only be connected to CSMIO-ENC module.
The encode signals can't be used for any other purposes as it will be overloaded this way (it's a common issue).
 
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.
b.      If there is gear between a servo motor and a spindle, then the gear ration should be set in Mach3 in the „Spindle Pulleys” tab (1:1 by default).
c.      Set the „Spindle Pulses / Revolution”  value in the plugin „Spindle” tab:
The „Spindle Pulses / Revolution” value is encoder pulses number incl. all four edges and the electronic gear in a servo drive (if used).
 
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).

 Now the only part i have wrong is that i am sharing the encoder between main controller and ENC module - could that be it??

52
CS-Lab / Re: CSMIO-ENC Spindle Orientation
« on: July 14, 2019, 07:46:53 AM »
Yes thats why the open collector output won't work, it will need a line-driver as well to create a differential signal.

The signals i am using are differential already.

53
CS-Lab / Re: CSMIO-ENC Spindle Orientation
« on: July 14, 2019, 07:29:32 AM »
Second thoughts - cant do that because ENC module needs differential input not single-ended.

54
CS-Lab / Re: CSMIO-ENC Spindle Orientation
« on: July 14, 2019, 07:21:45 AM »
Interesting, i'll have to get the 'scope out again some time.

Now i think about it, there are some notes in the drive manual about the index pulse being short so they included an open collector output as well - presumably the pulse is longer?

Maybe i need to remove the main index pulse input and use the O/c index pulse instead somehow?

Quote...
5. Encoder Z signal open collector output
Servo drives to open collector mode on the output signal of the encoder Z. Because Z letter feel the pulse width is narrower, PC
please use high-speed photoelectric coupler receiving.

55
CS-Lab / Re: CSMIO-ENC Spindle Orientation
« on: July 14, 2019, 06:38:04 AM »
Thanks, i'll check that

I'm pretty certain box boxes have 10,000 in them but i know the stop is turned off, will try with it on.

56
CS-Lab / Re: CSMIO-ENC Spindle Orientation
« on: July 14, 2019, 06:28:20 AM »
But can threading work with dodgy index?

The encoders are 10,000 pulse items (all edges)

57
CS-Lab / Re: CSMIO-ENC Spindle Orientation
« on: July 14, 2019, 06:18:42 AM »
Just tried the M20 macro.

Just entered M20 Q100 repeatedly.

It makes the spindle move, but it stops in a different position every time.

It also shows error ""M20 ERROR Offset !!!  Angle = *********.xx Qarg 100

Something not right?

58
CS-Lab / Re: CSMIO-ENC Spindle Orientation
« on: July 14, 2019, 05:30:23 AM »
Thanks,

if its not set right can it still work?

The spindle runs ok, the speed shown on Mach3 is correct, threading works ok - can all of that be good and still something not be set right for orientation?

59
CS-Lab / Re: CSMIO-ENC Spindle Orientation
« on: July 14, 2019, 05:18:47 AM »
Only tried the plugin, didn't know about M20?

60
CS-Lab / Re: CSMIO-ENC Spindle Orientation
« on: July 14, 2019, 05:12:38 AM »
Yep thats it.

No error messages, it will creep to a stop each time but that stop is different :)