Brother TC-211

More
12 years 1 month ago - 12 years 1 month ago #51250 by mblaszkiewicz
Replied by mblaszkiewicz on topic Brother TC-211
version 2.5.4. And Ill reset and try the man orient




no luck on the command line input
Last edit: 12 years 1 month ago by mblaszkiewicz.

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

More
12 years 1 month ago #51251 by mblaszkiewicz
Replied by mblaszkiewicz on topic Brother TC-211
Ok I just upgraded to 2.63

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

More
12 years 1 month ago - 12 years 1 month ago #51252 by mblaszkiewicz
Replied by mblaszkiewicz on topic Brother TC-211
Ran it again and got a new error message


Debug file information:
Brother_TC-211.hal:238: pin 'hm2_5i25.0.encoder.00.index-enable' is connected to a signal
3579
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

I went in and edited the encoder to 03. Thats the spindle encoder, and got another error.

Debug file information:
Brother_TC-211.hal:242: Unknown command 'aetp'
3927
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components


and the bad line

aetp pid.0.maxoutput 90

should it read

aetp pid.03.maxoutput 90
Last edit: 12 years 1 month ago by mblaszkiewicz.

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

More
12 years 1 month ago #51253 by andypugh
Replied by andypugh on topic Brother TC-211

mblaszkiewicz wrote: Brother_TC-211.hal:238: pin 'hm2_5i25.0.encoder.00.index-enable' is connected to a signal


We are making progress, getting towards the bottom of the file now. (line 238)

This is a mistake on my part again.

# make sure the encoder is aligned to index
setp hm2_5i25.0.encoder.00.index-enable 1

Needs to be encoder.03.index-enable for the spindle. (Copy and paste error, sorry)

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

More
12 years 1 month ago - 12 years 1 month ago #51254 by mblaszkiewicz
Replied by mblaszkiewicz on topic Brother TC-211
Debug file information:
Brother_TC-211.hal:242: parameter or pin 'pid.0.maxoutput' not found
4139
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Still something wrong here

And the hal file section

#SPINDLE ORIENT CHANGES

setp hm2_5i25.0.encoder.03.scale 4098
#set the orientation angle here
setp orient.0.angle 180
# make sure the encoder is aligned to index
setp hm2_5i25.0.encoder.03.index-enable 1
# these values will require adjustment!!!!!
setp pid.spindle.Pgain 1
setp pid.spindle.Igain 0.001
setp pid.0.maxoutput 90 <line 242 the error line
Last edit: 12 years 1 month ago by mblaszkiewicz.

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

More
12 years 1 month ago #51255 by andypugh
Replied by andypugh on topic Brother TC-211

mblaszkiewicz wrote: Brother_TC-211.hal:242: parameter or pin 'pid.0.maxoutput' not found


This is what happens when I try to write a HAL file without a LinuxCNC machine to test it on. (though without a 7i77 I could never have tested this file).
Anyway, the problem here is that it isn't pid.0, it is pid.spindle.maxoutput
I even got it right in the two lines above the error...

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

Time to create page: 0.149 seconds
Powered by Kunena Forum