Hello Guest it is March 28, 2024, 04:22:12 AM

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

0 Members and 1 Guest are viewing this topic.

Re: CSMIO-ENC Spindle Orientation
« Reply #60 on: July 24, 2019, 08:25:25 AM »
When it's connected and you try M20 Q140, what sort of error do you receive?

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: CSMIO-ENC Spindle Orientation
« Reply #61 on: July 24, 2019, 08:32:54 AM »
I get the angle error!! message plus seemingly random angles, i did some repeats and got these...

I used M20 Q100

The Q-Arg response was always 100

The error offsets in order were…

1 - 284.9
2 - 109.6
3 - 119.2
4 - 138.5
5 - 177.1
6 - 254.1
7 - 48.3
8 - 356.3
9 - 253.1
10 - 46.2
11 - 352.5
12 - 245
Re: CSMIO-ENC Spindle Orientation
« Reply #62 on: July 24, 2019, 11:49:38 AM »
Did you tune PID in the spindle setup?

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: CSMIO-ENC Spindle Orientation
« Reply #63 on: July 24, 2019, 12:38:04 PM »
As good as i could, it runs best with just a P value, no I or D.
Re: CSMIO-ENC Spindle Orientation
« Reply #64 on: July 24, 2019, 06:12:17 PM »
Are you also sure of the number of pulses per rev? (all edges counted)?

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: CSMIO-ENC Spindle Orientation
« Reply #65 on: July 25, 2019, 04:05:41 AM »
Yes, 10,000, all edges.

 :)
Re: CSMIO-ENC Spindle Orientation
« Reply #66 on: July 25, 2019, 04:41:31 AM »
Could you post screenshots of your configuration?
To which channel in the ENC module you have the encoder connected? (pic perhaps?)

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: CSMIO-ENC Spindle Orientation
« Reply #67 on: July 25, 2019, 04:50:27 AM »
Hi

spindle is connected to ENC channel 1 as per CSL instructions.

Not sure what pics you need, there are many options?
Re: CSMIO-ENC Spindle Orientation
« Reply #68 on: July 25, 2019, 04:53:05 PM »
Those screens I'd like to see.

Online TPS

*
  •  2,501 2,501
    • View Profile
Re: CSMIO-ENC Spindle Orientation
« Reply #69 on: July 26, 2019, 01:55:02 AM »
so it Looks like you are running your spindle Controller in positionig mode (step/dir), and Dave is running it in Speed follower
(analog Output). In your case the "real" spindle orientation is done by the spindle Controller and CSMIO is only "supervising"
the result.

on a Speed follower the positioning is done by CSMIO witch is very hard (maybe impossible) to tune.
i spend days to try to set it up, and ended up to do the positioning on the spindle Controller itself,
witch is handled by digital I/O.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.