Ok guys, heres the story from the start.
The Y axis motor was juddery due to on of the magnets falling off the casing. I was initially going to swap the motor for a spare so had disconnected the wiring to the motor. I then decided to bond the magnet back to the original casing and stick with the motor on the machine. I reconnected the wiring back but had evidently connected the 2 wires to the tacho the wrong way round as the motor was in full speed traverse all the time!
I swapped these 2 wires round and the motor operated at normal speed.
On referencing the machine the y axis seems to have lost its parameters so I hand wound the bed on the y axis belt to the reference dog and then carried on to the x axis which at the time was operating fine. So I was now out of referencing sequence and put the code in to get the parameters up to sort out the Y axis limits. In a moment of brain fade! I started to change the MP0 value! It turns out this is X axis traverse speed and at the time I didn't have my parameters sheet with me so I went with a value of 4000.
Turned machine off and on again and went through the referening process again. This time when it got the X axis it trippped at what I assume is the reference dog or software limit (the same point that it always goes to when referencing), and came up with 'Gross positoning error a'.
I guessed it was to do with the parameter value I put on so I checked the sheet and one of the guys on here confirmed that the value is 5000. I put this value in but it still comes up with gross positioning error a when referencing!
Its frustrating as I guess it willl be something pretty obvious!
Sorry for the long winded reply but thats the full story.
Thanks guys and really appreciate any help.
Kev |