Remap of M6 not working correctly

More
1 year 11 months ago - 1 year 11 months ago #314032 by viesturs.lacis
 

I think you might be missing this in your hal file:

Code:
net tool-change iocontrol.0.tool-change iocontrol.0.tool-changed

 

Now that you mention it, yes, I do not remember putting these iocontrol pins anywhere. I knew that I might be making some stupid mistake. I guess I will go to workshop to check although I just put kids to sleep.

Code:
[code]Just so we are on the same page, I presume you have tried the suggested (ie reversed M6 T..): [code]T.. M6
[/code][/code]
 To be honest, no, I did not try that because on previous retrofit it worked. IMHO specifying M command and then its parameters makes sense, doing other way around feels awkward and wrong. But ok, I will try that. 

I am testing from MDI. I _think_ that I tried a test file once but am not sure. Ok, that is 3rd point in my list to check.

I will take a look, it is very likely that I have deleted/overwritten it. And the lack of errors is exactly what makes it difficult as I have absolutely no clue where to look. I think that lack of those iocontrol HAL pins seems to be very likely cause, on my way to check that.
Last edit: 1 year 11 months ago by viesturs.lacis.

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

More
1 year 11 months ago #314042 by viesturs.lacis

I think you might be missing this in your hal file:

Code:
net tool-change iocontrol.0.tool-change iocontrol.0.tool-changed [edit] for troubleshooting it might also make sense to use the 'show halconfiguration' to watch the iocontrol.* pins like iocontrol.0.tool-prepare iocontrol.0.tool-prepared iocontrol.0.tool-change [edit2] Just so we are on the same page, I presume you have tried the suggested (ie reversed M6 T..): [code]T.. M6
[/code]
Reversing to Tn M6 did not help.
Adding 
Code:
  net tool-change iocontrol.0.tool-change iocontrol.0.tool-changed
also did not do the trick but then I tried the second part of your suggestion of watching those iocontrol pins that relate to tool change and noticed that tool-prepare goes high that led me to think that it might be waiting for the tool to become prepared, so I tried this
Code:
net tool-prepare iocontrol.0.tool-prepare iocontrol.0.tool-prepared net tool-change iocontrol.0.tool-change iocontrol.0.tool-changed
and ended up with MSG messages displayed and some actual motion to happen. Thank you very much!!! That was a silly mistake as usual!
The following user(s) said Thank You: Aciera

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

Time to create page: 0.360 seconds
Powered by Kunena Forum