Brother TC-211

More
12 years 2 months ago - 12 years 2 months ago #49881 by andypugh
Replied by andypugh on topic Brother TC-211

mblaszkiewicz wrote: I have almost no expirence in C+ programming

I believe you, if you had then you would know that this isn't C :-)

HAL isn't even a programming language, it is just a list of connections between the various bits of hardware and software.

Unfortunately I can't see where the problem is. Taking for example Axis X:
Code:
net x-pos-fb => pid.x.feedback net x-pos-fb <= hm2_5i25.0.encoder.01.position net x-pos-fb => axis.0.motor-pos-fb

Nothing looks out of place there. I am slightly surprised to see Encoder 01 in Axis X and Encoder.0 on Axis Z, but that is perfectly acceptable. (I think my machine uses encoders 4, 5 and 1 or something like that)

Are these the files in the non-working state, or have you already changed them? you earlier said it was "X-pos-fb" but now all I see is "x-pos-fb" in three places. capitalisation does matter.
Last edit: 12 years 2 months ago by andypugh.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago - 12 years 2 months ago #49890 by PCW
Replied by PCW on topic Brother TC-211
Are the drives X,Y,Z quadrature outputs connected to the 7I77s
encoder inputs 1,2, and 3?

Note that the first 7I77 encoder is encoder 0 = TB3 pins 1 through 8

Your X encoder is encoder 1 = TB3 pins 9 through 16
Your Y encoder is encoder 2 = TB3 pins 17 through 24
Your Z encoder is encoder 3 = TB4 pins 1 through 8


Can you read hm2_5i25.0.encoder.01.position (with halmeter) when you physically move the X axis?
If the halmeter number does not change as expected you need to figure out whats wrong with the quadrature wiring before proceeding.
Last edit: 12 years 2 months ago by PCW.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #49928 by mblaszkiewicz
Replied by mblaszkiewicz on topic Brother TC-211
Ok I have encoder 0 as z
encoder 1 is x
encoder 2 y

encoder 3 is spindle

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago - 12 years 2 months ago #49929 by mblaszkiewicz
Replied by mblaszkiewicz on topic Brother TC-211
Also I can not move the x axis when the machine is powered up.

When using the manual control in linux cnc I get no reading in the hal meter. It did go to -9.??e-?? for a brief second, but no constant numbers other than zero
Last edit: 12 years 2 months ago by mblaszkiewicz.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago - 12 years 2 months ago #49930 by PCW
Replied by PCW on topic Brother TC-211
OK I see Z was 0

Are you sure your analog outputs are connected to the proper channels?

X=1
Y=2
Z=0

Same question as before: Can you read hm2_5i25.0.encoder.01.position (with halmeter) when you physically move the X axis?

You should be able to move X when the machine is powered up but linuxcnc has not been set into the machine-on state
(as the drives should be disabled in this case)

Also in general its not an error to have weird axis/hardware numbering but it is odd and makes mistakes more likely

normally you would have:

X=0
Y=1
Z=2

spindle =5 (on 7I77 since only analog out 5 has an independent enable for spindle control)
Last edit: 12 years 2 months ago by PCW.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #49932 by mblaszkiewicz
Replied by mblaszkiewicz on topic Brother TC-211
I have no movement in the hal meter at all. And x is 1, y is 2 and z is 0.

I powered the machine, removed e stop in linux, did not set machine ready.
I moved the table from one limit to the other with no change in the hal meter

the spindle its self is in 3, it is actually a large swervo (6k rpm) part of the brother system to sycronis the z axis to rpm for fast tapping speeds (2k rpm spindle speeds)

Please Log in or Create an account to join the conversation.

Time to create page: 0.308 seconds
Powered by Kunena Forum