Hello Guest it is April 25, 2024, 05:52:06 PM

Author Topic: Problem in CSMIO IP A configuration  (Read 13111 times)

0 Members and 1 Guest are viewing this topic.

Problem in CSMIO IP A configuration
« on: August 02, 2015, 10:07:06 PM »
Hello all,

I am retrofittig one old cnc with csmio ip/a

I started tuning controller. I faced some issue and needs your help

I decoupled motor as i wanted to first make it in my control. It runs fine except couple of strange behave

1) i am getting encoder error - please check encoder connection- when i look at diagnosis screen, encoder value is showing with red flashing value (255 and sometimes 14). When i run motor, values are changing as it should be, motor is in control, movement is as desired then what this error indicates? I couldn't find it in manual

2) during trial, sometimes as soon as i press reset in mach, motor start running at full speed at any direction and trips on pid fault. Then i tried swapping encoder in configuration (not actual) and set it back to original, couple of times doing this made motor working again in control

I faced same issues in both axis where i took trial

3) during trial, first run always shorter then expected. I mean giving 10 mm command makes movement of 7 mm in first run, then onwards it runs 10 mm without any error

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Problem in CSMIO IP A configuration
« Reply #1 on: August 03, 2015, 02:00:10 PM »
Sounds like you may have noise or a poor signal on the encoder wiring.
Hood
Re: Problem in CSMIO IP A configuration
« Reply #2 on: August 03, 2015, 08:49:28 PM »
What is the solution then? Same error is for 2encoders so encoders seems ok

It is showing count with error too. What does that error mean and how to overcome it?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Problem in CSMIO IP A configuration
« Reply #3 on: August 04, 2015, 03:35:37 AM »
Is your line driver OK?
If you look in the tuning page and manually turn the encoder does it count correctly, ie correct amount per rev.?
Have you got the step per unit set correctly?
Re: Problem in CSMIO IP A configuration
« Reply #4 on: August 04, 2015, 03:56:19 AM »
Answer is yes for all

I am getting correct count if i turn encoder/motor manually

Getting position correct all the times except for first time

Encoder shows count but with red flashing 255 values in between
Re: Problem in CSMIO IP A configuration
« Reply #5 on: August 04, 2015, 03:58:03 AM »
No response from cs lab yet

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Problem in CSMIO IP A configuration
« Reply #6 on: August 04, 2015, 04:01:17 AM »
I have no idea then, the red flashing suggests the signal from the encoder is not clean enough but hopefully CS-Lab will get back to you withj info on what it actually means.
Re: Problem in CSMIO IP A configuration
« Reply #7 on: August 04, 2015, 04:39:48 AM »
Ok waiting for reply from them.

Anyways, what about other problem? Do you think its related to encode only?
My motor starts running at full speed, then i assigned empty encoder channel to that axis, then it moves slowly, i again assign original encoder and getting it working again

Is it related to encoder issue or anything else?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Problem in CSMIO IP A configuration
« Reply #8 on: August 04, 2015, 05:02:19 AM »
As I said I think you have problems with the encoder signal being seen by the CSMIO. If you have noise or it is not a clean signal it can cause all sorts of issues.
Have you scoped the output from your line driver circuit to see that it is working correctly?
Re: Problem in CSMIO IP A configuration
« Reply #9 on: August 08, 2015, 04:55:07 AM »
Ok Proper shielding made so many things working still getting that encoder error

One more issue i observed during trial is, my axis movement is less in one side

i ran x axis for say 5 mm and my encoder count goes from say 25000 to 65000 (if 4000 count for 0.5 mm or 1 revolution), when i gave reverse command then it stops physically after 3 mm movement only. At this time count is also less 41000 (it should be stopped at 25000) which shows controller asked drive to stop at 3 mm. can you suggest why?

One more problem is in MDI
i can not use MDI because it giving strange movement (same direction run whatever command i gave, not stopping at the desired location)

Is it related to CS controller?