Remap of M6 not working correctly

More
1 year 11 months ago #314017 by Aciera

I am using remap/racktoolchange sample config as my starting point. It did work in simulation, but I do not get any movement when I edit ini file for axis/joints sections, add glade panels and my HAL files.


I see. Trying to edit a sim config to run physical hardware comes with a lot of potential pitfalls.
I would very much recommend to do this the other way around. Create a config that runs your hardware and then add the M6 remap to that.

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

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

I am using remap/racktoolchange sample config as my starting point. It did work in simulation, but I do not get any movement when I edit ini file for axis/joints sections, add glade panels and my HAL files.


I see. Trying to edit a sim config to run physical hardware comes with a lot of potential pitfalls.
I would very much recommend to do this the other way around. Create a config that runs your hardware and then add the M6 remap to that.

That was my first approach - I had a working config and I copied in all the bits of remap from a config of previous retrofit. But got all kinds of errors that ngc file not found although I could not find any mistake where subroutine folders are specified. I even copied from sample config and recreated the folders but still error. But in sample config it did work so I went the other route of merging my stuff into sample config

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

More
1 year 11 months ago #314022 by Aciera

But got all kinds of errors that ngc file not found although I could not find any mistake where subroutine folders are specified.


can you post this config and the exact errors you are getting?

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

More
1 year 11 months ago - 1 year 11 months ago #314025 by viesturs.lacis
Config is in first post, starts with Biesse.ini
There are no errors, everything looks as if g-code file is being executed - I can pause, resume, execute next line, stop, you name it. But nothing actually happens. Running normal g-code files is ok, I have made quite a few test parts

Should I make a video of 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 #314027 by Aciera

Running normal g-code files is ok, I have made quite a few test parts

So if you have a tool-change (ie M6 T..) inside a gcode then the file executes all the way with the toolchange being ignored?

Config is in first post, starts with Biesse.ini

What I meant is post the first config you added the remap to and the errors you got there before you modified the sim config. The problem with the current situation is that nothing happens and there are no errors which makes troubleshooting very difficult.

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

More
1 year 11 months ago - 1 year 11 months ago #314029 by Aciera
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
Last edit: 1 year 11 months ago by Aciera.
The following user(s) said Thank You: viesturs.lacis

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

Time to create page: 0.446 seconds
Powered by Kunena Forum