Brother TC-211
- mblaszkiewicz
- Offline
- Elite Member
Less
More
- Posts: 241
- Thank you received: 5
17 Sep 2014 07:12 - 17 Sep 2014 07:19 #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
no luck on the command line input
Last edit: 17 Sep 2014 07:19 by mblaszkiewicz.
Please Log in or Create an account to join the conversation.
- mblaszkiewicz
- Offline
- Elite Member
Less
More
- Posts: 241
- Thank you received: 5
17 Sep 2014 07:28 #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.
- mblaszkiewicz
- Offline
- Elite Member
Less
More
- Posts: 241
- Thank you received: 5
17 Sep 2014 07:31 - 17 Sep 2014 07:36 #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
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: 17 Sep 2014 07:36 by mblaszkiewicz.
Please Log in or Create an account to join the conversation.
17 Sep 2014 07:38 #51253
by andypugh
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)
Replied by andypugh on topic Brother TC-211
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.
- mblaszkiewicz
- Offline
- Elite Member
Less
More
- Posts: 241
- Thank you received: 5
17 Sep 2014 07:48 - 17 Sep 2014 07:50 #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
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: 17 Sep 2014 07:50 by mblaszkiewicz.
Please Log in or Create an account to join the conversation.
17 Sep 2014 07:55 #51255
by andypugh
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...
Replied by andypugh on topic Brother TC-211
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.
- mblaszkiewicz
- Offline
- Elite Member
Less
More
- Posts: 241
- Thank you received: 5
17 Sep 2014 07:59 #51256
by mblaszkiewicz
Replied by mblaszkiewicz on topic Brother TC-211
Debug file information:
Brother_TC-211.hal:245: Pin 'orient-pos' does not exist
4320
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
net spindle orient-pos orient.0.command => pid.spindle.command
Ok I have no idea at all
Brother_TC-211.hal:245: Pin 'orient-pos' does not exist
4320
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
net spindle orient-pos orient.0.command => pid.spindle.command
Ok I have no idea at all
Please Log in or Create an account to join the conversation.
- mblaszkiewicz
- Offline
- Elite Member
Less
More
- Posts: 241
- Thank you received: 5
17 Sep 2014 08:05 #51257
by mblaszkiewicz
Replied by mblaszkiewicz on topic Brother TC-211
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).
You can fly over anytime you want and play away
You can fly over anytime you want and play away
Please Log in or Create an account to join the conversation.
17 Sep 2014 16:17 #51260
by andypugh
Sorry, it was 2am last night, I had to log out.
I can see why that one is hard to decode. The problem is another typo.
The format of a "net" command is
net signal pin pin pin pin....
Unfortunately I put a space instead of a hyphen in the signal name, so the net command is creating a signal called "spindle" then trying to connect a pin called "orient-pos" to it.
The line needs to be
Replied by andypugh on topic Brother TC-211
Brother_TC-211.hal:245: Pin 'orient-pos' does not exist
net spindle orient-pos orient.0.command => pid.spindle.command
Ok I have no idea at all
Sorry, it was 2am last night, I had to log out.
I can see why that one is hard to decode. The problem is another typo.
The format of a "net" command is
net signal pin pin pin pin....
Unfortunately I put a space instead of a hyphen in the signal name, so the net command is creating a signal called "spindle" then trying to connect a pin called "orient-pos" to it.
The line needs to be
net spindle-orient-pos orient.0.command => pid.spindle.command
Please Log in or Create an account to join the conversation.
- mblaszkiewicz
- Offline
- Elite Member
Less
More
- Posts: 241
- Thank you received: 5
17 Sep 2014 20:34 #51268
by mblaszkiewicz
Replied by mblaszkiewicz on topic Brother TC-211
I will do that change tonight. At work now. Again thanks so much for the help.
On a side question what kind of bike do you ride. (Your avatar)
On a side question what kind of bike do you ride. (Your avatar)
Please Log in or Create an account to join the conversation.
Moderators: cncbasher
Time to create page: 0.124 seconds