Brother TC-211

More
14 Aug 2014 06:07 #49835 by mblaszkiewicz
Replied by mblaszkiewicz on topic Brother TC-211
I didn't see it anywhere eles, and from before. I will get a following error after a little while. I set my following error at 1.000 inches

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

More
14 Aug 2014 06:27 #49836 by andypugh
Replied by andypugh on topic Brother TC-211

I didn't see it anywhere eles, and from before. I will get a following error after a little while. I set my following error at 1.000 inches


OK, in that case this is a simple HAL error.

Have a look to see what signal is driven by the encoder for each axis (it will also almost certainly go to the PID component for each axis) and then use that Signal instead of X-pos-fb etc.

Where did you get the HAL file from / how was it created? If it was pncconf then there might be a bug.

If you can't figure it out, then post your HAL file and we can fix it, but probably not for a day or so (so doing it yourself is likely to be better).

Basically for each axis axis.N.motor-pos-fb, encoder.N.position and pid.N.feedback all want to be linked to the same signal.

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

More
14 Aug 2014 06:40 #49837 by mblaszkiewicz
Replied by mblaszkiewicz on topic Brother TC-211
Ok how would I send the hall file here. Where is it located.

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

More
14 Aug 2014 06:45 - 14 Aug 2014 06:46 #49838 by andypugh
Replied by andypugh on topic Brother TC-211

Ok how would I send the hall file here. Where is it located.


The HAL file (or files) are in the same directory as the INI file, which is probably in (home directory)/linuxcnc/configs/

You probably need to get familiar with the HAL file. Given that you don't know where it is, how did you create it? (and the rest of the config?)

It's a plain-text file. You can edit it. (in fact you generally have to eventually)
Last edit: 14 Aug 2014 06:46 by andypugh.

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

More
14 Aug 2014 20:33 #49862 by mblaszkiewicz
Replied by mblaszkiewicz on topic Brother TC-211
It was done with the punching wizard. I will look for it when I get home from work. I just had no idea where it was saved to.

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

More
15 Aug 2014 03:50 #49877 by mblaszkiewicz
Replied by mblaszkiewicz on topic Brother TC-211
here are the hal and ini file. If someone can proof read and possible repair it I would be greatful.

I have almost no expirence in C+ programming

File Attachment:

File Name: Brother_TC-211.hal
File Size:9 KB


File Attachment:

File Name: Brother_TC-211.ini
File Size:3 KB
Attachments:

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

More
15 Aug 2014 07:10 - 15 Aug 2014 07:11 #49881 by andypugh
Replied by andypugh on topic Brother TC-211

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:
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: 15 Aug 2014 07:11 by andypugh.

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

More
15 Aug 2014 20:49 - 15 Aug 2014 20:54 #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: 15 Aug 2014 20:54 by PCW.

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

More
16 Aug 2014 23:30 #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
16 Aug 2014 23:34 - 16 Aug 2014 23:44 #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: 16 Aug 2014 23:44 by mblaszkiewicz.

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

Moderators: cncbasher
Time to create page: 0.196 seconds
Powered by Kunena Forum